Thomas Winget
8f0330c9f2
std::vector instead of std::array
4 years ago
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.
4 years ago
Thomas Winget
c2a30692cf
Implement upstream DNS using libunbound
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 Becker
9c30ff7a26
handle snode and clean up codepath for hooked dns
5 years ago
Jeff Becker
d2be8ac384
fix issue #894
5 years ago
Michael
edd0ec398f
Move thread stuff to subdirectory
5 years ago
Michael
16cdfbd5f0
clang-tidy modernize pass
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
0529e45ebe
more
5 years ago
Michael
4143472a17
Add cmake module to target a library as 'system', and fix a few warnings
5 years ago
Jeff Becker
e178a70929
use shared_ptr for event loop
6 years ago
Michael
7ca3e13e78
Rename to ManagedBuffer
6 years ago
Michael
f3b0af9d2f
Create CopyableBuffer type
6 years ago
Michael
a3463120cc
Move net components into a distinct folder
6 years ago
Michael
081d4dfa32
Reorganise source into more folders
6 years ago
Michael
e5eda0fb8f
Move lokinet unspecific components to a util/ library
6 years ago
Michael
df4fd0ef56
Fix some low hanging performance issues
6 years ago
Jeff Becker
2a678f47c4
fix previous commit
6 years ago
Jeff Becker
be1e78ca5d
make it compile
6 years ago
Michael
85dde7b6b0
Move remaining include/llarp headers to llarp/
6 years ago
Michael
d9ce493a9e
Move dns* to llarp/
6 years ago