Commit Graph

1365 Commits

Author SHA1 Message Date
Jeff Becker
acc1b625b4
actually store introsets when found 2018-09-18 11:12:26 -04:00
Jeff Becker
8d679b00a7
only log errors on sessions made with utp
only rebuild paths when introset changes router for outbound context
2018-09-18 11:05:56 -04:00
Jeff Becker
d1f1dd3c84
publish intro to multiple routers 2018-09-18 10:48:06 -04:00
Jeff Becker
b0f15d668a
don't close stale router sessions 2018-09-18 10:17:15 -04:00
Jeff Becker
2cf5e14ae9
lookup routers for intros 2018-09-18 10:04:46 -04:00
Jeff Becker
271acaf7e9
better intro shift logic, also actually shift intros 2018-09-18 09:38:26 -04:00
Jeff Becker
96716a39ef
send link layer keep alive and track bad intros 2018-09-18 09:02:52 -04:00
Jeff Becker
1eda28a2da
close invalid sockets 2018-09-18 08:29:27 -04:00
Jeff Becker
0c1e22650e
try calcuating tcp checksums right
try tracking convo tags correctly
2018-09-18 07:08:47 -04:00
Jeff Becker
8d6e7df94d
update convo tag and intro 2018-09-18 06:18:57 -04:00
Jeff Becker
1471e90fb5
intro handover 2018-09-17 20:32:11 -04:00
Jeff Becker
9ee7275a02
decrypt frames correctly and set return address 2018-09-17 20:18:33 -04:00
Jeff
dc3bb02f94 make it compile 2018-09-17 16:18:11 -04:00
Jeff
689668d892 fix osx build 2018-09-17 14:59:12 -04:00
Jeff
47a24ff692 fix osx 2018-09-17 14:43:14 -04:00
Jeff Becker
6dfed968ea
use correct parameter 2018-09-17 12:27:16 -04:00
Jeff Becker
bc3b411dbf
make it right 2018-09-17 12:22:11 -04:00
Jeff Becker
217f4a0d3f
use correct intro in tag tracking 2018-09-17 12:12:42 -04:00
Jeff Becker
9ffcf66e58
more checks less logging 2018-09-17 11:32:37 -04:00
Jeff Becker
edbd9197e5
update spec and fix copy constructor 2018-09-17 09:28:26 -04:00
Jeff Becker
f029b9508c
pick router closest in keyspace for lookups and publishing 2018-09-17 08:10:44 -04:00
Jeff Becker
2761da0b5f
actually load config 2018-09-17 08:02:09 -04:00
Jeff Becker
e047bfa266
update readme
add sighup
2018-09-17 07:47:34 -04:00
Jeff Becker
c900e9d004
increment iterator 2018-09-17 07:45:35 -04:00
Jeff Becker
9f9f9d9bb1
correct tcp checksum recalc (probably) 2018-09-16 09:13:52 -04:00
Jeff Becker
0945275fd5
make it compile 2018-09-16 08:53:23 -04:00
Jeff Becker
9ed3da1671
correctly map addresses 2018-09-16 08:51:16 -04:00
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