Commit Graph

2428 Commits

Author SHA1 Message Date
Jeff Becker
1d852a1e83
send exit close ack 2019-05-07 14:27:21 -04:00
Jeff Becker
7b03b63d13
more sighup code 2019-05-07 14:15:22 -04:00
Jeff Becker
a53da68700
start work on sighup 2019-05-07 13:46:38 -04:00
Jeff Becker
a4ed8991b8
urgent build exit 2019-05-07 13:27:32 -04:00
Jeff Becker
7c782440fb
round robin the exit endpoints on exit handler 2019-05-07 12:07:44 -04:00
Jeff Becker
32363ea622
more vigorus exit path building 2019-05-07 11:08:57 -04:00
Jeff Becker
b44372bdc5
emplace queue 2019-05-07 11:08:49 -04:00
Jeff Becker
dee639500a
set intro 2019-05-07 10:11:10 -04:00
Jeff Becker
744ebac579
only use ready paths 2019-05-07 09:49:49 -04:00
Jeff Becker
e08c8bf919
correct timeout for dht request 2019-05-07 09:19:36 -04:00
Jeff Becker
61d42811be
prevent crash 2019-05-07 09:04:43 -04:00
Jeff Becker
12589c4a3a
have exit session do aligned build on demand 2019-05-07 08:34:02 -04:00
Jeff Becker
34533db620
add urgent build that builds over an existing path for an endpoint 2019-05-07 08:31:34 -04:00
Jeff Becker
66fbac7f6e
Merge remote-tracking branch 'origin/master' 2019-05-07 07:36:23 -04:00
Jeff Becker
fa7a631c1b
Merge remote-tracking branch 'origin/master' 2019-05-07 06:43:57 -04:00
Michael
1744ae7686
Tidy up service endpoint a bit more 2019-05-07 09:29:47 +01:00
Jeff Becker
e42f4c99f1
try preventing crash 2019-05-06 14:37:32 -04:00
Jeff Becker
f0e3653842
spread exit traffic across all paths 2019-05-06 13:32:53 -04:00
Jeff
62355efa11
Merge pull request #595 from majestrate/master
remove random timer fuzz
2019-05-06 12:18:24 -04:00
Jeff Becker
b9adf90fb9
remove random timer fuzz 2019-05-06 12:13:41 -04:00
Jeff
e3ec082c5f
Merge pull request #594 from majestrate/master
decrease minimum path build interval
2019-05-06 12:01:50 -04:00
Jeff Becker
6c17bf35b3
decrease minimum path build interval 2019-05-06 12:00:10 -04:00
Jeff
dd57e8aa05
Merge pull request #593 from majestrate/master
rebuild exit paths on same hops if they die
2019-05-06 10:56:58 -04:00
Jeff Becker
5fa85acaf7
rebuild exit paths if they die 2019-05-06 10:54:05 -04:00
Jeff
0c7c2cc2b1
Merge pull request #592 from majestrate/master
recent changes
2019-05-06 10:23:05 -04:00
Jeff Becker
779b1f4df5
more timeout tweaks and disable profiling on service nodes 2019-05-06 10:21:47 -04:00
Jeff Becker
728c6005a3
propagate strict-connect to tun handler for hooks 2019-05-06 08:42:21 -04:00
Jeff
236434e5c3
Merge pull request #591 from despair86/upstream-push
build fixes, but keep lto
2019-05-06 05:51:54 -04:00
Rick V
2e49c2ffc7
fix non-loonix 2019-05-05 23:02:24 -05:00
Rick V
7788d6ec3c
fix windows
lto stuff remains for now
since native builds work

(cherry picked from commit 37814472af5e7c35d514bae16d19b08050765d52)

i'm not porting the UNIX-tier cppfs thing

(cherry picked from commit d6edbd789534d4fd0bce6c8c2418347cd80bebdb)

none of this had to be specified directly ffs

