Commit Graph

52 Commits

Author SHA1 Message Date
Jeff Becker
04628874cd
handle message fragmentation better 2018-06-03 08:35:50 -04:00
Jeff Becker
0d4baa924e
bounds check 2018-06-03 08:17:06 -04:00
Jeff Becker
a3628f153a
fix 2018-06-02 10:44:26 -04:00
Jeff Becker
0acf142619
make it compile 2018-06-02 10:41:30 -04:00
Jeff Becker
840c7c4925
fix timeout issue 2018-06-02 10:40:41 -04:00
Jeff Becker
1c2155284e
only keepalive when established 2018-06-02 09:46:35 -04:00
Jeff Becker
7ea64305ab
keepalive every tick 2018-06-02 09:42:19 -04:00
Jeff Becker
3fd79f73c6
increment iterator 2018-06-02 09:36:59 -04:00
Jeff Becker
3ad3dbd29d
add debug 2018-06-02 09:34:06 -04:00
Jeff Becker
c6b3a45eca
actually call session ticker 2018-06-02 09:22:08 -04:00
Jeff Becker
87aabefddc
some fixups on link layer
only add trusted routers to DHT
2018-06-02 09:18:11 -04:00
Jeff Becker
620b9616a6
initial dht implementation 2018-06-01 17:35:17 -04:00
Jeff Becker
3db5bffbbd
fix xenial backport 2018-06-01 13:54:21 -04:00
Jeff Becker
9816fd65e9
* logging refactor to be concise
* don't inline bencode

* refactor initial start of dht code a bit
2018-06-01 13:47:37 -04:00
Jeff Becker
c45e9e9f0a
add frame counter 2018-05-29 14:56:00 -04:00
Jeff Becker
1b1969891e
make reused sessions alive again 2018-05-29 14:36:40 -04:00
Jeff Becker
db48e82841
fix up naming 2018-05-29 14:32:47 -04:00
Jeff Becker
ba87b1036a
initialize inner member 2018-05-29 14:17:28 -04:00
Jeff Becker
2bcb4d30fd
handle intro/introack better 2018-05-29 14:08:39 -04:00
Jeff Becker
3425e73a9c
try fixing race 2018-05-29 13:45:33 -04:00
Jeff Becker
052b53df69
use unorderd_map not map 2018-05-29 12:11:32 -04:00
Jeff Becker
55be8ee6a3
handle frag messages in iwp 2018-05-29 11:47:10 -04:00
Jeff Becker
6ce74fe130
use emplace not try_emplace for backport 2018-05-29 10:57:13 -04:00
Jeff Becker
8351f19e9a
retry on session already made 2018-05-29 09:45:47 -04:00
Jeff Becker
31cbfd255e
ipv4 fixes 2018-05-29 09:40:26 -04:00
Jeff Becker
bee7c2b271
ipv4 fixes 2018-05-29 08:15:48 -04:00
Jeff Becker
a00a0622d1
more docs
more logging
2018-05-28 16:51:15 -04:00
Jeff Becker
56a0efd41d
remove logging 2018-05-28 10:28:26 -04:00
Jeff Becker
02d785d30c
add release targets to makefile for future
purge llarp_alloc

colored logging
2018-05-28 09:49:44 -04:00
Jeff Becker
bfaa837bce
refactor everything to use logger 2018-05-27 10:04:30 -04:00
Jeff Becker
720452770b
* add removing timer jobs
* remove timer before session timeout

* don't reschedule timer right before timeout
2018-05-27 08:49:10 -04:00
Jeff Becker
c51d29a0c6
add link level keepalive
remove debugging messages

start handling more messages
2018-05-26 14:31:45 -04:00
Jeff Becker
93f0e03958
handle inter node messages
currently only handling LIM
2018-05-25 13:52:10 -04:00
Jeff Becker
c2ef57d9a2
Merge remote-tracking branch 'ryan/master' 2018-05-25 08:27:54 -04:00
Jeff Becker
7b7cc712d5
fix types 2018-05-25 08:24:31 -04:00
Jeff Becker
dc92b98c9c
more protocol changes to make it saner.
iwp sessions now can derive session key
2018-05-24 12:04:34 -04:00
Jeff Becker
4929bf0da8
fix with gcc and use default c++ compiler 2018-05-24 09:03:11 -04:00
Jeff Becker
b2a9605745
it does stuff :DDDDDDDD 2018-05-23 16:37:43 -04:00
Jeff Becker
d426f9e65e
more 2018-05-23 09:49:00 -04:00
Jeff Becker
d8631bb2b5
fix leaks 2018-05-22 15:19:06 -04:00
Jeff Becker
bc9e32d690
clang format and lots of stupid bug fixes 2018-05-22 11:54:19 -04:00
Jeff Becker
ae5243cc95
add clang format but don't format YET 2018-05-21 10:28:15 -04:00
Jeff Becker
6cc469775f
implement rc signing 2018-05-20 13:45:47 -04:00
Jeff Becker
d86c459cdb
more 2018-05-19 13:21:56 -04:00
Jeff Becker
0cc6d175cf
does not compile. update spec. 2018-05-19 09:36:42 -04:00
Jeff Becker
14d2de8edb
add initial iwp async crypto for intro 2018-05-18 16:08:57 -04:00
Jeff Becker
4939c7a5e3
fix threading and stopping 2018-05-18 14:27:13 -04:00
Jeff Becker
e695906c0c
make timer work 2018-05-18 13:50:21 -04:00
Jeff Becker
ce8e5088c4
more meat for iwp 2018-05-18 13:10:48 -04:00
Jeff Becker
d6b5fc5224
update iwp 2018-05-18 12:08:47 -04:00