Commit Graph

7544 Commits

Author SHA1 Message Date
Jeff Becker
e7ac0f3902
expunge outbound contexts that have not gotten inbound traffic for a long while 2021-07-05 09:09:20 -04:00
Jeff Becker
32a94c73e2
update lokinetmon
* add --introset-filter option to filter results in introset inspection mode by regex
2021-07-05 09:09:20 -04:00
Jeff Becker
75451d7124
* add establish fail enum
* dont call outbound session hooks for inbound sessions
2021-07-05 09:09:20 -04:00
Jeff Becker
e3281cd026
add string representation to SessionResult 2021-07-05 09:09:20 -04:00
Jeff Becker
1d1d97b0ef
disable peer status entirely 2021-07-05 09:09:20 -04:00
Jeff Becker
2578983a09
dont give peer stats in rpc 2021-07-05 09:09:20 -04:00
Jeff Becker
20bc338eba
inbound sessions from CLIENTS should only have an elevated lifetime 2021-07-05 09:09:20 -04:00
Jeff Becker
caddeef2e8
more information in logs 2021-07-05 09:09:20 -04:00
Jeff Becker
977ea3d689
* add log warn
* throw if inbound link makes outbound session
2021-07-05 09:09:20 -04:00
Jeff Becker
99379c5def
establish outbound sessions when we have no outbound session.
when we have an inbound session we still want to make an outbound session.
2021-07-05 09:09:20 -04:00
Jeff Becker
cf0349c259
if we have an inbound session don't fail with NoLink 2021-07-05 09:09:19 -04:00
Jeff Becker
a316f5f787
add wine as dependancy because god made windows so that man may suffer 2021-07-05 07:26:04 -04:00
Jeff Becker
da985c4c44
add docker image for nodejs 2021-07-05 07:26:03 -04:00
Jeff
e28e23171d
Merge pull request #1686 from tewinget/outbound_session_maker_fixes
fix minor oversight/inefficiency with already established connections
2021-06-30 06:53:30 -04:00
Jeff Becker
f4fa83703f
refactor to use RouterID instead of rc.pubkey 2021-06-30 06:45:11 -04:00
Jeff Becker
e78d0b5e77
update urls 2021-06-30 05:47:16 -04:00
Thomas Winget
8515fe09d4 fix minor oversight/inefficiency with already established connections 2021-06-29 18:44:42 -04:00
Jeff
bff81c62e2
Merge pull request #1685 from jagerman/jemalloc
Link to jemalloc for better memory usage
2021-06-29 16:42:22 -04:00
Jason Rhinelander
4f71276928 Link to jemalloc for better memory usage 2021-06-29 16:15:54 -03:00
Jason Rhinelander
3af23490d3 build with jemalloc 2021-06-29 16:11:27 -03:00
Jason Rhinelander
4c198cf77c Link to jemalloc for better memory usage 2021-06-29 16:11:24 -03:00
Jeff
94912ba21b fix up docs generation 2021-06-29 12:17:33 -04:00
Jason Rhinelander
81388b1c6b 0.9.4 release 2021-06-25 17:25:01 -03:00
Jason Rhinelander
669aa030c8 Merge remote-tracking branch 'origin/stable' into ubuntu/bionic 2021-06-25 17:24:59 -03:00
Jeff
4723b532eb
Merge pull request #1681 from oxen-io/dev
v0.9.4
2021-06-25 16:17:22 -04:00
Jeff Becker
abd6e4c558
use weak_ptr instead of bare pointer to prevent use after free 2021-06-25 05:08:31 -04:00
Jason Rhinelander
5893813634 0.9.4 prerelease 2021-06-23 09:55:36 -03:00
Jason Rhinelander
6a4237c9d0 Rediff patches
Drop 0004-use-exisitng-convotag-first-instead-of-trying-to-sen.patch: <REASON>
2021-06-23 09:55:31 -03:00
Jason Rhinelander
965546c837 Merge remote-tracking branch 'origin/dev' into ubuntu/bionic 2021-06-23 09:55:30 -03:00
Jeff Becker
aa48a1de1b
lower log level 2021-06-23 07:30:30 -04:00
Jeff Becker
3ad59105ef
when an outbound context is "marked bad" we want to ignore any new paths.
before this commit when a new path was made when an outbound context marked bad lokinet would segfault.
2021-06-23 07:21:01 -04:00
Jeff
c040a1510a
update deps for source build
* change package list for static dev build
* reword the line describing why one may want to do a source build
2021-06-23 06:54:51 -04:00
Jeff
058e358b5c
Merge pull request #1669 from majestrate/inbound-convo-wrong-path-fix-2021-06-14
[bugfix] make inbound convotags reply on the correct path
2021-06-22 13:04:28 -04:00
Jason Rhinelander
d2dc3b8c1b Fix program name in bencode-dump.py --help 2021-06-22 12:27:04 -03:00
Jeff
0b3b65fe4e
Merge pull request #1675 from jagerman/bencode-dumper
Add bencoded file dumper
2021-06-22 11:23:42 -04:00
Jason Rhinelander
4b0a10328a Add bencoded file dumper 2021-06-22 12:18:55 -03:00
Jeff Becker
9d0dffe086
only permit 1 pending session per udp endpoint 2021-06-22 09:26:03 -04:00
Jeff Becker
67f8a7116f
if we get a discard message from the pivot discard the outbound context if the remote intro is also expired 2021-06-21 16:02:03 -04:00
Jeff Becker
0900ab88d1
publish introsets on nearest routers
fetch introset from random routers
2021-06-21 16:01:38 -04:00
Jeff Becker
872a8d8045
use exisitng convotag first instead of trying to send to directly 2021-06-21 15:16:28 -04:00
Jeff Becker
ee5723ecdc
add upperbound to number of endpoints used in lns lookups 2021-06-21 15:16:28 -04:00
Jeff Becker
1c457e2858
bump version to 0.9.4 2021-06-21 15:16:28 -04:00
Jeff Becker
3393b5a5a7
make it so lookups dont time out 2021-06-21 15:16:27 -04:00
Jeff Becker
b5efb8c604
rename local variable to be clear about meaning, add comment 2021-06-21 15:16:27 -04:00
Jeff Becker
1a0e6a7ac1
remove redundant check as ReadyToSend also checks IntroSent() 2021-06-21 15:16:27 -04:00
Jeff Becker
d45f0f8951
value initialize introduction so that expiresAt defaults to zero 2021-06-21 15:16:27 -04:00
Jeff Becker
9f353238af
ReadyToSend also should include checking we have a path to the remote 2021-06-21 15:16:27 -04:00
Jeff Becker
ae36fd42bb
remove badIntros from lokinetmon as rpc no longer has them in it 2021-06-21 15:16:27 -04:00
Jeff Becker
4b11858bb0
make clang compile, remove unused variable 2021-06-21 15:16:27 -04:00
Jeff Becker
963250c0ef
format 2021-06-21 15:16:27 -04:00