Commit Graph

1138 Commits

Author SHA1 Message Date
Jeff Becker
5d0f441e29
use ntohl 2018-09-16 08:31:14 -04:00
Jeff Becker
8114f63e70
use queues 2018-09-16 08:25:17 -04:00
Jeff Becker
2f2e3be8b7
lessen logging spew 2018-09-16 08:09:21 -04:00
Jeff Becker
4f691b8974
make tun write correct number of bytes
try doing correct ip checksum and for upper layers that need it too

supported right now are icmp, tcp, and udp. more will come later
probably.
2018-09-16 08:06:19 -04:00
Jeff Becker
17c6780bcd
actually store dht nodes 2018-09-15 10:05:02 -04:00
Jeff Becker
44cea54dea
avoid stack overflow 2018-09-15 07:54:08 -04:00
Jeff Becker
e40388386a
start dht requests 2018-09-15 07:43:52 -04:00
Jeff Becker
7027ba2cf1
more agressive network exploration
add install target for makefile
2018-09-15 07:37:46 -04:00
Jeff Becker
dd6a8360ba
don't tick in kqueue if closed 2018-09-14 14:36:39 -04:00
Jeff Becker
2bd7f2101d
remove logging 2018-09-14 13:46:02 -04:00
Jeff Becker
7f3465022d
check for null session 2018-09-14 11:27:34 -04:00
Jeff Becker
39401dac42
don't use vendored director iterator 2018-09-14 11:22:44 -04:00
Jeff Becker
f5b8d552e1
path peer profiling
propagate introsets better
2018-09-14 10:50:37 -04:00
Jeff Becker
354df88367
more ip endpoint fixes
spam dht with lookups less
2018-09-14 09:43:42 -04:00
Jeff Becker
ffdff3e09c
mark successful connections in profiling
don't dht lookup bad routers
2018-09-13 12:58:25 -04:00
Jeff Becker
6986f04418
basic router profiling and fix ip rewrite 2018-09-13 12:41:53 -04:00
Jeff Becker
76e87aa608
more debug logging
timed out paths are not expired
2018-09-13 09:07:00 -04:00
Jeff Becker
f55c5e674d
relax timeouts 2018-09-13 08:40:13 -04:00
Jeff Becker
3af51cbe55
add path latency minimum checker
add min-latency option to hidden service config
2018-09-13 08:27:28 -04:00
Jeff Becker
c0afc97d41
better explore logic 2018-09-13 08:04:36 -04:00
Jeff Becker
832b24ba93
delete don't abort when building paths failed to key exchange
try making dht less talky

check timestamps on intros
2018-09-13 07:30:21 -04:00
Jeff Becker
0c1dfa4a27
check nodedb for routers not just dht peer list 2018-09-13 07:16:56 -04:00
Jeff Becker
b947e55616
fix leak on sign/encrypt fail 2018-09-12 19:21:59 -04:00
Jeff Becker
b56d25730e
improve send rate 2018-09-12 09:29:42 -04:00
Jeff Becker
6f4e998910
fix previous commit 2018-09-11 12:31:53 -04:00
Jeff Becker
3d424b57a7
client side endpoint improvements 2018-09-11 12:21:43 -04:00
Jeff Becker
ac2c14437f
god damnit 2018-09-11 12:04:00 -04:00
Jeff Becker
956549c818
connect to 10 random routers on startup 2018-09-11 11:53:54 -04:00
Jeff Becker
1c849973ca
send data discarded messages 2018-09-11 11:34:12 -04:00
Jeff Becker
a9b259985e
add data discarded message in routing layer to indicate
a path no longer exists.
2018-09-11 11:28:36 -04:00
Jeff Becker
baf2e1fb3c
client improvements
for real do correct timestamp comparison for introsets
2018-09-11 09:21:35 -04:00
Jeff Becker
2993e834a0
fix ip stuff 2018-09-10 15:31:29 -04:00
Jeff Becker
320fbdf3bc
always traffic 2018-09-10 14:04:30 -04:00
Jeff Becker
2eca0005c1
fix up more stuff 2018-09-10 13:37:28 -04:00
Jeff Becker
c9ac70a4e4
bump version 2018-09-10 13:21:39 -04:00
Jeff Becker
c3a7f64344
expire introsets correctly and allow multiple tun if 2018-09-10 12:36:36 -04:00
Jeff Becker
b96887ddb2
various fixes and tweaks 2018-09-10 09:43:36 -04:00
Jeff Becker
51e21d0f2f
update gitlab ci again 2018-09-10 07:23:05 -04:00
Jeff Becker
e5483a436d
update gitlab ci 2018-09-10 07:18:32 -04:00
Jeff Becker
1952ece99d
more logging 2018-09-10 07:08:09 -04:00
Jeff Becker
cb2802e003
fix segfault on quit 2018-09-10 07:05:41 -04:00
Jeff Becker
1df9a4b078
persist RC from lookups in nodedb 2018-09-09 14:18:34 -04:00
Jeff Becker
96526058b2
update readme and make dht bootstrap work with low peer count 2018-09-09 08:27:56 -04:00
Jeff Becker
b23dab09fb
don't overwrite our RC, hide parameter. 2018-09-09 07:23:21 -04:00
Jeff Becker
0f97494998
fug 2018-09-08 12:54:37 -04:00
Jeff Becker
751b86d8c3
forgot a change 2018-09-08 12:45:38 -04:00
Jeff Becker
331a13ce0b
bump version to 0.2.1 2018-09-08 12:32:58 -04:00
Jeff Becker
adbf53bc40
protocol docs, more efficient padding, make code reflect protocol changes. 2018-09-08 11:53:20 -04:00
Jeff Becker
59b5af551a
remove -march=native 2018-09-08 04:34:15 -04:00
Jeff Becker
ec143e11a4
explore via 1 router 2018-09-08 04:27:05 -04:00