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
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
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
despair86
457d6fbaf6
rebase conflict
2018-10-06 12:04:50 -05:00
despair86
94c5f46d33
try fixing win32 event loop
2018-10-06 12:04:50 -05:00
despair86
6ba60093d2
switch to std::variant for win32 ev_io
...
- sockets are a distinct (non-negative) file descriptor
- plain old file descriptors are opaque handles
this makes the specialisations of llarp::ev_io on win32 type-safe as
- TAP-Windows v9 adapter is a plain old device file (same as on UNIX and Linux)
- UDP listeners are sockets, so the type must change (from signed to unsigned int) to accomodate Winsock2
2018-10-06 12:04:49 -05:00
despair86
f17727d50a
if you are able to keep a windows exit node up for more than a year call me
2018-10-06 12:04:49 -05:00
despair86
363900fce9
set windows TUN to point to internal lokinet resolver
2018-10-06 12:04:49 -05:00
despair86
d25a376ea6
added protected-mode avx2 note
2018-10-06 12:04:49 -05:00
despair86
ca0d09142a
Finally put together some skeletal TUN code for NT
...
up next: debugging the windows client code
stretch goal: prototype hosting a full masternode on Windows Server (still _highly_ experimental when it _does_ appear)
2018-10-06 12:04:48 -05:00
despair86
3b9ce8d41d
separated avx2 code by architecture
2018-10-06 12:04:48 -05:00
Jeff
11753f5d7e
clarification for path transfer
2018-10-06 12:37:54 -04:00
Jeff
56d07ea700
try fix, dont use me
2018-10-06 12:21:45 -04:00
Jeff
a1fd9a0f93
don't publish every build
2018-10-06 12:09:37 -04:00
Jeff
78e601807d
fix
2018-10-06 12:04:46 -04:00
Jeff
9a60c08810
only publish when we have at least 3 established paths
2018-10-06 12:03:54 -04:00
Jeff
e5208b65cc
mark session active
2018-10-06 11:41:24 -04:00
Jeff
a0317e1430
remove logging
2018-10-06 11:10:02 -04:00
Jeff Becker
848f5c3059
make it compile
2018-10-05 11:05:52 -04:00