Commit Graph

5442 Commits

Author SHA1 Message Date
Jeff Becker
8c84eac718 strict check of bounds 2020-04-21 16:07:06 -03:00
Jeff Becker
dd9c8c91a3 add bounds check 2020-04-21 16:07:06 -03:00
Jeff Becker
91aa488024 remove un needed check 2020-04-21 16:07:06 -03:00
Jeff Becker
9933dadb20 fix use after move 2020-04-21 16:07:06 -03:00
Jeff Becker
0b66441e07 disable accedental fec in iwp outbound messages 2020-04-21 16:07:06 -03:00
Jeff Becker
9ae743a65b 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-04-21 16:07:06 -03:00
Ryan Tharp
cbb08c762e fix make static when TOOLCHAIN isn't set 2020-04-21 16:06:45 -03:00
Jeff
250a817c6e
Merge pull request #1189 from loki-project/dev
0.7.0
2020-03-16 13:03:14 -04: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
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
50514d55b7
Merge pull request #1181 from loki-project/dev
rc3
2020-03-11 20:16:27 -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
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
Jeff
0a1b016af2
Merge pull request #1165 from majestrate/libabyss-bounds-check-2020-03-05
bounds check in http headers
2020-03-05 21:11:32 -05:00
Jeff Becker
b7555fea9b
bounds check on header value 2020-03-05 19:22:08 -05:00
Jeff
ce2de9f178
Merge pull request #1164 from jagerman/asdf
Don't ignore .exe, .png, .gif
2020-03-05 19:00:55 -05:00
Jeff Becker
e8fd66ba8a
bounds check in http headers 2020-03-05 18:27:16 -05:00
Jason Rhinelander
df01127274 Don't ignore .exe, .png, .gif
These are part of the source code (in the documentation, and used in the
Windows build) so we really should still be including them.  (We can aim
at eliminating them, but should eliminate them from git, not just from
exported source).
2020-03-05 19:09:27 -04:00
Jeff
54b9934b8f
Merge pull request #1161 from loki-project/dev
0.7.0-rc2
2020-03-05 17:01:14 -05:00