Commit Graph

228 Commits

Author SHA1 Message Date
Jeff Becker
d645c07290
fix up dht 2018-06-14 11:39:54 -04:00
Jeff Becker
6e5ebd62bf
do dht lookup for unknown routers 2018-06-14 11:10:31 -04:00
Jeff Becker
ccf8574c03
make unit tests work 2018-06-14 10:04:42 -04:00
Jeff Becker
d5fe7623fc
more dht stuff 2018-06-13 12:32:34 -04:00
Jeff Becker
09d6a46cad
correct encoding of aligned buffer 2018-06-13 09:18:18 -04:00
Jeff Becker
10ddc3da8a
async load rc 2018-06-13 08:58:51 -04:00
Ryan Tharp
d8329b9955 Merge branch 'master' of https://github.com/majestrate/llarp 2018-06-13 11:53:18 +00:00
Ryan Tharp
087f4c2f02 clean up llarp_nodedb_async_verify api, make setRC save to correct path 2018-06-13 04:40:49 -07:00
Jeff Becker
0d9025bc7d
Merge remote-tracking branch 'ryan/master' into dev 2018-06-13 07:31:34 -04:00
Ryan Tharp
1cf247e36e Merge branch 'master' of https://github.com/majestrate/llarp 2018-06-12 21:53:55 +00:00
Jeff Becker
a8ab66f4f8
refactor to use AlignedBuffer for public key, shared secret, nonce, secret key etc 2018-06-12 07:57:14 -04:00
Jeff Becker
ec53cab169
more onion routing stuff 2018-06-10 10:05:48 -04:00
Jeff Becker
315798a0c4
* loopback test network
* fix various crashes and race conditions

* rename iwp-connect to connect in config

* rename iwp-links to bind in config

* always make a link just for outbound sessions even if no bind section is provided
2018-06-07 12:22:49 -04:00
Ryan Tharp
70579e6846 finish implementing llarp_nodedb_async_verify, move context inside llarp_async_verify_rc 2018-06-07 02:36:30 -07:00
Ryan Tharp
7b8ef635e4 Merge branch 'master' of https://github.com/majestrate/llarp 2018-06-07 06:49:57 +00:00
Jeff Becker
a0f1d548f8
more shadow stuff 2018-06-06 17:23:57 -04:00
Jeff Becker
90611731a5
initial shadow test net 2018-06-06 13:02:57 -04:00
Jeff Becker
0278ba559c
add single threaded mode for shadow 2018-06-06 08:46:26 -04:00
Ryan Tharp
56fcaaa567 Merge branch 'master' of https://github.com/majestrate/llarp 2018-06-03 22:49:04 +00:00
Jeff Becker
c2d76dce3a
inbound message fixes 2018-06-03 09:36:38 -04:00
Jeff Becker
2075f9a6b8
add discard message for testing 2018-06-03 09:04:51 -04:00
Jeff Becker
87aabefddc
some fixups on link layer
only add trusted routers to DHT
2018-06-02 09:18:11 -04:00
Ryan Tharp
3f6a5c4ca5 Merge branch 'master' of https://github.com/majestrate/llarp 2018-06-01 21:55:48 +00:00
Jeff Becker
fe7388bd69
make it work 2018-06-01 17:47:38 -04:00
Jeff Becker
620b9616a6
initial dht implementation 2018-06-01 17:35:17 -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
0724479eba
fix logging 2018-06-01 10:24:58 -04:00
Jeff Becker
5649d261ae
start fleshing out dht subsystem a bit 2018-06-01 10:08:54 -04:00
Ryan Tharp
40dedf7471 start of async version of verifying router contacts 2018-05-31 06:08:06 -07:00
Jeff Becker
fe19314484
more stuff 2018-05-30 16:56:47 -04:00
Jeff Becker
31cbfd255e
ipv4 fixes 2018-05-29 09:40:26 -04:00
Ryan Tharp
9f2d7f717a Merge branch 'master' of https://github.com/majestrate/llarp 2018-05-29 12:21:50 +00:00
Ryan Tharp
a57cffa481 AF_LINK support (AF_PACKET guard), fallback to ipv4 if ipv6 doesn't connect 2018-05-29 05:16:08 -07: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
02d785d30c
add release targets to makefile for future
purge llarp_alloc

colored logging
2018-05-28 09:49:44 -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
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
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
4d911f94d6 remove debug 2018-05-22 23:54:42 +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
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
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
Jeff Becker
6cc469775f
implement rc signing 2018-05-20 13:45:47 -04:00
Jeff Becker
14d2de8edb
add initial iwp async crypto for intro 2018-05-18 16:08:57 -04:00
Jeff Becker
cb351ae9ff
refactor iwp, get rid of dtls 2018-05-18 10:40:06 -04:00
Jeff Becker
4959067af2
it binds 2018-05-18 09:17:58 -04:00
Jeff Becker
64d5265102
more 2018-05-18 08:39:17 -04:00
Jeff Becker
f022a5bcdf
more 2018-05-17 16:00:58 -04:00
Jeff Becker
91a9108300
refactor 2018-05-16 14:13:18 -04:00
Jeff Becker
c0ff64868d
more meat 2018-05-16 12:41:20 -04:00
Jeff Becker
7b46e44859
more 2018-05-16 11:49:16 -04:00
Jeff Becker
f7e52a1878
more 2018-05-16 11:30:05 -04:00
Jeff Becker
63150549fc
start moving to cmake 2018-05-16 09:56:51 -04:00
Jeff Becker
4cc5059cbe
format 2018-04-30 14:18:34 -04:00
Jeff Becker
8aa898aef8
more 2018-04-30 14:18:18 -04:00
Jeff Becker
a5611e2206
format 2018-04-30 12:14:29 -04:00
Jeff Becker
8181670bf3
format 2018-04-30 12:14:20 -04:00
Jeff Becker
09be72b5b6
clang format 2018-04-05 10:43:16 -04:00
Jeff Becker
84ab8a792a
more 2018-04-05 10:38:22 -04:00
Jeff Becker
2687d9aeee
more 2018-04-05 10:23:14 -04:00
Jeff Becker
a449dffc09
more 2018-04-04 09:54:37 -04:00
Jeff Becker
58247343bf
format 2018-02-01 12:07:01 -05:00
Jeff Becker
1fdfdc0244
more 2018-02-01 12:06:49 -05:00
Jeff Becker
ae76b6b376
google format 2018-02-01 08:21:00 -05:00
Jeff Becker
de3ddbb93e
clang-format 2018-01-29 09:27:24 -05:00
Jeff Becker
a704a28f34
make it compile and link 2018-01-29 09:19:00 -05:00
Jeff Becker
f50a49b7cb
progress (does not compile) 2018-01-26 20:18:10 -05:00
Jeff Becker
b7d4499f43
more 2018-01-26 09:17:51 -05:00
Jeff Becker
485e780552
sarp -> llarp 2018-01-25 11:24:33 -05:00
Jeff Becker
045a692522
more 2018-01-25 11:11:45 -05:00
Jeff Becker
62fb43a52c
refactor 2018-01-25 10:38:14 -05:00