Commit Graph

3579 Commits (273270916ea33b096753c5ad316f46a8268761bd)

Author SHA1 Message Date
Stephen Shelton 273270916e
The Great Wall of Blame
This commit reflects changes to clang-format rules. Unfortunately,
these rule changes create a massive change to the codebase, which
causes an apparent rewrite of git history.

Git blame's --ignore-rev flag can be used to ignore this commit when
attempting to `git blame` some code.
4 years ago
Jeff Becker 4375df2f7d
add forgotten files for generating docs 4 years ago
Jeff Becker c36b6a409c
move version to cmake so docs can access it 4 years ago
Jeff Becker 3e7acb72e1
more docs, make doxygen work 4 years ago
Jeff d3091cf9fc
Merge pull request #1167 from tewinget/tooling
RouterHive initial PR
4 years ago
Jeff Becker 2190da8c81
cpack win32 4 years ago
Jeff d3c3aebeaf
Merge pull request #1194 from majestrate/disable-iwp-fec-2020-03-23
disable accedental fec in iwp outbound messages
4 years ago
Jeff Becker 3b424f76f1
strict check of bounds 4 years ago
Jeff Becker 67883aa945
when we have an inbound session and we do a forward dns lookup
we should not look up the descriptor on the network as we
already have a session with them
4 years ago
Jeff Becker b398076bc6
add bounds check 4 years ago
Jeff Becker b96700579e
remove un needed check 4 years ago
Jeff Becker 53e7397935
fix use after move 4 years ago
Jeff Becker 769bafd281
disable accedental fec in iwp outbound messages 4 years ago
Jeff b1f036bb7f
Merge pull request #1188 from majestrate/call-jsonrpc-server-cleanup-2020-03-16
fix memleak in jsonrpc
4 years ago
Jeff Becker 1e434c03f8
cleanup 4 years ago
Jeff Becker d1f8752b7c
fix memleak in jsonrpc
llarp_tcp_acceptor ticker wasn't being called so connections where not
being cleaned up
4 years ago
jeff 7089996ac5 discard unknown fields in introset for future use 4 years ago
Stephen Shelton 8a12da8bd5
Remove some .cpp files related to RouterEvents
The motivation is to reduce the raw amount of code required to create
and maintain events.
4 years ago
Stephen Shelton 4c6be3c8d1
Add PathBuildRejectedEvent to RouterHive 4 years ago
Stephen Shelton ea835405c5
Refactor NotifyRouterEvent() to forward args, event code cleanup
This template-ifies Router::NotifyRouterEvent() up so that it accepts
the arguments to instantiate the specified event type, forwarding them
to std::make_unique. This would allow (in the future) the function to
no-op the call and avoid memory allocation. It also slightly reduces
the amount of code required to fire an event.

This commit also simplifies some of the RouterEvent code to reduce
redundancy.
4 years ago
Jeff Becker 4452b152aa
add an A Record for random.snode so that it works 4 years ago
Jeff Becker 7ba30eec25
squash commits 4 years ago
Jeff ac80357552
Merge pull request #1175 from majestrate/limit-snode-session-build-rate-2020-03-09
limit path builds on snode sessions
4 years ago
Jeff 3f4b2a53fa
add additional case (#1180)
* add additional case for if we are near the end and all elements are in the exlcude set

* fix stop condition in second loop
4 years ago
Jeff Becker a1e8500035
use for loop 4 years ago
Jeff Becker 1ea210ace6
typo fix 4 years ago
Jeff bf82740c08
only try fetching identity key once so we can interrupt lokinet (#1178) 4 years ago
Jeff c6fd007688
Merge pull request #1176 from majestrate/randomize-hop-selection-more-2020-03-10
fully randomize hop selection
4 years ago
Jeff Becker 9cdc7f498d
remove dead code 4 years ago
Jeff Becker 69126c67df
code dedup 4 years ago
Stephen Shelton 6664202868
Add FindRouterSentEvent and FindRouterReceivedEvent to RouterHive 4 years ago
Jeff Becker 6047d578f8
fully randomize hop selection 4 years ago
Jeff bc85082502
Merge pull request #1171 from majestrate/prune-nodedb-as-client-2020-03-08
better nodedb pruning logic
4 years ago
Jeff a6a3d77bb4
Merge pull request #1174 from notlesh/reduce-rr-decode-fail-verbosity-2020-03-09
Reduce log verbosity when DNS RR decode fails
4 years ago
Jeff Becker 677e19e6a9
limit path builds on snode sessions 4 years ago
Jeff Becker 5191af1525
typo fix 4 years ago
Jeff Becker 5d86587aab
typo fix 4 years ago
Jeff Becker bce5cd7b0f
add additional case check and documentation comments for pruning logic 4 years ago
Jeff Becker b3f2c71617
add comment 4 years ago
Jeff Becker d8da3f0a83
simplify logic 4 years ago
Jeff Becker 327ab6f178
prune nodedb as client and service node with no whitelist 4 years ago
Jeff Becker 51516f751b return NS record for localhost.loki to squash errors in host lookups 4 years ago
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.
4 years ago
Jeff f3d23d6fb6
strip rr from dns reply for .snode and .loki (#1172)
fix dns replies so that extra RR for edns are not included.
4 years ago
Stephen Shelton f40ce505a8
Reduce log verbosity when DNS RR decode fails 4 years ago
Thomas Winget 84a1d7dbcc clang format....... 4 years ago
Rick V 26d1001e53
fix logging 4 years ago
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)
4 years ago
Rick V c9f2f90e13
move these out of the way 4 years ago
Rick V 9b0ec0935a
bump for next release 4 years ago