Commit Graph

5771 Commits

Author SHA1 Message Date
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
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