Commit Graph

55 Commits (c4e983da3fbeb015a7a8a1106dd9ec144e293910)

Author SHA1 Message Date
Jason Rhinelander 3bb24580a4 make format 4 years ago
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 Becker bf0416cab8
remove Time_t, add operator overload for printing llarp_time_t and add to_json function for serializing llarp_time_t to json 5 years ago
Jeff Becker d2d109e92c
llarp_time_t is now using std::chrono 5 years ago
Jeff Becker 7c0fc69ad8
use ipv6 only with ipv6 packets 5 years ago
Jeff Becker 5f9ea7b485
fix warnings and prevent bug that sends invalid traffic to user 5 years ago
Jeff Becker 1fd6b5ae74
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Michael 99798a74e1
Address Jeff's comment 5 years ago
Michael 488695047f
Remove redundant else blocks 5 years ago
Jeff Becker 5c61df08b5
Merge remote-tracking branch 'origin/master' into ipv6-tun 5 years ago
Michael b89689fec3
Refactor path build code 5 years ago
Jeff Becker c60099002b
reverse dns for ipv6 5 years ago
Jeff Becker ec3ddfa425
typofixes 5 years ago
Jeff 8407c20b91
Merge branch 'ipv6-tun' into ipv6-tun 5 years ago
cathugger 72b1ea613c
make format 5 years ago
cathugger a9dac85c28
fix stuff 5 years ago
Jeff Becker a2d01ff2d3
fix exit traffic for v6 5 years ago
Jeff Becker 2403ab8f86
ipv6 5 years ago
Jeff Becker 982a751cea
minor tweak 5 years ago
Jeff Becker a53da68700
start work on sighup 5 years ago
Jeff Becker b44372bdc5
emplace queue 5 years ago
Jeff Becker 99c29cf05a
prepare for ios/android jazz
move to use std::shared_ptr instead of bare pointers so we can
multithread everything.
6 years ago
Michael e33a33635c
Remove usage of raw new from service classes 6 years ago
Michael 048fa83c39
Finish replacement of Router with AbstractRouter 6 years ago
Jeff Becker 46222df421
refactor 6 years ago
Jeff Becker e1522faeaa
add introspection rpc endpoint 6 years ago
Michael 7ca3e13e78
Rename to ManagedBuffer 6 years ago
Michael f3b0af9d2f
Create CopyableBuffer type 6 years ago
Michael da6cdfc0b2
More refactoring to continue to make dependency graph acylic 6 years ago
Michael df4fd0ef56
Fix some low hanging performance issues 6 years ago
Jeff Becker bb71f1483a
fix 6 years ago
Jeff Becker 3df8dc0f22
try fix 6 years ago
Jeff Becker f993bd287d
dont mark exits as dead when thy arent 6 years ago
Jeff Becker 1b59cc491d
less allocations in message parsing and keep exit paths alive with activity 6 years ago
Jeff 4b2a1ea9f3 make format and attempt to fix #158 6 years ago
Michael 7a52638add
Move handlers* to llarp/ 6 years ago
Michael 0a08e53bde
Move exit* to llarp/ 6 years ago
Michael f0fce5b68a
Convert llarp_router to be a true C++ class 6 years ago
Jeff Becker 622ed8d12e
fix crash on premature close of event loop (also make format) 6 years ago
Jeff Becker 79cffacafd
new exit packet buffer format 6 years ago
Jeff Becker 2d83ad4637
try tiered packing based off size of packet 6 years ago
Jeff Becker 85f9f46362
snode stubs (initial) 6 years ago
Jeff Becker b9b7d3d1c7
better exit pad size 6 years ago
Jeff Becker 0a1712924f
flush 6 years ago
Jeff Becker 485eaa9995
correction 6 years ago
Jeff Becker e6037ff060
pack exit traffic 6 years ago
Jeff Becker b004b9e2a1
fix up exit logic 6 years ago
Jeff Becker 2bd2815290
don't sign traffic 6 years ago
Jeff Becker b56b3ad16d
don't remove ip mapping when endpoints are removed 6 years ago