Jason Rhinelander
bdc9c7bfa8
Move IPRange out of net.hpp; free up TruncateV6 etc.
...
- Move IPRange into its own net/ip_range.hpp
- Move the static net::IPPacket::TruncateV6, etc. functions to free
net::TruncateV6, etc. functions (now from net/ip.hpp instead of
net/ip_packet.hpp).
- Make net::TruncateV6 and net::ExpandV4 constexpr.
- Add IPRange::FromIPv4 factory function (to replace the iprange_ipv4
free function)
4 years ago
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.
5 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
5 years ago
Jeff Becker
51516f751b
return NS record for localhost.loki to squash errors in host lookups
5 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.
5 years ago
Stephen Shelton
f40ce505a8
Reduce log verbosity when DNS RR decode fails
5 years ago
Jeff Becker
1d5c712adb
monkey patch upstream dns to rewrite .loki cname answers
5 years ago
Michael
1aec0dfa2b
Move logging to subdirectory
5 years ago
Jeff Becker
2403ab8f86
ipv6
5 years ago
Jeff Becker
e060082441
hook every dns for .loki and .snode when applicable
...
make {n,h}uint{32,16}_t templated type.
5 years ago
Jeff Becker
f8edd3fbce
fix compiler warning
6 years ago
Jeff Becker
fadf519029
don't give extra record on end when nx
6 years ago
Jeff Becker
3aa0cc9d0b
address issue #510
6 years ago
Jeff Becker
2f2b841c67
disable mx record dropping
...
add servfail
6 years ago
Jeff Becker
c931ac069f
add AAAA records that return SIIT addresses
6 years ago
Ryan Tharp
22d76f7454
additional macos DNS fixes
6 years ago
Ryan Tharp
4d6451aaa2
fix mojave random.snode lookup issue #324
6 years ago
Michael
e4cf1f245c
Convert most of llarp to use Printer
6 years ago
Jeff Becker
1a283c0176
try addressing issue #324
6 years ago
Michael
a00d6afc5e
Convert llarp_buffer_t to be a class with methods
6 years ago
Jeff Becker
8c77c53675
reply with cname
6 years ago
Jeff Becker
0bbd1ecbe4
fix previous commit
6 years ago
Jeff Becker
67282f03c0
disable recursion on nxdomain responses
6 years ago
Jeff Becker
5a33d2c84a
Merge remote-tracking branch 'origin/staging' into staging
6 years ago
Jeff Becker
804df24a87
remove stray semicolin
6 years ago
Jeff Becker
a7ff62f668
set dns flags correctly (probably)
6 years ago
Ryan Tharp
fefb012bf8
fix llvm 3.8
6 years ago
Michael
f3b0af9d2f
Create CopyableBuffer type
6 years ago
Jeff Becker
9e50e2d34a
try fixing AAAA record handling, return NOERROR with no records.
6 years ago
Michael
e5eda0fb8f
Move lokinet unspecific components to a util/ library
6 years ago
Jeff Becker
be234e4b6e
* make format
...
* snode to snode direct traffic
* wire up dns on service node tun
6 years ago
Jeff Becker
bb0cd81f02
random.snode
6 years ago
Michael
85dde7b6b0
Move remaining include/llarp headers to llarp/
6 years ago
Michael
a5c3ba0fdd
Move logger.hpp to llarp/
6 years ago
Michael
d9ce493a9e
Move dns* to llarp/
6 years ago
Michael
c064893947
Move buffer.hpp to llarp/
6 years ago
Jeff
31d86ae273
class must be 1
6 years ago
Jeff
3eb78b6118
add mx record for .loki
6 years ago
Jeff Becker
e1ee2de38a
correctly encode response
6 years ago
Jeff Becker
40678f9019
add dnslib unit test coverage
6 years ago
Jeff Becker
1d1bde2e88
add dnslib
6 years ago