Commit Graph

6405 Commits

Author SHA1 Message Date
Jeff Becker
800668348a
add regression test for key backup bug 2020-06-08 08:42:10 -04:00
Jeff
ff5091c4b4
Merge pull request #1300 from majestrate/more-unfug-transit-hops-2020-06-04
unfug transit hops (again)
2020-06-05 11:53:54 -04:00
Jeff Becker
019168fef0
remove unused local variable 2020-06-05 11:40:19 -04:00
Jeff Becker
1899debfb5
unfug transit hops 2020-06-05 11:40:18 -04:00
Jeff
f41d7d2d7f
Merge pull request #1299 from notlesh/rc-for-clients-2020-06-04
Better fix for client RC construction
2020-06-05 11:39:12 -04:00
Stephen Shelton
193060d602
Undo client-related changes to RC creation
This partially reverts changes from
1497b829bd and intsead only prevents
clients from saving their RC to disk.
2020-06-04 15:02:05 -06:00
Jeff
098df580e8
Merge pull request #1298 from majestrate/unfug-transit-hops-2020-06-04
Unfug transit hops
2020-06-04 16:23:47 -04:00
Jeff
8384cb7847
Merge pull request #1297 from notlesh/dont-touch-rc-if-client-2020-06-04
Dont touch self.signed if client
2020-06-04 16:23:40 -04:00
Jeff Becker
9fb681eb7c
typo 2020-06-04 16:16:07 -04:00
Jeff Becker
fe1dae8f30
fix transit hop job queuing 2020-06-04 15:48:32 -04:00
Stephen Shelton
980853804d
Remove log statement 2020-06-04 13:34:15 -06:00
Stephen Shelton
cecafb3215
Undo unintentional revert? 2020-06-04 13:32:38 -06:00
Stephen Shelton
43ffe23f66
Remove obnoxious log statement 2020-06-04 13:21:05 -06:00
Stephen Shelton
d8b12ce764
Let KeyManager assemble key filenames 2020-06-04 12:38:35 -06:00
Stephen Shelton
1497b829bd
Ignore our self.signed file if we're a client 2020-06-04 11:05:23 -06:00
Jeff
bb14b44bcf
Merge pull request #1296 from majestrate/fix-one-hop-path-building-2020-06-02
fix one hop mode path builds
2020-06-02 11:29:51 -04:00
Jeff Becker
ac26037c34
when in 1 hop mode we where hitting a case where we were failing to build paths
this was because we were trying to diversify the endpoints used which is not
appicable in 1 hop mode because first hops are sticky.
2020-06-02 07:14:13 -04:00
Jeff
ed0f7ebe73
Merge pull request #1295 from notlesh/shared-from-this-sanity-checks-2020-06-01
Sanity checks around shared_from_this()
2020-06-01 17:59:14 -04:00
Stephen Shelton
91a2af0eda
Sanity checks around shared_from_this() 2020-06-01 14:56:58 -06:00
Jeff
45cda241f0
Merge pull request #1272 from majestrate/exit-nodes-2020-05-16
exit traffic via snapps
2020-06-01 14:42:43 -04:00
Jeff Becker
f40ffc0fd6
simplify header for tom. 2020-06-01 13:58:45 -04:00
Jeff Becker
95e55a2544
consistent spelling and use std::max 2020-06-01 13:31:12 -04:00
Jeff Becker
c6885ec285
remove Endpoint::GetExitRouters() 2020-06-01 09:35:21 -04:00
Jeff Becker
44c790b65c
revert back to for loop for simplicity 2020-06-01 09:23:17 -04:00
Jeff Becker
acecb23eb3
make libuv event loop logic queue size configurable.
remove logic constructor that is no-op.
add constant for default logic queue size
add constant for transit hop queue size
2020-06-01 09:17:44 -04:00
Jeff Becker
8a003a1144
add lokinet-vpn systemd service file 2020-05-29 12:37:34 -04:00
Jeff Becker
18b2ef3d1e
remove unneeded file 2020-05-29 12:33:16 -04:00
Jeff Becker
242ab3caba
rename lokinet-exit too to lokinet-vpn
install lokinet-vpn tool for use with debian packaging
2020-05-29 12:31:57 -04:00
Jeff
0f05ecb0f9
Merge pull request #1281 from despair86/string-fix
fix wstring path conversions
2020-05-28 08:01:13 -04:00
Rick V
1340cd0dce remove some string conversions entirely 2020-05-26 23:09:16 -05:00
Rick V
5529371637 RouterContact::[Read|Write] now take a fs::path const ref 2020-05-26 22:39:01 -05:00
Rick V
f62214cf8c
first pass fix wstring path conversions 2020-05-26 20:48:07 -05:00
Jeff Becker
c47a210302
remove a std::move that prevents copy elision 2020-05-26 14:04:43 -04:00
Jeff Becker
dd87cd396b
pedantic change to retrigger ci 2020-05-26 14:01:33 -04:00
Jeff Becker
14b134c42d
when we get an explicit config path respect it and the base dir 2020-05-26 10:06:38 -04:00
Jeff Becker
b572e7a7cd
add lokinet-exit.py script 2020-05-25 09:50:55 -04:00
Jeff Becker
f25e9bb01f
use std::list here too 2020-05-24 08:51:17 -04:00
Jeff Becker
db00d080f6
use std::list instead of std::vector because idfk man 2020-05-24 08:36:46 -04:00
Jeff Becker
9298313066
use std::move 2020-05-24 08:21:04 -04:00
Jeff Becker
96cbab33c3
style: put iterator erase in for loop update 2020-05-24 08:15:36 -04:00
Jeff Becker
44ff3a9928
copy assignment so we don't crash 2020-05-24 08:14:08 -04:00
Jeff Becker
149a01c80f
dont use std::bind, use lambda 2020-05-24 08:07:37 -04:00
Jeff Becker
403bc74493
unbreak unit tests 2020-05-24 07:06:27 -04:00
Jeff Becker
f0eca908a4
use static_assert instead 2020-05-23 17:18:00 -04:00
Jeff Becker
4ad8ae253d
align to either 64bit or max_align_t which ever is smaller, for 32 bit. 2020-05-23 17:06:04 -04:00
Jeff Becker
7a5c193e4f
remove unused member 2020-05-23 16:55:02 -04:00
Jeff Becker
25a4bbd5ca
use std::swap 2020-05-23 16:07:21 -04:00
Jeff Becker
4a378ae934
remove logic thread from logic as it is now a thin wrapper arround the event loop 2020-05-23 16:07:21 -04:00
Jeff Becker
eb0abbf1ff
add eraseif to decaying hashset 2020-05-23 16:07:21 -04:00
Jeff Becker
39f8f17b53
dont set callback if non provided 2020-05-23 16:07:21 -04:00