Commit Graph

689 Commits

Author SHA1 Message Date
Jeff Becker
c9bfe640b7
increment sequence number so we don't spam new intro frames 2018-09-26 06:52:57 -04:00
Jeff Becker
69bf060974
correct key 2018-09-25 09:43:06 -04:00
Jeff Becker
179d18bad4
use correct value 2018-09-25 09:38:10 -04:00
Jeff Becker
7d10103e15
don't repeat 2018-09-25 09:34:35 -04:00
Jeff Becker
59cdc160cd
add slot for bootstrap node in config autogeneration 2018-09-25 08:11:10 -04:00
Jeff Becker
b273676a63
more logic for dead sessions to prevent segfault 2018-09-24 15:50:52 -04:00
Jeff Becker
16508a99db
tweak timeouts more 2018-09-24 13:33:54 -04:00
Jeff Becker
2d18cfcdd7
tweak timeout 2018-09-24 13:14:05 -04:00
Jeff Becker
d298e4f124
use intros only if they don't expire soon 2018-09-24 13:13:29 -04:00
Jeff Becker
5dfaeebb16
mark sessions dead/inactive 2018-09-24 11:52:25 -04:00
Jeff Becker
9a20daa1ce
add send timeouts 2018-09-24 11:34:56 -04:00
Jeff Becker
983c72f032
use 6 paths by default 2018-09-24 10:46:43 -04:00
Jeff Becker
ca1fc0babd
try alternative path death detection 2018-09-24 10:44:23 -04:00
Jeff Becker
3af93954f3
actually publish via far router 2018-09-24 10:31:58 -04:00
Jeff Becker
79680a4f6b
try not killing paths if they get data
use correct mainloop
2018-09-24 08:56:07 -04:00
Jeff Becker
17d2aa1df1
track path data usage and don't kill paths when under heavy use 2018-09-24 07:36:47 -04:00
Jeff Becker
97bae70817
close sessions on link close not on destructor 2018-09-24 06:23:11 -04:00
Jeff Becker
6652cc4bde
breaking change: add timestamp to introset
i don't know why this wasn't here. i could've sworn it was.
2018-09-23 09:57:21 -04:00
Jeff Becker
ce03801a51
close socket in destructor 2018-09-23 07:29:41 -04:00
Jeff Becker
4309ea3b97
better handling for introset propagation 2018-09-21 12:37:49 -04:00
Jeff Becker
a91f54cc8a
when we get an invalid introset in response call handler if exists with empty result instead of timing out 2018-09-21 12:17:26 -04:00
Jeff Becker
86807d2631
permit 10 seconds clock skew for introsets 2018-09-21 11:24:00 -04:00
Jeff Becker
7c90e13299
use another buffer for signing 2018-09-21 08:47:07 -04:00
Jeff Becker
4e7c6ee90a
fix crash 2018-09-21 08:30:57 -04:00
Jeff
e7e1db8302 fix epoll 2018-09-20 18:38:45 -04:00
Jeff
fcc2d00813 try to not die in event loop 2018-09-20 18:37:45 -04:00
Jeff
929cd8169f i fucking hate apple it's fucking shit, fucking god awful shit.
also drybones will never find this.
2018-09-20 18:31:34 -04:00
Jeff
d9424ca04b fix macos compile 2018-09-20 10:32:31 -04:00
Jeff Becker
ef9666e79b
add logging 2018-09-20 07:50:07 -04:00
Jeff Becker
5fb08c2139
check introset timestamps 2018-09-20 07:27:18 -04:00
Jeff Becker
8588aaa60b
dont use expired intros when shifting intros and lookup introsets via near router. 2018-09-20 07:08:12 -04:00
despair86
be4a78d7fa fixed during latest rebase 2018-09-20 00:24:26 -05:00
despair86
4afa358c49 fix win32 build 2018-09-19 20:41:47 -05:00
Rick V
0477db37ca wow64 cross compile setup 2018-09-19 19:43:16 -05:00
Jeff Becker
29cf0c9ba5
don't propagate expired introsets 2018-09-19 13:58:02 -04:00
Jeff Becker
70a04c5dad
better introset expire logic 2018-09-19 13:54:22 -04:00
Jeff Becker
caf06fdf9e
try reinitializing buffer instead of doing resize 2018-09-19 13:30:18 -04:00
Jeff Becker
f7462910c2
more logging 2018-09-19 13:04:55 -04:00
Jeff Becker
e0c8ae92b2
fix leak when forwarding and sending LRCM 2018-09-19 12:36:12 -04:00
Jeff Becker
5d5db06cbf
update handover logic a bit 2018-09-19 12:20:34 -04:00
Jeff Becker
44eeda3041
fix ip mapping for new addresses so they don't use premapped addresses 2018-09-19 10:49:42 -04:00
Jeff Becker
327acc6d9c
don't heap allocate messages for transit traffic 2018-09-19 10:12:46 -04:00
Jeff Becker
8901123b34
try better handover 2018-09-19 09:59:14 -04:00
Jeff Becker
a71d5f84bb
reduce log level 2018-09-19 09:37:46 -04:00
Jeff Becker
a36de551e4
try connecting but still drop 2018-09-19 09:27:15 -04:00
Jeff Becker
58198656a3
configurable base directory for config and add option for only generating config 2018-09-19 09:02:55 -04:00
Jeff Becker
df53e79aff
fix windows 2018-09-19 07:56:12 -04:00
Jeff Becker
3963070139
fix windows 2018-09-19 07:54:58 -04:00
Jeff Becker
095170d11e
fix windows build 2018-09-19 07:53:16 -04:00
Jeff Becker
be38ea70f0
try fixing CI builds 2018-09-19 07:50:18 -04:00