Commit Graph

941 Commits

Author SHA1 Message Date
Ryan Tharp
eebb36683c new getter/setter style API 2018-05-29 17:40:02 -07: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
21ed6de756
try fixing multi session 2018-05-29 12:01:28 -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
edc477b071
update build files again 2018-05-29 10:45:37 -04:00
Jeff Becker
5e76744ccc
update again 2018-05-29 10:39:42 -04:00
Jeff Becker
7f2852f85c
update camke 2018-05-29 10:38:05 -04:00
Jeff Becker
7c33a835ff
fix 2018-05-29 10:31:36 -04:00
Jeff Becker
812bb6e0c0
update build files 2018-05-29 10:29:46 -04:00
Jeff Becker
0c7a62de9d
update cmake files 2018-05-29 10:26:43 -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
Ryan Tharp
9f2d7f717a Merge branch 'master' of https://github.com/majestrate/llarp 2018-05-29 12:21:50 +00:00
Ryan Tharp
3808ea1215 FreeBSD use specific FreeBSD pthread naming api 2018-05-29 05:16:44 -07: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
Ryan Tharp
d7672aa37a AF_PACKET guards 2018-05-29 05:15:34 -07:00
Ryan Tharp
5efbb00189 kqueue support 2018-05-29 05:14:50 -07:00
Ryan Tharp
78007425fd use FreeBSD API for setting thread names 2018-05-29 05:13:33 -07:00
Ryan Tharp
68c3210ef7 BSD already has strnlen 2018-05-29 05:12:47 -07:00
Jeff Becker
8e85bc1534
Revert "add libsodium 1.0.16 as submodule (i hate git submodules)"
This reverts commit 5c94a7b826.
2018-05-29 07:20:41 -04:00
Jeff Becker
5c94a7b826
add libsodium 1.0.16 as submodule (i hate git submodules) 2018-05-29 07:09:33 -04:00
Jeff Becker
a83efe66bb
add initial onion routing doc 2018-05-28 16:58:19 -04:00
Jeff Becker
57c39eeded
prevent double free 2018-05-28 16:58:10 -04:00
Jeff Becker
a00a0622d1
more docs
more logging
2018-05-28 16:51:15 -04:00
Jeff Becker
d8c42ff244
fix up docs 2018-05-28 10:39:26 -04:00
Jeff Becker
56a0efd41d
remove logging 2018-05-28 10:28:26 -04:00
Jeff Becker
24caf1fc8c
docs 2018-05-28 10:26:16 -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
fbb6913ee9
pep8 2018-05-28 08:23:07 -04:00
Jeff Becker
e58bd10b23
add python ffi example wrapper code 2018-05-27 15:13:25 -04:00
Jeff Becker
3f21cc5865
make c api for main 2018-05-27 14:03:10 -04:00
Jeff Becker
4a3a0fc556
make an application context to simplify the main function 2018-05-27 13:44:01 -04:00
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