Commit Graph

2221 Commits

Author SHA1 Message Date
Rick
af14c6d0c2
remove old stuff 2018-12-24 13:49:59 -06:00
Jeff Becker
5972f5ab14
clean shutdown 2018-12-24 11:32:25 -05:00
Jeff Becker
97444b66c0
clean shutdown 2018-12-24 11:31:58 -05:00
Jeff Becker
414c7d659c
don't send path build if we shut down 2018-12-24 11:21:36 -05:00
Jeff Becker
6078bd222a
don't send path build if we shut down 2018-12-24 11:21:15 -05:00
Jeff Becker
d71b59bfa6
fix previous commit 2018-12-24 11:12:39 -05:00
Jeff Becker
4ca090b515
fix previous commit 2018-12-24 11:12:20 -05:00
Jeff Becker
21d1998a38
add graceful stop for path builders and friends 2018-12-24 11:10:56 -05:00
Jeff Becker
e835c5f69a
add graceful stop for path builders and friends 2018-12-24 11:09:05 -05:00
Jeff
2ce294e6fc fix issue #162 2018-12-23 10:33:26 -05:00
Jeff
a1476b24e7 don't use dead sessions 2018-12-23 09:04:26 -05:00
Jeff
4b2a1ea9f3 make format and attempt to fix #158 2018-12-23 08:29:11 -05:00
Jeff
a66f997702
Merge pull request #179 from despair86/old
read user packets on windows now
2018-12-22 14:40:31 -05:00
Rick
d529b3f446
at least don't try to break anything
(the previous implementation aligned to uint64_t, the new one probably should do so as well)
2018-12-22 12:58:41 -06:00
Rick
8d147252b8
restore logging 2018-12-22 12:58:16 -06:00
Rick
deab67d290
add special case for loopback (which is _not_ a distinct interface on windows) 2018-12-22 12:58:15 -06:00
Rick
c6a3fc255a
ok fix ip header struct
which was broken for a while apparently
2018-12-22 12:58:15 -06:00
Rick
6040ab8c63
ok let's do this 2018-12-22 12:58:15 -06:00
despair
74dcbf8772
socket errors 2018-12-22 12:58:14 -06:00
despair
321251c944
implemented SIGINT handler for NT 2018-12-22 12:58:14 -06:00
despair
e9c8cb9977
finally got around to writing a proper event loop for windows
just to be able to read user packets from TAP

split the UDP and TUN listeners into separate event queues

added some notes in tuntap-windows (mostly gutting it since we do a lot of the stuff ourselves)
2018-12-22 12:58:13 -06:00
despair
b3e8099838
bug fixes 2018-12-22 12:58:13 -06:00
despair
43afede986
make RPI option more descriptive 2018-12-22 12:58:12 -06:00
despair
afa83f0646
aaaa 2018-12-22 12:58:12 -06:00
despair
d1cbd58a3f
back to square one
need to be able to queue up a TUN read/write at each tick
then finish dealing with it in the main event loop
which is damn near impossible to do along with unix-style asio
that waits for data to appear/disappear before signalling
2018-12-22 12:58:05 -06:00
Jeff Becker
3a8818980f
make path length configurable on compile time 2018-12-21 15:25:41 -05:00
Jeff Becker
0789f28109
document run-lokinet.bat in readme 2018-12-21 08:14:57 -05:00
Jeff Becker
a7f794dea3
add run-lokinet.bat super duper simple wrapper thingydoo for windows 2018-12-21 08:11:59 -05:00
Jeff Becker
0fd36d3b79
make netid configurable on runtime
bump version to 0.4.0

subscribe to pewdiepie
2018-12-21 08:08:01 -05:00
Jeff Becker
7350120a8a
Merge branch 'staging' of ssh://github.com/loki-project/loki-network into staging 2018-12-21 07:54:17 -05:00
Jeff Becker
b0d758d9af
fix unit test for json rpc, make it stop crashing 2018-12-21 07:54:02 -05:00
Jeff
1e3fbd9af4
Merge pull request #174 from michael-loki/fix_staging
Fix first of UTP tests on !linux
2018-12-20 13:37:57 -05:00
Michael
2bf882f8eb
Fix first of UTP tests on !linux 2018-12-20 18:30:15 +00:00
Jeff Becker
15e0597fb1
merge 2018-12-20 12:56:31 -05:00
Jeff Becker
8c8172aeb1
Merge remote-tracking branch 'origin/master' into dev 2018-12-20 12:56:08 -05:00
Jeff
733191311e
Merge pull request #173 from majestrate/master
don't do as many allocations when processing messages
2018-12-20 12:49:28 -05:00
Jeff Becker
d58fab8440
include algorithm 2018-12-20 12:25:11 -05:00
Jeff Becker
3e37165749
Merge remote-tracking branch 'origin/master' 2018-12-20 12:23:01 -05:00
Jeff
ad58645116
Merge pull request #172 from michael-loki/aligned_array
Convert llarp::AlignedBuffer to be backed by std::array
2018-12-20 12:21:13 -05:00
Jeff Becker
259283f3c4
make it compile 2018-12-20 12:14:21 -05:00
Jeff Becker
d14dcaa895
fix it more 2018-12-20 12:04:23 -05:00
Jeff Becker
5e8bd2fc21
fix rpc 2018-12-20 12:01:49 -05:00
Jeff Becker
e7f5eeff51
use fewer allocations 2018-12-20 11:49:05 -05:00
Michael
ba95767f57
Add tests for alignedbuffer 2018-12-20 16:16:18 +00:00
Michael
037cb87523
Convert llarp::AlignedBuffer to be backed by std::array 2018-12-20 16:16:18 +00:00
Jeff Becker
42e09b8ab9
use static buffer for encrypted buffer 2018-12-20 10:03:48 -05:00
Jeff Becker
26148e843e
smaller padding 2018-12-20 10:03:37 -05:00
Jeff
d9495dfc0a
Merge pull request #171 from majestrate/master
flush packets in same tick cycle
2018-12-20 08:09:08 -05:00
Jeff Becker
191dc43207
revert 2018-12-20 08:06:36 -05:00
Jeff Becker
01f2524145
flush ip packets such that they are sent same event loop tick 2018-12-20 08:04:00 -05:00