Commit Graph

351 Commits

Author SHA1 Message Date
Jeff Becker
bce3cd85c6 initial implementation of find intro message for hidden service dht (not done yet) 2018-07-17 07:22:25 +10:00
Jeff Becker
0242e293c9 more 2018-07-16 13:32:13 +10:00
Jeff Becker
77aadf1d90
more api stuff 2018-07-13 15:26:28 -04:00
Jeff Becker
a68cfefaa6
make it compile and run make format 2018-07-13 09:36:51 -04:00
Ryan Tharp
0750befddc skip private interfaces if no public-address et 2018-07-13 06:13:04 -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
5bbaae4e2e
more 2018-07-12 14:21:44 -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
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
840a50abbc don't skip private interfaces quite yet/we need them for NAT to work correctly, try_connect refactor clean up 2018-07-08 06:28:10 -07:00
Ryan Tharp
3a21ca604f llarp_rc_new to initialize properties correctly 2018-07-08 06:26:24 -07:00
Ryan Tharp
016da4b7aa remove unneeded debug 2018-07-08 06:24:53 -07:00
Ryan Tharp
425a486d84 irelay the pending->job as the current job when checking the next node, add iterate flag to job, potential fix for possible problem, debug 2018-07-08 06:22:02 -07:00
Ryan Tharp
00e56ecfd2 Merge branch 'hidden-service-dht' of https://github.com/majestrate/llarp 2018-07-08 11:41:44 +00: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
Ryan Tharp
938cfec657 Revert "resolve_job_type() and on_verify_client_rc() clean u"
This reverts commit 9805cc153f.
2018-07-04 14:01:32 -07:00
Ryan Tharp
d7fc0f83a7 Revert "use resolve_job_type() instead of public"
This reverts commit 9aa5163c81.
2018-07-04 14:01:20 -07:00
Ryan Tharp
9aa5163c81 use resolve_job_type() instead of public 2018-07-04 05:09:44 -07:00
Ryan Tharp
9805cc153f resolve_job_type() and on_verify_client_rc() clean u 2018-07-04 05:09:18 -07:00
Ryan Tharp
dd3c04cff5 Merge branch 'master' of https://github.com/majestrate/llarp 2018-07-04 10:13:34 +00: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