(cherry picked from commit 5dbefa7131a6fe0b2006c90ecdba7e466fdd1ecc)

stop breaking shit reee

(cherry picked from commit 14be89902ccc75a7fc21863593da393ca976d0d4)
2019-05-05 23:01:51 -05:00
Jeff Becker
69ffef30bb
increase dht request timeout from 5s to 30s 2019-05-05 19:15:58 -04:00
Jeff Becker
b02a3715df
call hook on timeout 2019-05-05 10:42:13 -04:00
Jeff Becker
fc3db98e66
change log priority 2019-05-05 10:15:48 -04:00
Jeff Becker
92ad98be8b
refactor hooks to be have more c++isms
make path build timeouts use log level warning
2019-05-05 09:51:48 -04:00
Jeff Becker
d05471c989
bump version to 0.4.1 2019-05-04 08:39:02 -04:00
Jeff Becker
241dba0476
fix dns for smaller domains 2019-05-03 14:56:31 -04:00
Jeff Becker
b1b6076742
fix 2019-05-03 13:57:05 -04:00
Jeff Becker
2775de8675
try connect on no exit 2019-05-03 13:42:48 -04:00
Jeff Becker
fc3bccb161
revert 2019-05-03 10:07:17 -04:00
Jeff Becker
0cc8517bca
add error messages to ini parser and catch base cases. 2019-05-03 09:39:25 -04:00
Jeff Becker
9bc7508b5b
remove nuint128_t 2019-05-03 09:25:57 -04:00
Jeff Becker
d423ee02d2
use shared_ptr 2019-05-03 09:15:03 -04:00
Jeff Becker
986e831579
make bundle-rc option configurable on snode tld 2019-05-02 14:11:44 -04:00
Jeff Becker
e0892f7d23
gfdi 2019-05-02 12:33:53 -04:00
Jeff Becker
407f895c86
ooff 2019-05-02 12:31:08 -04:00
Jeff Becker
5b49008bca
more 2019-05-02 12:23:31 -04:00
Jeff Becker
4404d272b2
remove uint128_t for now 2019-05-02 11:19:21 -04:00
Jeff Becker
a97e1e37a7
dont filter intros they are already good 2019-05-02 09:47:22 -04:00
Jeff Becker
aa5d4c17fe
win32 guards 2019-05-01 11:36:20 -04:00
Jeff Becker
6b2ad94731
fix compile warning 2019-05-01 09:53:43 -04:00
Jeff Becker
e060082441
hook every dns for .loki and .snode when applicable
make {n,h}uint{32,16}_t templated type.
2019-05-01 09:40:10 -04:00
Jeff
59e6a4bc3d make snode work again probably 2019-04-30 17:36:27 -04:00
Jeff Becker
20ba2c7b8c
try not to die 2019-04-30 12:57:59 -04:00
Jeff Becker
cde4fcc00a
queue pending traffic 2019-04-30 12:49:34 -04:00
Jeff Becker
bb47d612b3
more 2019-04-30 12:07:17 -04:00
Jeff Becker
0b68d3db5d
move stuff arround so that flushing queues are done in the correct event loops
TODO: locking
2019-04-30 11:09:42 -04:00
Jeff Becker
2a7ebce8f4
Merge remote-tracking branch 'origin/master' 2019-04-30 11:01:13 -04:00
Jeff Becker
5e0acc1197
separate upstream/downstream flush 2019-04-30 09:56:39 -04:00
Jeff Becker
d50b18d7b0
try fixing leak also make format 2019-04-30 08:22:15 -04:00
Michael
725ee293c1
Refactor well named functionality in service::Endpoint into new struct 2019-04-30 02:06:31 +01:00
Jeff
a5cc5225ab static function 2019-04-29 14:34:47 -04:00
Jeff
359804e8db fix size 2019-04-29 14:34:38 -04:00
Jeff
ac7b331ca0 unconditional pump 2019-04-29 14:34:29 -04:00
Jeff
7cb659343b static function 2019-04-29 14:27:30 -04:00
Jeff
f8679b6405 fix size 2019-04-29 14:06:16 -04:00
Jeff
785f1366ed unconditional pump 2019-04-29 13:13:40 -04:00
Jeff
27fac68716 fix 2019-04-28 14:22:38 -04:00
Jeff
01906c5d94 Merge remote-tracking branch 'origin/master' 2019-04-28 13:33:27 -04:00
Michael
0b4d787042
More work on router docker image
- Multi-stage docker build (final image only 15MB!)
- Build in release mode
    - Fix bug with release mode
    - Fix compiler being dumb AF
    - Disable FORTIFY for now
