Commit Graph

1463 Commits

Author SHA1 Message Date
cathugger
5169df546c ip: UDP checksum recalculation support 2018-10-10 05:38:59 +03:00
cathugger
7fd501e528 ip: use deltachksum for IPv4 headers aswell 2018-10-10 04:59:52 +03:00
cathugger
36ea776d07 ip: try to fix deltachksum 2018-10-10 04:29:44 +03:00
cathugger
0f8e0e9d58 tun: fix "fix "clear src/dst addresses and checksum before sending""
correct dst address is required for FlushSend to work, so do IP address and checksum null'ing there.
dang myself.
2018-10-10 03:28:53 +03:00
cathugger
4f7ae52cad tun: fix "clear src/dst addresses and checksum before sending"
clearing of addresses and checksum was put in wrong place, so it null'd everything before writing to tun interface.
damnit jeff.
2018-10-10 03:00:48 +03:00
cathugger
ed39cb98e1 ip: (try to) fix deltachksum 2018-10-10 00:56:20 +03:00
cathugger
c515e4a248 ip: avoid pointless length checks 2018-10-10 00:09:16 +03:00
cathugger
a92e7c2104 ip: fix stupid MIN thing 2018-10-09 20:49:20 +03:00
cathugger
b5392c5679 make format 2018-10-09 20:09:45 +03:00
cathugger
2f4b0fbda6 ip: use delta TCP checksum calculation, don't recalculate ICMP checksum 2018-10-09 20:02:49 +03:00
cathugger
4cba59f3c4 tun+ip: clarify what happens where 2018-10-09 17:09:03 +03:00
Ryan Tharp
e0ecb468b6 make sure everything is exposed, improve comments 2018-10-09 05:42:21 -07:00
Ryan Tharp
529cd4e6a3 expose dns_query and build_dns_packet() 2018-10-09 05:41:33 -07:00
Ryan Tharp
c8c4a0da10 don't risk any SOA crashes, fix language types 2018-10-09 05:40:53 -07:00
Ryan Tharp
3f8dbeca49 expose internal functions, fix language scoping 2018-10-09 05:40:24 -07:00
Ryan Tharp
1e43fc2243 deprecate some cruft and hopefully it won't break anything 2018-10-09 05:39:47 -07:00
Ryan Tharp
f2fc95550d implement logLevel None 2018-10-09 05:39:14 -07:00
Ryan Tharp
924c3c0895 fix cast 2018-10-09 05:38:41 -07:00
Ryan Tharp
9b3bd751e7 non-const sockaddr support 2018-10-09 05:37:56 -07:00
Jeff Becker
eb9150431f
make it compile 2018-10-09 08:32:02 -04:00
Jeff Becker
6d7d6f6efa
clear src/dst addresses and checksum before sending (infoleak) 2018-10-09 08:29:46 -04:00
Jeff Becker
a7f8da4cbc
fix double free 2018-10-09 08:10:20 -04:00
Jeff Becker
475ac63f4a
initial admin api infra 2018-10-09 08:06:30 -04:00
Ryan Tharp
7550d6b022 revert Jeff's misunderstanding 2018-10-09 11:02:53 +00:00
Ryan Tharp
2fb5eaba1c remove getSockAddr() per Jeffs PR CR, add additional notes to reduce confusion 2018-10-09 11:02:06 +00:00
Ryan Tharp
4d3ad13daa Merge branch 'master' of https://github.com/loki-project/loki-network 2018-10-09 10:41:19 +00:00
Ryan Tharp
9bc9eed1d5 Merge branch 'master' of https://github.com/neuroscr/loki-network 2018-10-09 10:41:00 +00:00
Jeff
bb3bed11dc try better handover logic again 2018-10-08 17:24:00 -04:00
Jeff
1f250ad9f6 better operator overload 2018-10-08 17:23:45 -04:00
Jeff
07871827d0 swap intro 2018-10-08 16:41:50 -04:00
Jeff
608768628a don't rebuild 2018-10-08 16:05:05 -04:00
Jeff
78b82f9a5e try not killing paths 2018-10-08 15:57:30 -04:00
Jeff
14c3319108 update links in readme 2018-10-08 08:21:29 -04:00
Jeff
a582983a63 place protocol spec into public domain with CC0
update readmes, move doc -> docs

add symlink from doc to docs
2018-10-08 08:15:08 -04:00
Jeff
0c4709efdd Merge branch 'master' of ssh://github.com/loki-project/loki-network 2018-10-08 07:56:46 -04:00
Jeff
93586c5bbb forgot file 2018-10-08 07:56:40 -04:00
Jeff
a1d1518bc0 update logging to use human readable time 2018-10-08 07:56:17 -04:00
Jeff
9fd94c09db
Merge pull request #20 from despair86/master
it sorta works on windows now
2018-10-07 19:32:43 -04:00
Jeff Becker
291cc57395
revert 2018-10-07 11:29:36 -04:00
Jeff Becker
f03698fb33
add to queue 2018-10-07 10:32:54 -04:00
Jeff Becker
f1a303d4d9
locking 2018-10-07 10:23:02 -04:00
Jeff Becker
0a4da82780
remove line 2018-10-07 10:11:55 -04:00
Jeff Becker
0480df528c
fixes 2018-10-07 10:11:03 -04:00
Jeff Becker
95b097f9b7
multithreaded crypto (maybe) 2018-10-07 10:10:48 -04:00
despair86
3c13101beb clang-format 2018-10-06 12:04:52 -05:00
despair86
3c7b7f2176 overlapped io pending is NOT an error 2018-10-06 12:04:52 -05:00
despair86
567e1082f8 huge progress this week 2018-10-06 12:04:51 -05:00
despair86
31c8aee3c1 woooooooooooooo
lokinet on win32 is now live
and the server code is more stable than the client code
2018-10-06 12:04:51 -05:00
despair86
2326ad0339 added note 2018-10-06 12:04:51 -05:00
despair86
e98835ff5c debug 2018-10-06 12:04:50 -05:00