Commit Graph

460 Commits

Author SHA1 Message Date
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
Ryan Tharp
d21a7027bc
fixed up daemon.ini to be helpful
added new options
2018-06-28 04:39:00 -07:00
Ryan Tharp
271e959d37 --localInfo, --locate refactor to wait for online before submitting the query 2018-06-28 04:34:36 -07:00
Ryan Tharp
38ea1e09c5 documentation 2018-06-28 04:33:52 -07:00
Ryan Tharp
d132e3cd10 load config-file from config, llarp_main_getLocalRC(), llarp_main_checkOnline(), llarp_main_queryDHT() refactor 2018-06-28 04:32:26 -07:00
Ryan Tharp
bf4b9d3a8f gimme contact file and make it snappy 2018-06-28 04:32:03 -07:00
Ryan Tharp
2f7214a59c check_online_request/llarp_main_queryDHT() refactor, llarp_main_getLocalRC() 2018-06-28 04:31:15 -07:00
Ryan Tharp
b93943ab32 support for public-address/public-port overrides for NAT, decrease min paths to 3, add debugging 2018-06-28 04:29:10 -07:00
Ryan Tharp
9636beaeeb sameAddr(), isPrivate() 2018-06-28 04:24:50 -07:00
Ryan Tharp
07f0653e83 Merge branch 'master' of https://github.com/majestrate/llarp 2018-06-28 08:20:19 +00:00
Jeff Becker
1c26fb5e40
* codel related changes
* add tick callback to udp event loop
2018-06-27 09:14:07 -04:00