Thomas Winget
8f0330c9f2
std::vector instead of std::array
2020-06-15 18:32:57 -04:00
Thomas Winget
b875d40491
restructure how upstream dns replies are handled
...
llarp::dns::Message does not fully support DNS packets,
so converting the upstream response to one will not work
for all query types. Also it is kinda silly to begin with,
as the upstream reply is already a network packet, ready to go.
2020-06-15 18:32:57 -04:00
Thomas Winget
221e9ff5de
make format
2020-06-15 18:32:57 -04:00
Thomas Winget
c2a30692cf
Implement upstream DNS using libunbound
2020-06-15 18:32:57 -04:00
Stephen Shelton
aee96e53a3
Refactor Addr -> IpAddress/SockAddr
2020-05-06 14:38:44 -06:00
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.
2020-04-07 12:38:56 -06:00
Jeff Becker
1d5c712adb
monkey patch upstream dns to rewrite .loki cname answers
2020-02-25 17:43:08 -05:00
Jeff Becker
56dce90de9
add trace log level for tracking logic thread jobs
2019-11-22 16:23:19 -05:00
Jeff
9ace1b2398
Merge pull request #870 from majestrate/disable-doh-using-isp-backdoor-provided-by-mozilla-thanks-from-nsa
...
disable DoH
2019-11-01 10:54:00 -04:00
Jeff Becker
d2be8ac384
fix issue #894
2019-11-01 09:40:31 -04:00
Jeff Becker
bd07845dd3
make format
2019-10-28 10:44:56 -04:00
jeff
37d7f2b1e7
disable DoH using mozilla's ISP backdoor record.
2019-10-21 09:32:24 -04:00
Michael
edd0ec398f
Move thread stuff to subdirectory
2019-09-03 20:52:28 +01:00
Michael
16cdfbd5f0
clang-tidy modernize pass
2019-08-12 16:52:58 +01:00
Jeff Becker
b679dd7341
fixit
2019-05-22 13:38:02 -04:00
Jeff Becker
c355d37beb
use limited size queue for logic and singled threaded threadpool
2019-05-22 13:18:19 -04:00
Jeff Becker
64c7ed42fc
make format
2019-05-22 12:20:50 -04:00
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
2019-05-22 12:20:03 -04:00
Jeff Becker
7f25b62ef5
remove adding of defaults to upstream dns resolvers
2019-04-09 12:03:59 -04:00
Jeff Becker
e178a70929
use shared_ptr for event loop
2019-04-08 08:01:52 -04:00
Jeff Becker
1922221c3d
permit no upstream resolvers and send servfail if we have none
2019-04-05 12:46:11 -04:00
Ryan Tharp
fefb012bf8
fix llvm 3.8
2019-02-04 16:29:09 -08:00
Michael
7ca3e13e78
Rename to ManagedBuffer
2019-02-03 00:48:10 +00:00
Michael
f3b0af9d2f
Create CopyableBuffer type
2019-02-02 23:21:35 +00:00
Michael
79157414f3
Split crypto.hpp into 3 different files
2019-01-13 16:32:51 +00:00
Michael
d9ce493a9e
Move dns* to llarp/
2018-12-12 02:53:01 +00:00
Michael
7be452092c
Convert llarp_crypto to be a true C++ class
2018-12-11 00:53:55 +00:00
Jeff Becker
ebb42ca46f
fix previous commit
2018-12-04 11:37:15 -05:00
Jeff Becker
c27b7c2858
separate client/server in dns proxy
2018-12-04 11:35:25 -05:00
Jeff Becker
40678f9019
add dnslib unit test coverage
2018-12-04 11:16:43 -05:00
Jeff Becker
1d1bde2e88
add dnslib
2018-12-03 17:22:59 -05:00