Commit Graph

1262 Commits

Author SHA1 Message Date
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
Ryan Tharp
57fccaf2e6
ShouldCreateDefaultHiddenService(), auto mode for defaultIfAddr & defaultIfName, favor llarp::Addr, guards, NAT with no bindings fix, actually name ifname set ifname 2018-10-05 11:02:58 -04:00
Jeff Becker
832e1849b2
remove log and swap intros 2018-10-04 14:15:22 -04:00
Jeff Becker
98df3b09f2
only use good routers 2018-10-04 13:51:45 -04:00
Jeff Becker
ab306b70bb
try closing session correctly 2018-10-04 13:41:23 -04:00
Jeff Becker
d71f0db2a5
more vigorous profiling 2018-10-04 13:34:26 -04:00
Jeff Becker
746e95994e
stricter profiling and better handover 2018-10-04 12:48:26 -04:00
Jeff Becker
dd8dd7430b
double path build timeouts 2018-10-04 12:05:07 -04:00
Jeff Becker
a8f7a26c00
fix timestamps 2018-10-04 11:36:46 -04:00
Jeff Becker
1146bb34ac
make dns work 2018-10-04 11:34:31 -04:00
Ryan Tharp
6738fcaa6a
make sure iptracker is configured on start 2018-10-04 11:20:52 -04:00
Ryan Tharp
1efb68e9cd
pass tracker into dns_iptracker_setup 2018-10-04 11:20:34 -04:00
Jeff Becker
497c8c7d66
fix config 2018-10-04 09:56:06 -04:00
Jeff Becker
13a9ff7e5a
make configs generate sane defaults 2018-10-04 09:55:29 -04:00
Jeff Becker
a07b9b18d1
fix segfault 2018-10-04 09:21:05 -04:00
Jeff Becker
b724cc54fe
Merge remote-tracking branch 'ryan/master' 2018-10-04 09:04:57 -04:00
Jeff Becker
34f8a47056
update protocol docs for future 2018-10-04 09:03:59 -04:00
Jeff Becker
f19f78b573
try better handover logic 2018-10-04 09:03:48 -04:00
Jeff Becker
a3001dfe1d
fix timestamps, revert to old behavior 2018-10-04 09:02:03 -04:00
Ryan Tharp
b4dbca680a Merge branch 'master' of https://github.com/loki-project/loki-network 2018-10-04 08:31:47 +00:00
Jeff
6b9900de4f Merge branch 'master' of ssh://github.com/loki-project/loki-network 2018-10-03 14:21:43 -04:00
Jeff
8cc507f9ac don't hang :DDDDDD 2018-10-03 14:17:34 -04:00
Ryan Tharp
f4c5999852 Merge branch 'master' of https://github.com/loki-project/loki-network 2018-10-03 11:46:24 +00:00
Jeff Becker
0b0278a312
we don't use crypto_async anymore 2018-10-03 07:02:56 -04:00
Ryan Tharp
bcbaf47adf ShouldCreateDefaultHiddenService(), auto mode for defaultIfAddr & defaultIfName, favor llarp::Addr, guards, NAT with no bindings fix, actually name ifname set ifname 2018-10-03 04:01:42 -07:00
Ryan Tharp
cc42e8e623 guard, rename endpoint to context, main_router_endpoint_iterator() implementation 2018-10-03 04:00:47 -07:00
Jeff Becker
8e30af6619
forgot file 2018-10-03 07:00:42 -04:00
Jeff Becker
8f98ef3e28
forgot file 2018-10-03 07:00:30 -04:00
Ryan Tharp
604c44e191 use llarp::Addr, added some guards 2018-10-03 03:59:49 -07:00
Jeff Becker
1f02498fc0
code for disabling default hidden service 2018-10-03 06:59:30 -04:00