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
aee96e53a3
Refactor Addr -> IpAddress/SockAddr
4 years ago
Jason Rhinelander
1697bf90fe
C++17
...
Compiles with C++17, replaces ghc::filesystem with std::filesystem,
nonstd::optional with std::optional, and llarp::string_view with
std::string_view.
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
9c30ff7a26
handle snode and clean up codepath for hooked dns
5 years ago
Jeff Becker
1d5c712adb
monkey patch upstream dns to rewrite .loki cname answers
5 years ago
Jason Rhinelander
f84ce61d66
Removed empty cpp files
...
These aren't needed: CMake already knows how to follow #includes and
rebuild when headers change as long as the headers are included
*somewhere*. The extra .cpp files here just require building a bunch of
.cpp files with just header content that we just end up throw away
during linking (since the same things will also be compiled in whatever
other compilation units include the same headers).
5 years ago
Jeff Becker
fcf0ae2b9e
prune unused files.
5 years ago
Jeff Becker
56dce90de9
add trace log level for tracking logic thread jobs
5 years ago
Jeff
9ace1b2398
Merge pull request #870 from majestrate/disable-doh-using-isp-backdoor-provided-by-mozilla-thanks-from-nsa
...
disable DoH
5 years ago
Jeff Becker
d2be8ac384
fix issue #894
5 years ago
Jeff Becker
bd07845dd3
make format
5 years ago
jeff
37d7f2b1e7
disable DoH using mozilla's ISP backdoor record.
5 years ago
Michael
edd0ec398f
Move thread stuff to subdirectory
5 years ago
Michael
1aec0dfa2b
Move logging to subdirectory
5 years ago
Michael
16cdfbd5f0
clang-tidy modernize pass
5 years ago
Jeff Becker
1fd6b5ae74
Merge remote-tracking branch 'origin/master' into ipv6-tun
5 years ago
Michael
488695047f
Remove redundant else blocks
5 years ago
Jeff Becker
c60099002b
reverse dns for ipv6
5 years ago
Jeff Becker
2403ab8f86
ipv6
5 years ago
Jeff Becker
b679dd7341
fixit
5 years ago
Jeff Becker
c355d37beb
use limited size queue for logic and singled threaded threadpool
5 years ago
Jeff Becker
64c7ed42fc
make format
5 years ago
Jeff Becker
9c96aecf3f
move llarp::Logic to std::shared_ptr
...
add sequence numbers to HSD messages
begin work on network isolation code
add more docs
5 years ago
Jeff Becker
92ad98be8b
refactor hooks to be have more c++isms
...
make path build timeouts use log level warning
5 years ago
Jeff Becker
241dba0476
fix dns for smaller domains
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
01906c5d94
Merge remote-tracking branch 'origin/master'
6 years ago
Jeff Becker
fea64eaf12
handle subdomains
6 years ago
Jeff Becker
d20ba9ceab
handle subdomains
6 years ago
Michael
9ee525a006
Fix shadowing warnings
6 years ago
Jeff Becker
0529e45ebe
more
6 years ago
Jeff Becker
af1529fa72
Merge remote-tracking branch 'origin/master'
6 years ago
Michael
4143472a17
Add cmake module to target a library as 'system', and fix a few warnings
6 years ago
Jeff Becker
8484e29c9b
turn more stuff into std::shared_ptr
...
remove dead codepaths
6 years ago
Jeff Becker
3a8cb0bfb5
add shell based hooks for service::Endpoint, also make format
6 years ago
michael-loki
0195152e05
Allow builds on MSVC ( #518 )
...
* Import cxxopts to replace getopts usage
* Add visual studio build things
* Fixup abseil build parts
* Replace __attribute__((unused)) with ABSL_ATTRIBUTE_UNUSED
* Fixup minor windows build issues
* Replace getopts usage
* Temporarily fixup .rc files
* More minor windows fixes
* Get a working build
* Revert .rc files
* Revert changes to nodedb
6 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
7f25b62ef5
remove adding of defaults to upstream dns resolvers
6 years ago
Jeff Becker
e178a70929
use shared_ptr for event loop
6 years ago
Jeff Becker
1922221c3d
permit no upstream resolvers and send servfail if we have none
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
Jeff Becker
567efb9a92
Revert "move is_random_snode/is_localhost_loki into dns, llarp_HandleHookedDNSMessage() attempt at unification refactor between exit/tun handlers"
...
This reverts commit e388dc47eb
.
6 years ago