Commit Graph

512 Commits

Author SHA1 Message Date
Ryan Tharp
ca06f1dded refactor clean up (pass 1) 2018-07-21 20:34:28 -07:00
Ryan Tharp
a9e8584acd clang-format (finally :) 2018-07-21 06:24:47 -07:00
Ryan Tharp
2ac5f2d245 code review changes 2018-07-21 06:19:42 -07:00
Ryan Tharp
eadca4b4fc "fixed" DNS multithreaded 2018-07-21 06:19:06 -07:00
Ryan Tharp
1d77bb9acc thread primitives 2018-07-20 04:35:48 -07:00
Ryan Tharp
6582a2fb0f fix casting of ip to return correct results 2018-07-20 03:42:28 -07:00
Ryan Tharp
dd4b3fa9a1 continue llarpification (StackBuffer) and other refactor 2018-07-20 03:28:21 -07:00
Ryan Tharp
ec3ad89a50 allow reading of single byte 2018-07-20 03:27:05 -07:00
Ryan Tharp
b4353e0a48 heap allocate llarp_udp_io 2018-07-18 14:09:01 -07:00
Ryan Tharp
3758b1f6bf heap allocate more sockaddr, debug adjustment 2018-07-18 14:07:37 -07:00
Ryan Tharp
86e439f61b heap allocate dns_request, copy sockaddr 2018-07-18 14:06:18 -07:00
Ryan Tharp
f9512f7e28 glue to hold client & server together 2018-07-16 05:48:38 -07:00
Ryan Tharp
077c22150f fix response bug, libev refactor 2018-07-16 05:48:04 -07:00
Ryan Tharp
d162ced40c updates to libllarp-platform 2018-07-16 05:47:13 -07:00
Ryan Tharp
eb7e98ce6a search for libsodium, dns exe, backport lib, platform lib, search /usr/local/include 2018-07-13 06:14:42 -07:00
Ryan Tharp
e5c1caf5b3 dns client and server 2018-07-13 06:13:38 -07:00
Ryan Tharp
0750befddc skip private interfaces if no public-address et 2018-07-13 06:13:04 -07:00
Ryan Tharp
971392b435 make logic not set itself 2018-07-13 06:12:32 -07:00
Ryan Tharp
a3d791e516 update logging to new format 2018-07-13 09:28:50 +00:00
Ryan Tharp
14fac288fc relay job if you need to ask again (reapply, merge fix) 2018-07-13 09:28:16 +00:00
Ryan Tharp
8a7db419f9 reapply DHT changes 2018-07-13 09:27:57 +00:00
Ryan Tharp
9073a5a9f3 actually resolve conflict 2018-07-13 09:27:13 +00:00
Ryan Tharp
cfb69224b5 Merge branch 'master' of https://github.com/neuroscr/loki-network 2018-07-13 07:54:27 +00:00
Ryan Tharp
e1a4c2f32c Merge branch 'hidden-service-dht' of https://github.com/majestrate/llarp 2018-07-13 07:25:20 +00:00
Jeff Becker
5b68d43730
forgot file 2018-07-12 14:21:58 -04:00
Jeff Becker
5bbaae4e2e
more 2018-07-12 14:21:44 -04:00
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
Ryan Tharp
ccc6300849 logLevel and read support 2018-07-11 04:04:45 -07:00
Ryan Tharp
86db6256b8 support -c and -o 2018-07-11 04:04:15 -07: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
Ryan Tharp
37d9e774a3 clean up 2018-07-08 06:33:51 -07:00
Ryan Tharp
961f1a858b displayRC refactor, --locate show RC if found, --LogLevel support, make --locate lookups iterative, fix short option arguments 2018-07-08 06:29:29 -07:00