Jeff
abff5c35cb
Merge pull request #1160 from majestrate/dns-rebinding-fix-2020-03-04
...
add llarp.admin.die rpc call to gracefully kill router
2020-03-05 09:40:13 -05:00
Jeff Becker
99c814e6b0
fix dns rebinding vuln in jsonrpc
2020-03-04 13:59:33 -05:00
Jason Rhinelander
3b0927ce13
Merge pull request #1140 from despair86/cmake-cleanup
...
some light cmake cleanup for win32
2020-03-04 11:44:10 -04:00
Jason Rhinelander
a78a7fbb17
Merge pull request #1158 from majestrate/prune-routers-2020-03-03
...
Prune non routers from nodedb
2020-03-04 11:41:15 -04:00
Jason Rhinelander
5550a9628d
Merge pull request #1150 from majestrate/allow-build-from-tarballs-2020-03-01
...
allow building from source tarballs
2020-03-04 11:35:06 -04:00
Jason Rhinelander
6707037909
Merge pull request #1157 from majestrate/fix-systemd-status-2020-03-03
...
fix status line
2020-03-04 11:28:07 -04:00
Jeff
0302864e11
Merge pull request #1159 from jagerman/lookup-fix
...
Fix lookup filter to filter second, not first, lookup
2020-03-04 06:58:59 -05:00
Jason Rhinelander
c87fd66386
Fix lookup filter to filter second, not first, lookup
2020-03-04 01:32:20 -04:00
Jeff Becker
08de84d40b
remove non public routers from nodedb
2020-03-03 20:01:24 -05:00
Jeff Becker
add305b9f4
use size / 2 as the number of transit paths
2020-03-03 18:16:08 -05:00
Jeff Becker
05082e2507
fix status line
2020-03-03 18:04:09 -05:00
Rick V
3ca50b3619
missing branch on option
2020-03-03 15:33:12 -06:00
Rick V
c8c9222b01
remove unused rule
2020-03-03 15:33:11 -06:00
Rick V
d22af469a4
some win32 cmake cleanup
...
also removes MSVC rules (we don't support MSVC)
2020-03-03 15:33:11 -06:00
Rick V
c4e8e52fcc
finally remove C++17 requirement on windows (only needed it for
...
filesystem)
2020-03-03 15:33:10 -06:00
Rick V
dbc559d4ff
finally fix cross-LTO on windows builds
2020-03-03 15:33:10 -06:00
Rick V
4cd7a22ca3
fix libsodium cross compile
2020-03-03 15:33:04 -06:00
Jeff
ef8570ff58
Merge pull request #1156 from majestrate/make-goissp-work
...
make gossip serialize gossip messages
2020-03-03 15:28:32 -05:00
Jeff Becker
61ffbc0643
std::vector reserve does not resize
2020-03-03 15:25:18 -05:00
Jeff
cca53cfdea
Merge pull request #1155 from jagerman/ctest-sucks
...
Remove enable_testing() because ctest sucks (and thus we don't use it)
2020-03-03 11:36:30 -05:00
Jason Rhinelander
7a5b105f49
Remove enable_testing() because ctest sucks (and thus we don't use it)
2020-03-03 12:35:01 -04:00
Jeff Becker
0a6c91b26c
operator presidence
2020-03-03 06:54:21 -05:00
Jeff Becker
d8cf164a7d
add gitattributes for git-archive-all
2020-03-03 06:54:21 -05:00
Jeff Becker
d44a96769a
allow building from source tarballs
2020-03-03 06:54:21 -05:00
Jeff
87411032ec
Merge pull request #1154 from notlesh/remove-pubintro-repropagation-2020-03-02
...
Remove pubintro repropagation
2020-03-02 17:28:03 -05:00
Stephen Shelton
321314b456
Remove re-propagation of introsets when we are wrong candidate
2020-03-02 15:24:41 -07:00
Jeff
2244ed8a82
Merge pull request #1153 from notlesh/release-motto-for-0.7.0-2020-03-02
...
Set release motto for v0.7.0
2020-03-02 15:15:45 -05:00
Stephen Shelton
e420bea79e
Set release motto for v0.7.0
2020-03-02 13:14:01 -07:00
Jeff
00f08ca5f9
Merge pull request #1151 from majestrate/fix-up-introset-lookup-fails-2020-03-02
...
fix up introset lookups
2020-03-02 14:07:50 -05:00
Jeff Becker
32e768d7dd
change log
2020-03-02 12:33:33 -05:00
Jeff Becker
d4ccf895e3
Merge branch 'fix-up-introset-lookup-fails-2020-03-02' of ssh://github.com/majestrate/loki-network into fix-up-introset-lookup-fails-2020-03-02
2020-03-02 12:02:58 -05:00
Jeff Becker
79746e3719
remote lookup limiting of 500ms per address
2020-03-02 12:02:21 -05:00
Stephen Shelton
9be8050854
Make format
2020-03-02 09:57:37 -07:00
Stephen Shelton
886a981997
Consolidate introset publishing constants
2020-03-02 09:57:37 -07:00
Jeff Becker
a09bb89d15
dont put multiple outbound contexts
2020-03-02 11:56:47 -05:00
Jeff Becker
d3f222ddcc
revert relay side dedup parameter
2020-03-02 11:42:26 -05:00
Stephen Shelton
bbee45118e
Remove redundant lookup logic from relays
2020-03-02 09:27:07 -07:00
Jeff Becker
158a9018f3
rename variable
2020-03-02 11:18:26 -05:00
Jeff Becker
9ff31f6402
spelling is hard
2020-03-02 11:17:50 -05:00
Jeff Becker
8f4362f092
fix up introset lookups
2020-03-02 11:12:29 -05:00
Jason Rhinelander
806d43c34e
Merge pull request #1147 from notlesh/diagnose-pubintro-round2-2020-02-28
...
Diagnose pubintro round2
2020-03-01 20:26:41 -04:00
Jason Rhinelander
d46a880150
Merge pull request #1145 from majestrate/remove-convotags-right-away-2020-02-27
...
Remove convotags right away when outbound context dies
2020-03-01 20:25:17 -04:00
Jason Rhinelander
69c9433ff8
Merge pull request #1148 from majestrate/remove-unneeded-code-2020-02-29
...
remove uneeded code
2020-03-01 20:23:18 -04:00
Jason Rhinelander
b60adc909d
Make IntroSet publish confirmed less verbose
...
Essentially just rate limit the confirmation message to one message per
second.
2020-03-01 14:04:37 -04:00
Jason Rhinelander
cfee824a79
Don't republish when we have extra paths
...
This caused some unwanted behaviour:
- on initial startup we often get two publishes in quick succession
because we're publishing and building paths at the same time
- at the 10m mark we enter a publish loop every 5 seconds because we
have paths with lifetimes < 10min that was triggering this condition,
and yet those paths will never actually be included in the introset
because they are expiring in <10m.
2020-03-01 13:56:04 -04:00
Jason Rhinelander
c0eb0c4db4
Avoid unnecessary copy
2020-03-01 13:56:04 -04:00
Jeff Becker
45fa9bebbc
wrong txid
2020-03-01 12:33:54 -05:00
Jeff Becker
e3b5fb4dd9
add local publish intro message to send reply down path
2020-03-01 12:30:05 -05:00
Jason Rhinelander
58fe7ac801
De-static constants
...
We don't need separate copies of these per compilation unit.
2020-03-01 12:40:15 -04:00
Jason Rhinelander
823c17206f
Add min intro set paths, slightly increase spread speed
...
This should ensure that we have enough shortly after startup for initial
path builds.
The spread speed here gets slightly increased to lifetime/5 (=4min)
instead of lifetime/4 (=5min) so that our "normal" number of paths is 5
with occassional momentary drops to 4, but should always keep us >= the
new minimum of 4.
Because the path spread happens over time, this shouldn't result in a
rebuild of several paths: we'll build 4 quickly, then another at +4m,
another at +8m, etc. When the initial 4 expire, we'll be dropping from
9 to 5 established but that's still above the minimum (4) so we won't
need to reconnect to several at once, and the spread builds should keep
us at 5 all the time.
2020-03-01 12:37:43 -04:00