- Enable LTO when making a staticly linked release
- Fix some gcc specific warnings
- Refactor cmake stuff into multiple files
2019-04-28 17:04:52 +01:00
Jeff
81bf00f9bc
Merge pull request #566 from majestrate/on-off-patch
add on/off values
2019-04-28 07:49:59 -04:00
Jeff Becker
2332294258
add on/off values 2019-04-28 07:49:36 -04:00
Jeff Becker
49439d80c1
add on/off values 2019-04-28 07:48:29 -04:00
Jeff Becker
c3c26df6e3
Merge branch 'master' of ssh://github.com/majestrate/loki-network 2019-04-27 07:51:47 -04:00
Jeff
5305ef5974 use iterative lookups for sercice address lookups 2019-04-27 07:13:16 -04:00
Jeff
f97b9bd299 fix osx shell hooks 2019-04-27 06:48:01 -04:00
Jeff Becker
f7dc67b189
use std::set 2019-04-26 09:02:08 -04:00
Jeff Becker
09f706b9cd
fix 2019-04-26 08:17:50 -04:00
Jeff Becker
fea64eaf12
handle subdomains 2019-04-26 08:14:29 -04:00
Jeff Becker
d20ba9ceab
handle subdomains 2019-04-26 08:11:34 -04:00
Michael
9ee525a006
Fix shadowing warnings 2019-04-26 00:21:19 +01:00
Jeff Becker
6d256f114a
increase send buffer size 2019-04-25 13:16:40 -04:00
Jeff Becker
0529e45ebe
more 2019-04-25 13:15:56 -04:00
Jeff Becker
6cd774ff9e
increase send buffer size 2019-04-25 13:15:13 -04:00
Jeff Becker
af62e051b5
gfdi 2019-04-25 08:57:26 -04:00
Jeff Becker
8282712eff
fug 2019-04-25 08:53:26 -04:00
Jeff Becker
af1529fa72
Merge remote-tracking branch 'origin/master' 2019-04-25 07:25:22 -04:00
Jeff Becker
4bda489437
add explicit enable/disable profiling option, try to always maintain outbound connections. 2019-04-25 07:00:18 -04:00
Michael
4143472a17
Add cmake module to target a library as 'system', and fix a few warnings 2019-04-25 00:27:31 +01:00
Ryan Tharp
508be6f9fb
Merge pull request #555 from neuroscr/issue547-2
config.cpp can't have ifaddr/ifname set to auto like this apparently, breaks validation
2019-04-23 17:28:20 -07:00
Ryan Tharp
563407c0a8 can't have these enabled like this apparently, breaks validation 2019-04-23 17:28:16 -07:00
Ryan Tharp
11a6691ab0
Merge pull request #549 from neuroscr/issue547-2
address issue loki-project#547, remove client.ini, update ini defaults, and clean up help message
2019-04-23 16:10:23 -07:00
Ryan Tharp
58be0229e6 fix issue #550 kqueue crash 2019-04-23 15:10:31 -07:00
Ryan Tharp
b36b378583 issue 547 make format 2019-04-23 14:57:01 -07:00
Ryan Tharp
8cf6a77c1d address issue loki-project#547, remove client.ini, update ini defaults, and clean up help message 2019-04-23 14:50:49 -07:00
Jeff Becker
c5c28a528f
exit node tweaks 2019-04-23 14:29:42 -04:00
Jeff Becker
5921086391
common codepath for sending protocol frames 2019-04-23 13:35:20 -04:00
Jeff Becker
6711296b26
finish converting to shared_ptr 2019-04-23 12:13:22 -04:00
Jeff Becker
8484e29c9b
turn more stuff into std::shared_ptr
remove dead codepaths
2019-04-23 10:47:23 -04:00
Jeff Becker
99c29cf05a
prepare for ios/android jazz
move to use std::shared_ptr instead of bare pointers so we can
multithread everything.
2019-04-23 10:28:59 -04:00
Jeff Becker
5872573e91
rename Logic and Crypto functions to GetLogic and GetCrypto 2019-04-23 09:20:01 -04:00
Jeff Becker
a2912ff860
Merge remote-tracking branch 'origin/master' 2019-04-23 09:12:36 -04:00
Michael
3a8715d8e4
Fix introset tests 2019-04-23 10:25:03 +01:00
michael-loki
e36ddfb093 Fixup casing (#543)
* Rename Identity.hpp to identity.hpp

* Rename Identity.cpp to identity.cpp

* Rename Info.hpp to info.hpp

* Rename Intro.cpp to intro.cpp

* Rename Intro.hpp to intro.hpp
2019-04-22 20:24:23 -05:00
Michael
98e691f315
Tidy up more parts of the service/ directory 2019-04-22 22:28:10 +01:00
Michael
2d2c0e3ac2
Make introset PoW be a unique_ptr 2019-04-22 22:19:51 +01:00
Jeff Becker
33d1fb913f
more clairvoient path building 2019-04-22 15:54:43 -04:00
Jeff Becker
36369abcb4
"better" (more vigorus) path building 2019-04-22 15:15:07 -04:00
Jeff Becker
d5162c2aad
dont kill active exit paths 2019-04-22 13:55:07 -04:00
Michael
e33a33635c
Remove usage of raw new from service classes 2019-04-22 18:38:29 +01:00
Jeff Becker
3120464fd6
catch error 2019-04-22 10:53:30 -04:00
Jeff Becker
fddb4c6b5d
give commandline args to hooks 2019-04-22 10:33:27 -04:00
Jeff Becker
a73d6f5c31
stop and drain threadpool 2019-04-22 10:03:22 -04:00
Jeff Becker
c0d7b53328
make it work 2019-04-22 10:00:59 -04:00
Jeff Becker
6785bd75c6
actually fork 2019-04-22 08:48:48 -04:00
Jeff Becker
3a8cb0bfb5
add shell based hooks for service::Endpoint, also make format 2019-04-22 08:25:25 -04:00
Michael
33c80b7c16
Move service::Session to its own componet 2019-04-21 19:39:50 +01:00
Michael
94ad84363a
Move CachedTagResult and TagLookupJob to its own component 2019-04-21 19:39:50 +01:00
Michael
6bf54e0925
Remove AsyncKeyExchange, HiddenServiceAddressLookup and OutboundContext to their own components 2019-04-21 19:39:50 +01:00
Michael
3db6d80928
Remove unnecessary llarp:: qualifiers 2019-04-21 19:39:50 +01:00
Michael
2412ed59ee
Move SendContext to its own component 2019-04-21 19:39:50 +01:00
Michael
84fc90dc82
Remove dependency on service::endpoint 2019-04-21 19:39:50 +01:00
michael-loki
0195152e05 Allow builds on MSVC (#518)
* Import cxxopts to replace getopts usage

* Add visual studio build things

* Fixup abseil build parts

* Replace __attribute__((unused)) with ABSL_ATTRIBUTE_UNUSED

* Fixup minor windows build issues

* Replace getopts usage

* Temporarily fixup .rc files

* More minor windows fixes

* Get a working build

* Revert .rc files

* Revert changes to nodedb
2019-04-19 13:24:33 -05:00
Rick V
81e88ab351
wtf jeff 2019-04-19 12:36:45 -05:00
Michael
c39c931d03
Remove IStateful virtual inheritance 2019-04-19 16:10:26 +01:00
Jeff Becker
5d7618cf02
try interchanging read / write oder on kqueue 2019-04-19 09:57:59 -04:00
Jeff Becker
544595bdef
use pipe and not pipe2 2019-04-19 09:43:51 -04:00
Jeff
e10edfd0b8
Merge pull request #531 from majestrate/master
bundle RC in build record to improve build success rates.
2019-04-18 07:52:19 -04:00
Jeff Becker
57dc6cc965
make bundling rc in path builds configurable on runtime 2019-04-18 07:49:54 -04:00
Jeff Becker
94eb37d490
bundle RC in build record to improve build success rates. 2019-04-17 15:05:54 -04:00
Jeff
379783c7a1
Merge pull request #530 from majestrate/master
qol improvements
2019-04-17 11:25:59 -04:00
Jeff Becker
2be3401e08
* refactor profiling function names
* utp link layer make ping less active, pre-emptive pump faster
2019-04-17 10:46:00 -04:00
Jeff
f144c25620
Merge pull request #526 from michael-loki/context_json_metrics
Make JSON metrics opt-in
2019-04-16 20:07:12 -04:00
Rick V
4ca60e65a4
when SunOS 4.x/Sun386i compatibilty was yanked,
some of the more useful functions graduated to the main libc
2019-04-16 16:03:23 -05:00
Jeff
88c2e73ab0
Merge pull request #525 from majestrate/master
fix dht and exit paths
2019-04-16 15:41:36 -04:00
Jeff Becker
88abe28cc1
add dead checking on exit paths 2019-04-16 15:39:58 -04:00
Jeff Becker
0906888bff
fix findrouter 2019-04-16 14:55:47 -04:00
Jeff
b3576af937
Merge pull request #524 from majestrate/master
fix gotrouter handling
2019-04-16 14:07:20 -04:00
Jeff Becker
5938cec770
fix gotrouter handling 2019-04-16 14:06:12 -04:00
Jeff
bfdbf634dd
Merge pull request #523 from majestrate/master
recent stability pokes
2019-04-16 13:55:10 -04:00
Jeff Becker
05dc2fb679
decay profiles unconditionally 2019-04-16 13:30:07 -04:00
Jeff Becker
76c5601894
decay profiles faster 2019-04-16 13:27:35 -04:00
Jeff Becker
66432afdda
proper explore for clients 2019-04-16 13:00:24 -04:00
Jeff Becker
524bed9d9b
move async bootstrap insertion 2019-04-16 12:50:47 -04:00
Jeff Becker
90e92c66c2
insert bootstrap nodes into nodedb and explore more 2019-04-16 12:44:51 -04:00
Jeff Becker
92d0a7083c
dht exploration implicitly makes a session so don't make more 2019-04-16 12:35:58 -04:00
Jeff Becker
87ff9268da
if a router is connected it's fine given it's a boostrap 2019-04-16 10:43:12 -04:00
Jeff Becker
d5161d3d9a
i hate profiling 2019-04-16 10:36:03 -04:00
Jeff Becker
9503cc66f0
add disk worker based file flusher logger
make format

remove package.json
2019-04-16 09:20:48 -04:00
Jeff Becker
a45d6db0e0
better profiling 2019-04-16 07:44:55 -04:00
Michael
fb0f08ec01
Make JSON metrics opt-in 2019-04-16 02:26:08 +01:00
Michael
fdc4b9c4bd
Remove debugging abort from jsonpublisher 2019-04-16 02:21:09 +01:00
Rick V
85f8f71684
windows headers are lowercase on unix 2019-04-15 20:08:29 -05:00
Michael
ae341b40fd
fixup! MetricTank metric collector 2019-04-14 18:29:35 +01:00
Michael
afa058c4ee Fix build on windows 2019-04-14 18:12:11 +01:00
Michael
9bc501bbf7 Integrate metric tank into build 2019-04-14 17:18:32 +01:00
Michael
3b5d49e0f8 MetricTank metric collector 2019-04-14 17:18:32 +01:00
Michael
544c5f9b61 Move metrics publishers to their own directory 2019-04-14 17:18:32 +01:00
Jeff Becker
e41bec4247
Merge branch 'master' of ssh://github.com/majestrate/loki-network 2019-04-14 07:27:36 -04:00
Jeff
5834607997 * don't ban bootstrap nodes with profiling
* less vigorous profiling timeouts
* async remove rc from disk
2019-04-14 07:25:15 -04:00
Jeff Becker
c838048629
Merge remote-tracking branch 'origin/master' 2019-04-13 12:46:15 -04:00
Jeff
7a83f71713 re-animate paths 2019-04-13 10:32:07 -04:00
Rick V
4a6b617d0d
refactor sun evloop 2019-04-12 19:54:20 -05:00
Jeff
a1cb367eca
Merge pull request #515 from majestrate/master
dont stomp existing convotags
2019-04-12 14:38:24 -04:00
Jeff Becker
cab85b8f85
dont stomp existing convotags 2019-04-12 14:37:43 -04:00
Jeff
b25b84e672
Merge pull request #514 from majestrate/master
fix integration tests
2019-04-12 11:32:07 -04:00
Jeff Becker
c26145f70e
* fix up integration tests
* make recursive router lookup backtrack
2019-04-12 11:29:48 -04:00
Jeff
21fb88a211
Merge pull request #513 from majestrate/master
remove RR answer in reply when doing nxdomain
2019-04-12 11:27:40 -04:00
Jeff Becker
f8edd3fbce
fix compiler warning 2019-04-12 11:26:20 -04:00
Jeff Becker
fadf519029
don't give extra record on end when nx 2019-04-12 11:19:51 -04:00
Jeff
2b80214c61
Merge pull request #512 from majestrate/master
add trailing newline
2019-04-12 09:41:54 -04:00
Jeff Becker
609a4ec107
add trailing newline 2019-04-12 09:41:25 -04:00
Jeff
d253d9b05c
Merge pull request #511 from majestrate/master
address #510
2019-04-12 08:20:58 -04:00
Jeff Becker
3aa0cc9d0b
address issue #510 2019-04-12 08:20:03 -04:00
Jeff Becker
5861f4aafa
* less vigorous profiling
* don't spam connections to bootstrap
2019-04-12 08:05:43 -04:00
Rick V
d887004d99
fix warning 2019-04-11 11:32:10 -05:00
Rick V
7036dd1756 freebsd has this too; 2019-04-11 16:10:52 +00:00
Rick V
a9181e27a4 fix non-linux 2019-04-11 16:07:41 +00:00
Rick V
9a24c46aa6
move these into a read-write data segment 2019-04-11 10:53:21 -05:00
Jeff Becker
9a6d894421
Merge remote-tracking branch 'origin/master' 2019-04-11 11:36:42 -04:00
Jeff Becker
5399b93270
make format and readd win32 console color logging 2019-04-11 11:36:20 -04:00
Rick V
7a74631d38
add note for win32
trivia: specifiying 'syslog' in php for windows config causes php to write to the event log
we should do something similar here ig
2019-04-11 10:30:30 -05:00
Rick V
853d19209c
Revert "unbreak windows target"
select 64-bit target by default (since normal devs REEEEEEEE at the sight of 4 byte ptrs)
pretty much every _other_ linux/unix has a c++17 windows compiler

This reverts commit a844c61049.
2019-04-11 10:17:58 -05:00
Jeff Becker
fda7c4779e
make win32 work 2019-04-11 09:29:52 -04:00
Jeff Becker
4948fd50f8
be consice 2019-04-11 09:25:42 -04:00
Jeff Becker
351feadaec
make it work 2019-04-11 09:19:58 -04:00
Jeff Becker
40f8434851
syslog 2019-04-11 09:13:29 -04:00
Jeff Becker
9e24557429
refactor logger 2019-04-11 08:58:23 -04:00
Jeff Becker
a844c61049
unbreak windows target 2019-04-10 11:53:10 -04:00
Jeff
bcb5933fc9 ooofff 2019-04-10 11:42:36 -04:00
Jeff
784a25634b exit tun loop in destructor 2019-04-10 11:32:29 -04:00
Jeff
c45a3201c5 disable llarp_ev_pkt_pipe on win32 2019-04-10 11:26:50 -04:00
Jeff
ff0ef9040d Merge remote-tracking branch 'origin/master' 2019-04-10 09:56:26 -04:00
Jeff
c64fbf7cc5 Merge branch 'master' of ssh://github.com/majestrate/loki-network 2019-04-10 09:50:01 -04:00
Jeff
b8a0912611
Merge pull request #497 from michael-loki/kqueue_macos_fix
Fixup build on macOS
2019-04-10 09:46:14 -04:00
Jeff Becker
28e07903b6
put reply intro 2019-04-10 09:19:32 -04:00
Jeff Becker
04a5db8789
call hook 2019-04-10 08:56:14 -04:00
Michael
a8bf5beb97
Fixup build on macOS 2019-04-10 08:16:53 -04:00
Jeff
95119a0fe1 always use random paths for lookups 2019-04-09 15:20:02 -04:00
Jeff Becker
6220fef2dc
select good first hops 2019-04-09 12:27:47 -04:00
Jeff Becker
5c1ec93375
only have clients kill router contacts in nodedb 2019-04-09 12:11:58 -04:00
Jeff Becker
7f25b62ef5
remove adding of defaults to upstream dns resolvers 2019-04-09 12:03:59 -04:00
Jeff Becker
264ec5bfa3
fix 2019-04-08 14:25:06 -04:00
Jeff Becker
dfa00e3415
fix exit address 2019-04-08 14:21:01 -04:00
Jeff Becker
20e398b684
fix exit info 2019-04-08 13:40:51 -04:00
Jeff Becker
3da6551e82
make android compile 2019-04-08 11:54:19 -04:00
Jeff Becker
ac69213dd7
unit tests for llarp_ev_pkt_pipe 2019-04-08 10:04:58 -04:00
Jeff Becker
48254c8ea0
make it compile 2019-04-08 08:05:54 -04:00
Jeff Becker
184971a446
Merge remote-tracking branch 'origin/master' 2019-04-08 08:03:02 -04:00
Jeff Becker
e178a70929
use shared_ptr for event loop 2019-04-08 08:01:52 -04:00
Michael
5df8e16c44
Add metrics section to config 2019-04-07 18:55:21 +01:00
Michael
6f23cbe176
Add JSON publisher 2019-04-07 18:55:21 +01:00
Jeff
3783fb0e14 fix inbound sessions 2019-04-06 09:52:04 -04:00
Jeff Becker
1922221c3d
permit no upstream resolvers and send servfail if we have none 2019-04-05 12:46:11 -04:00
Jeff Becker
2f2b841c67
disable mx record dropping
add servfail
2019-04-05 12:39:43 -04:00
Jeff Becker
c910a2a2fb
more 2019-04-05 10:58:22 -04:00
Michael
57d6668e55
Move metrics out of daemon into llarp::Context 2019-04-05 10:20:48 +01:00
Jeff
3715c28616
Merge pull request #483 from loki-project/staging
Staging
2019-04-03 15:18:13 -04:00
Jeff
10f7e8fe1f
Merge pull request #480 from michael-loki/more_asan
Fix more address sanitiser issues
2019-04-03 15:14:22 -04:00
Jeff
8cb334d47f Merge remote-tracking branch 'origin/master' 2019-04-03 15:12:20 -04:00
Jeff
97b9c679b0 don't use bootstrap nodes for first hops in paths 2019-04-03 15:05:44 -04:00
Jeff
94f87c3371 kqueue stuff 2019-04-03 10:42:45 -04:00
Jeff
38fed8e753 don't connect to bootstrap nodes when we don't need to 2019-04-03 09:59:15 -04:00
Rick V
1fb3a0bf62
stderr is unbuffered by default? 2019-04-03 01:14:15 -05:00
Rick V
120e24ee0a
flush stream after each write 2019-04-02 23:56:16 -05:00
Michael
25f10d5b11
Fix more address sanitiser issues 2019-04-02 10:03:53 +01:00
Rick V
c7128339c1
fix win32 2019-04-01 16:26:31 -05:00
Jeff
60a42a83a3 better introset publish logic 2019-04-01 15:56:11 -04:00
Rick V
1041545dd3
only close event loop set fd once
this seemed to fix the endless crashes on windows
since we _already_ deal with it in llarp_ev_loop::stop()
2019-03-31 19:25:29 -05:00
Jeff
15a9086d57
Merge pull request #477 from majestrate/master
handle path death better
2019-03-31 19:47:46 -04:00
Jeff Becker
169d8beded
clear profiles on removal 2019-03-31 11:25:13 -04:00
Jeff Becker
aea9944c3d
mark success on profiles and remove pending lookup 2019-03-31 11:18:47 -04:00
Jeff Becker
965b0957ee
tweaks 2019-03-31 11:09:59 -04:00
Jeff Becker
c23498925c
disable profiling on path fail 2019-03-31 10:41:36 -04:00
Jeff Becker
b9207ce3e0
unconditionally update introset on dead path 2019-03-30 10:06:09 -04:00
Jeff Becker
24e7151ff5
log and don't remove path on died 2019-03-30 09:12:48 -04:00
Jeff Becker
b849ff9a94
handle path death better 2019-03-30 09:02:10 -04:00
Jeff
289de170ef
Merge pull request #472 from michael-loki/fix_catalog_test_failure
Fix Catalog.Iterator test failure
2019-03-29 19:08:29 -04:00
Michael
6b5a688e08
Fix Catalog.Iterator test failure 2019-03-29 22:14:22 +00:00
Jeff Becker
ae786feab6
Merge remote-tracking branch 'origin/master' 2019-03-29 12:14:09 -04:00
Michael
561b997c93
Move IWP code to its own directory 2019-03-29 16:00:12 +00:00
Michael
426a9b0df5
Refactor iwp into multiple files 2019-03-29 16:00:12 +00:00
Michael
17b39b0ed4
Move UTP code to its own directory 2019-03-29 16:00:12 +00:00
Michael
5ef4e18827
Refactor utp into multiple files 2019-03-29 16:00:12 +00:00
Michael
a7d15467b3
Refactor iwp linklayer 2019-03-29 16:00:12 +00:00
Michael
a2a275dcf1
Remove dead linklayer code 2019-03-29 16:00:11 +00:00
Jeff Becker
89477b3523
kill fully backlogged sessions 2019-03-29 11:26:44 -04:00
Jeff Becker
5af8d0a392
don't insert RCs in main thread 2019-03-29 11:08:31 -04:00
michael-loki
1fddf59743
Flush output stream after publish
Fixes #458
2019-03-29 11:52:28 +00:00
Michael
3bada02d89
Fixup one ASAN warning 2019-03-29 01:02:41 +00:00
Jeff
a47ab122b9
Merge pull request #461 from majestrate/master
make signing work
2019-03-28 15:15:51 -04:00