Commit Graph

551 Commits

Author SHA1 Message Date
Jeff Becker
956973cb84
use configurable number of net io threads 2018-05-27 12:45:04 -04:00
Jeff Becker
bfaa837bce
refactor everything to use logger 2018-05-27 10:04:30 -04:00
Jeff Becker
39b1714f27
add minimal logger
move some printf to use logger

remove warnings from bencode.h
2018-05-27 09:42:55 -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
Ryan Tharp
a35e118ac6 documentation 2018-05-25 09:17:08 +00: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
ec4e7674b7
MSB -> LSB 2018-05-24 10:39:32 -04:00
Jeff Becker
f10b854fae
update protocol docs to be more sane 2018-05-24 10:38:39 -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
Ryan Tharp
5a01bf4d7a initial default modes better, initialize crypto before use 2018-05-22 23:55:00 +00:00
Ryan Tharp
4d911f94d6 remove debug 2018-05-22 23:54:42 +00:00
Ryan Tharp
9ea9a6b527 fix struct declaration to make gcc 7.3 happy 2018-05-22 23:17:37 +00:00
Ryan Tharp
b615a9acaa merge changes 2018-05-22 23:17:11 +00:00
Jeff Becker
d8631bb2b5
fix leaks 2018-05-22 15:19:06 -04:00
Jeff Becker
71c34231b2
Merge remote-tracking branch 'ryan/master' 2018-05-22 14:41:38 -04:00
Jeff Becker
bc9e32d690
clang format and lots of stupid bug fixes 2018-05-22 11:54:19 -04:00
Jeff Becker
afdf5fa51c
update clang format 2018-05-21 12:01:31 -04:00
Jeff Becker
589edf08f0
add emacs dir-locals 2018-05-21 10:52:30 -04:00
Jeff Becker
1958df312d
fix format target 2018-05-21 10:31:52 -04:00
Jeff Becker
ae5243cc95
add clang format but don't format YET 2018-05-21 10:28:15 -04:00
Ryan Tharp
ea5f4ba2d5 Merge branch 'master' of https://github.com/majestrate/llarp 2018-05-21 13:22:02 +00:00
Jeff Becker
4e19ce8191
add buffer helper 2018-05-21 09:17:07 -04:00
Ryan Tharp
7495c2fc19 remove unneeded temporary variable per code review 2018-05-21 12:57:37 +00:00
Ryan Tharp
d2e9551165 remove old main contents 2018-05-21 12:56:58 +00:00
Ryan Tharp
12d29cce13 add rcutil 2018-05-21 12:51:38 +00:00
Ryan Tharp
e04410a2a7 rcutil main 2018-05-21 12:51:10 +00:00
Ryan Tharp
9e1d8bd943 u key (last updated), minor whitespace 2018-05-21 12:44:50 +00:00
Ryan Tharp
ef8e687fb5 add last_updated field 2018-05-21 12:44:28 +00:00
Ryan Tharp
fa49085e43 llarp_findOrCreateIdentity(), llarp_rc_write(), llarp_rc_clear(), llarp_rc_addr_list_iter(), llarp_rc_set_addrs(), llarp_rc_set_pubkey(), llarp_rc_sign(), minor whitespace cleanup 2018-05-21 12:43:32 +00:00
Ryan Tharp
06f7a3df52
fix prototype 2018-05-21 08:43:23 -04:00
Ryan Tharp
efdf1c3e7c include fs, llarp_findOrCreateIdentity(), llarp_rc_write(), llarp_rc_clear(), llarp_rc_addr_list_iter(), llarp_rc_set_addrs(), llarp_rc_set_pubkey(), llarp_rc_sign() 2018-05-21 12:41:32 +00:00
Ryan Tharp
d7a7ce4584 fix prototype 2018-05-21 12:39:52 +00:00
Jeff Becker
191cc30026
correction 2018-05-20 14:58:26 -04:00
Jeff Becker
cc97da29d4
named threadpool 2018-05-20 14:56:34 -04:00
Jeff Becker
bffb4c3f3a
fixes 2018-05-20 13:55:54 -04:00
Jeff Becker
6cc469775f
implement rc signing 2018-05-20 13:45:47 -04:00
Jeff Becker
0f6c0d8a56
start fixing up main 2018-05-20 12:15:16 -04:00
Jeff Becker
87ae0aa972
make it nicer 2018-05-20 11:35:59 -04:00
Jeff Becker
14b795a384
refactor async crypto and remove old unneeded code 2018-05-20 10:54:52 -04:00
Jeff Becker
a3a359de8e
update docs and make it compile 2018-05-20 09:43:42 -04:00
Jeff Becker
e1788a5cc9
update readme 2018-05-20 08:49:38 -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