Commit Graph

5623 Commits

Author SHA1 Message Date
Jeff Becker
6047d578f8
fully randomize hop selection 2020-03-10 12:19:24 -04:00
Jeff
bc85082502
Merge pull request #1171 from majestrate/prune-nodedb-as-client-2020-03-08
better nodedb pruning logic
2020-03-10 11:22:34 -04:00
Jeff
a6a3d77bb4
Merge pull request #1174 from notlesh/reduce-rr-decode-fail-verbosity-2020-03-09
Reduce log verbosity when DNS RR decode fails
2020-03-09 17:47:57 -04:00
Jeff
667b76136f
Merge pull request #1173 from jagerman/ipv6-lookup-fix
Fix IPv6 lookups to return empty response
2020-03-09 17:47:46 -04:00
Jeff Becker
677e19e6a9
limit path builds on snode sessions 2020-03-09 17:31:43 -04:00
Jeff Becker
5191af1525
typo fix 2020-03-09 17:06:25 -04:00
Jeff Becker
5d86587aab
typo fix 2020-03-09 17:06:25 -04:00
Jeff Becker
bce5cd7b0f
add additional case check and documentation comments for pruning logic 2020-03-09 17:06:24 -04:00
Jeff Becker
b3f2c71617
add comment 2020-03-09 17:06:24 -04:00
Jeff Becker
d8da3f0a83
simplify logic 2020-03-09 17:06:24 -04:00
Jeff Becker
327ab6f178
prune nodedb as client and service node with no whitelist 2020-03-09 17:06:24 -04:00
Jeff Becker
51516f751b return NS record for localhost.loki to squash errors in host lookups 2020-03-09 17:48:13 -03:00
Jason Rhinelander
6715b86d51 Fix IPv6 lookups to return empty response
The logic here wasn't quite right and was returning an A record in
response to an AAAA lookup.

This returns nothing, which is better, but not quite enough: this gives
empty responses, which produces warnings in host/dig.
2020-03-09 17:48:13 -03:00
Jeff
f3d23d6fb6
strip rr from dns reply for .snode and .loki (#1172)
fix dns replies so that extra RR for edns are not included.
2020-03-09 17:47:27 -03:00
Stephen Shelton
f40ce505a8
Reduce log verbosity when DNS RR decode fails 2020-03-09 14:20:27 -06:00
Jeff
1441115d96
Merge pull request #1170 from majestrate/libabyss-memleak-2020-03-07
try fixing leak in libabyss
2020-03-09 10:57:30 -04:00
Jeff Becker
e155eb37b1
try fixing leak in libabyss 2020-03-07 16:13:50 -05:00
Thomas Winget
84a1d7dbcc clang format....... 2020-03-06 20:20:11 -05:00
Jeff
c221c2d976
Merge pull request #1163 from loki-project/xenial-cmake-upgrade
gitlab-ci: Upgrade xenial cmake (via kitware repo)
2020-03-05 15:16:54 -05:00
Jason Rhinelander
f60969a451 gitlab-ci: Upgrade xenial cmake (via kitware repo) 2020-03-05 16:15:13 -04:00
Jason Rhinelander
f7f5e3182f
Merge pull request #1074 from despair86/dev
win32 mega-patch for 0.7
2020-03-05 15:37:00 -04:00
Jason Rhinelander
b717e2ec96
Merge pull request #1162 from majestrate/fix-gitlab-ci-recursive-git-2020-03-05
make gitlab-ci use recursive git
2020-03-05 14:59:42 -04:00
Rick V
8c7332099a
remove unit tests 2020-03-05 12:49:12 -06:00
Rick V
26d1001e53
fix logging 2020-03-05 12:47:50 -06:00
Rick V
00f3c5e653
add new test suite 2020-03-05 12:47:49 -06:00
Rick V
b449e03f43
So as of GCC 9.2, std::random_device on Windows is RtlGenRandom()
....which is precisely the thing i patch out in libsodium to use CryptoAPI
documented interfaces instead (which fall through to RtlGenRandom() on
such devices _anyway_)
we can just use libsodium directly, i happened to patch it out in libstdc++
as a side effect (since my local toolchain can target any version of windows)
2020-03-05 12:47:49 -06:00
Rick V
c9f2f90e13
move these out of the way 2020-03-05 12:47:48 -06:00
Rick V
9b0ec0935a
bump for next release 2020-03-05 12:47:47 -06:00
Rick V
8e9842f4b2
bindaddr a common field on the machine-independent side 2020-03-05 12:47:46 -06:00
Rick V
db0920d921
use backport fork for release installer only
move all invariant assets to common repo

remove ded code, libuv patches can be swapped in at build time for debug/release builds
2020-03-05 12:47:46 -06:00
Rick V
b4d6f89452
try extracting dns bind addr from INI on windows 2020-03-05 12:47:45 -06:00
Rick V
bee6dc23c3
bump version 2020-03-05 12:47:45 -06:00
Rick V
593105a70b
integrate lokinet qt5 UI and make its installation conditional on underlying platform support (Windows Vista or later)
lokinet icon new
2020-03-05 12:47:36 -06:00
Jeff Becker
5c69a71ede
make gitlab-ci use recursive git 2020-03-05 10:13:23 -05:00
Jeff
fd87e5b02b
Merge pull request #1051 from neuroscr/neuroci
CI Updates, Build linux static tarballs automation
2020-03-05 10:11:01 -05:00
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
Thomas Winget
695784b2b6 more hive things
DHT PubIntroSentEvent
some helper functions added to RouterHive (C++ class) as well as RouterHive(Python class)
hive.py main() continues to be a testbed for new event types
some more internal classes in pybind
2020-03-04 00:57:26 -05:00
Thomas Winget
6d472d2423 rc gossip delay adjustment for hive
allows enough time for every relay (at least in a hive of 50) to connect
to the bootstrap node so all will get all gossips, but not too long so
tests can run relatively quickly.
2020-03-04 00:54:30 -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
Thomas Winget
6fc05ca1ff RCGossipSentEvent 2020-03-03 19:57:09 -05:00
Thomas Winget
7e0e8ab7bf hive.py upgrades, now with more cli args! 2020-03-03 19:57:09 -05:00
Thomas Winget
f01624d10a 2ms between hive router spin-up instead of 20ms 2020-03-03 19:57:09 -05:00
Thomas Winget
a58a8c9a61 hive.py now defaults to 1000 relays because f your box.
also check for error on uv_async_init...

may want to `ulimit -Sn $(ulimit -Hn)`...
2020-03-03 19:57:09 -05:00