Commit Graph

470 Commits

Author SHA1 Message Date
Jeff Becker
acec52a2c7
update spec 2018-07-12 11:46:30 -04:00
Jeff Becker
fe01c38d8e
* fix dht feedback loop
* start on dht lookups for hidden services

* make debug logging confurable on runtime with env var LLARP_DEBUG=1

* make eventloop tick only when we get traffic

* make testnet parameters configurable on runtime
2018-07-12 09:43:37 -04:00
Jeff Becker
bae4f746be
publish hidden service descriptors and acknoledge publish 2018-07-11 12:11:19 -04:00
Jeff Becker
980db97145
remove unneeded headers 2018-07-11 09:21:44 -04:00
Jeff Becker
39e100d0b2
refactor dht code to be split up a bit more 2018-07-11 09:20:14 -04:00
Jeff Becker
cf6275155a
pump less 2018-07-10 07:56:05 -04:00
Jeff Becker
1337cc0c25
also pump outbound queues during logic tick 2018-07-10 07:51:51 -04:00
Jeff Becker
59ca4e4cae
make it work 2018-07-10 07:47:22 -04:00
Jeff Becker
4c08d9a028
make it compile 2018-07-10 07:36:55 -04:00
Jeff Becker
6ad79b97dc
broken 2018-07-09 13:32:11 -04:00
Jeff Becker
dfa567e816
Merge remote-tracking branch 'sachaaaa/refactor' into hidden-service-dht 2018-07-09 10:24:44 -04:00
Jeff Becker
30c14dfda5
make format 2018-07-09 08:30:01 -04:00
sachaaaaa
5676229a4f add /llarp to vscode includePath 2018-07-09 15:01:30 +10:00
sachaaaaa
61bb7905f0 fix method calls in server.cpp + use ctor instead of factory/allocator
to squash
2018-07-09 15:01:30 +10:00
sachaaaaa
661f050636 Fix includes/forward declarations 2018-07-09 15:01:30 +10:00
sachaaaaa
6f055eca4f Extracted structs out of iwp_link.cpp
to rebase

to rebase
2018-07-09 15:01:15 +10:00
sachaaaaa
7442387307 renamed .c to .cpp 2018-07-09 14:34:28 +10:00
sachaaaaa
33586d385b clang format 2018-07-09 14:34:28 +10:00
sachaaaaa
c7940076bf Remove most of the extern "C"
remove extern "C"
2018-07-09 14:34:09 +10:00
sachaaaaa
b5762fa85a Move EncodeLIM to its own source file 2018-07-09 13:08:41 +10:00
Jeff Becker
6cb31ecb1a
base32 encoding and unit tests 2018-07-06 12:08:30 -04:00
Jeff Becker
21a2ffdeaf
* refactor log functions
* add more stuff for hidden service dht
2018-07-05 11:44:06 -04:00
Jeff Becker
d2a4f0b103
start on hidden service dht 2018-07-05 10:23:45 -04:00
Jeff Becker
f134b8c4d1
always put messages in inbound processing queue 2018-07-03 10:04:13 -04:00
Jeff Becker
b994bf5f5b
fix previous commit 2018-07-03 09:57:31 -04:00
Jeff Becker
54aed396c2
don't repeat process messages on link layer 2018-07-03 09:54:43 -04:00
Jeff Becker
cc23d8ddbd
format 2018-07-03 09:34:53 -04:00
Jeff Becker
2b8cd93d6a
make it compile :^) 2018-07-03 09:34:46 -04:00
Jeff Becker
ab509e0a13
try not to crash 2018-07-03 09:33:37 -04:00
Jeff Becker
4ca34995bf
add inbound server connections to DHT 2018-07-03 09:13:56 -04:00
Jeff Becker
0213ada22c
don't lock 2018-07-03 08:30:46 -04:00
Jeff Becker
132e57b6de
bump version 2018-07-03 08:24:10 -04:00
Jeff Becker
8a682a8b83
fix previous commit 2018-07-03 08:21:56 -04:00
Jeff Becker
d34937118d
make it compile :DDDD 2018-07-03 08:12:30 -04:00
Jeff Becker
139d48b790
inbound queue fixes 2018-07-03 08:10:44 -04:00
Jeff Becker
42e839ab81
keepalive settings tweak 2018-07-02 15:56:47 -04:00
Jeff Becker
705271e7b8
try fixing timeout 2018-07-02 15:34:00 -04:00
Jeff Becker
fb13c5ce3e
more tweaking 2018-07-02 15:24:22 -04:00
Jeff Becker
d987aa09c7
disable tuntap libs by default 2018-06-29 12:06:07 -04:00
Jeff Becker
8cfcc101b4
* path latency ticks every 5s
* retransmit xmit if we haven't gotten an ack yet (IWP)
2018-06-29 12:02:39 -04:00
Jeff Becker
9c57be0301
look up remote not self 2018-06-29 10:43:06 -04:00
Jeff Becker
711cc509a9
make format 2018-06-29 10:26:27 -04:00
Jeff Becker
18b50f4a74
* implement path transfer message
* update dht docs
* update other docs
* start working on dht for hidden services
* fix up unit tests for dht
* update makefile and other build files
2018-06-29 10:25:09 -04:00
Jeff Becker
7d9bffdf9c
make format 2018-06-29 08:15:15 -04:00
Jeff Becker
64d12086c9
update libtuntap, make it compile without warnings and add to CMakeLists.txt 2018-06-29 08:14:20 -04:00
Ryan Tharp
0af33b4205
Merge pull request #3 from neuroscr/master
vendor libtuntap, set log level c api, codel fixes, private network detection, nat address override, --locate and --localInfo utils
2018-06-28 21:10:11 -07:00
Jeff Becker
eeb9c9e5b4
do correct dht lookup 2018-06-28 11:10:25 -04:00
Ryan Tharp
0cc0c8f476 better public override detection 2018-06-28 04:59:50 -07:00
Ryan Tharp
d5a89b91b3 clean up debug, detect override better 2018-06-28 04:50:01 -07:00
Ryan Tharp
b524f19119 fix missing header 2018-06-28 11:40:46 +00:00