Jeff
928b501da1
Merge pull request #1207 from majestrate/remove-unused-headers-2020-04-01
...
remove unused headers
2020-04-01 12:39:11 -04:00
Jeff Becker
9a1050bbe7
remove unused headers
2020-04-01 08:00:24 -04:00
Jeff
d3c3aebeaf
Merge pull request #1194 from majestrate/disable-iwp-fec-2020-03-23
...
disable accedental fec in iwp outbound messages
2020-03-31 09:31:43 -04:00
Jeff Becker
3b424f76f1
strict check of bounds
2020-03-31 09:26:39 -04:00
Jeff
007e4239a9
Merge pull request #1198 from majestrate/inbound-dns-hotfix-2020-03-28
...
dont request descriptors for inbound sessions
2020-03-30 10:13:35 -04:00
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
2020-03-28 16:26:16 -04:00
Jeff
375b09486e
Merge pull request #1196 from majestrate/lokinetmon-update-2020-03-24
...
update lokinetmon to work again with dns rebinding protection
2020-03-24 11:43:07 -04:00
Jeff Becker
510053cbce
update lokinetmon to work again with dns rebinding protection
2020-03-24 11:12:41 -04:00
Jeff
b66eebc917
Merge pull request #1195 from majestrate/remove-cruft-2020-03-24
...
remove unused cruft
2020-03-24 11:02:27 -04:00
Jeff Becker
e8c5a62ee8
remove unused cruft
2020-03-24 10:44:04 -04:00
Jeff Becker
b398076bc6
add bounds check
2020-03-23 13:38:14 -04:00
Jeff Becker
b96700579e
remove un needed check
2020-03-23 13:28:44 -04:00
Jeff Becker
53e7397935
fix use after move
2020-03-23 13:20:32 -04:00
Jeff Becker
769bafd281
disable accedental fec in iwp outbound messages
2020-03-23 12:48:25 -04:00
Jason Rhinelander
fcf6f7119f
Merge pull request #1192 from loki-project/neuroscr-mar2020-staticfix
...
fix make static when TOOLCHAIN isn't set
2020-03-18 01:56:08 -03:00
Ryan Tharp
24cd9ca57d
fix make static when TOOLCHAIN isn't set
2020-03-17 21:54:38 -07:00
Jeff
b1f036bb7f
Merge pull request #1188 from majestrate/call-jsonrpc-server-cleanup-2020-03-16
...
fix memleak in jsonrpc
2020-03-16 10:15:41 -04:00
Jeff Becker
1e434c03f8
cleanup
2020-03-16 10:04:33 -04:00
Jeff Becker
d1f8752b7c
fix memleak in jsonrpc
...
llarp_tcp_acceptor ticker wasn't being called so connections where not
being cleaned up
2020-03-16 09:25:46 -04:00
Jeff
03da1d7d8f
Merge pull request #1187 from majestrate/future-proof-intro-sets-2020-03-14
...
discard unknown fields in introset for future use
2020-03-15 13:05:51 -04:00
jeff
7089996ac5
discard unknown fields in introset for future use
2020-03-14 14:52:05 -04:00
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.
2020-03-12 13:51:57 -06:00
Stephen Shelton
4c6be3c8d1
Add PathBuildRejectedEvent to RouterHive
2020-03-12 12:01:54 -06:00
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.
2020-03-12 11:50:46 -06:00
Jeff
9ccaed71a5
Merge pull request #1183 from majestrate/add-random-snode-a-record-dns-2020-03-12
...
add an A Record for random.snode so that it works
2020-03-12 11:03:55 -04:00
Jeff Becker
4452b152aa
add an A Record for random.snode so that it works
2020-03-12 08:19:37 -04:00
Jeff
ec2f6912d8
Merge pull request #1168 from majestrate/inter-node-commit-fixes-2020-03-07
...
Dont rely on operator[] side effects
2020-03-11 18:09:17 -04:00
Jeff Becker
7ba30eec25
squash commits
2020-03-11 16:55:12 -04:00
Jeff
ac80357552
Merge pull request #1175 from majestrate/limit-snode-session-build-rate-2020-03-09
...
limit path builds on snode sessions
2020-03-11 16:49:58 -04:00
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
2020-03-11 17:45:48 -03:00
Jeff
c19c83a442
Merge pull request #1179 from majestrate/comparision-fix-2020-03-11
...
fix comparison
2020-03-11 16:37:57 -04:00
Jeff Becker
a1e8500035
use for loop
2020-03-11 16:25:19 -04:00
Jeff Becker
1ea210ace6
typo fix
2020-03-11 16:18:17 -04:00
Jeff
bf82740c08
only try fetching identity key once so we can interrupt lokinet ( #1178 )
2020-03-11 13:05:46 -03:00
Jeff
c6fd007688
Merge pull request #1176 from majestrate/randomize-hop-selection-more-2020-03-10
...
fully randomize hop selection
2020-03-11 10:18:12 -04:00
Jeff Becker
9cdc7f498d
remove dead code
2020-03-11 10:12:29 -04:00
Jeff Becker
69126c67df
code dedup
2020-03-11 10:08:53 -04:00
Stephen Shelton
6664202868
Add FindRouterSentEvent and FindRouterReceivedEvent to RouterHive
2020-03-10 12:12:11 -06:00
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