Jason Rhinelander
3bb24580a4
make format
2020-05-20 19:48:13 -03:00
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)
2020-05-20 19:18:27 -03: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
bf0416cab8
remove Time_t, add operator overload for printing llarp_time_t and add to_json function for serializing llarp_time_t to json
2020-02-25 12:05:13 -05:00
Jeff Becker
d2d109e92c
llarp_time_t is now using std::chrono
2020-02-24 15:25:03 -05:00
Jeff Becker
7c0fc69ad8
use ipv6 only with ipv6 packets
2019-12-06 15:33:43 -05:00
Jeff Becker
5f9ea7b485
fix warnings and prevent bug that sends invalid traffic to user
2019-10-28 15:32:16 -04:00
Jeff Becker
1fd6b5ae74
Merge remote-tracking branch 'origin/master' into ipv6-tun
2019-07-12 09:53:52 -04:00
Michael
99798a74e1
Address Jeff's comment
2019-07-09 23:04:07 +01:00
Michael
488695047f
Remove redundant else blocks
2019-07-09 22:54:46 +01:00
Jeff Becker
5c61df08b5
Merge remote-tracking branch 'origin/master' into ipv6-tun
2019-06-20 10:35:51 -04:00
Michael
b89689fec3
Refactor path build code
2019-06-18 22:51:41 +01:00
Jeff Becker
c60099002b
reverse dns for ipv6
2019-06-12 09:48:14 -04:00
Jeff Becker
ec3ddfa425
typofixes
2019-06-11 18:29:45 -04:00
Jeff
8407c20b91
Merge branch 'ipv6-tun' into ipv6-tun
2019-06-11 17:46:47 -04:00
cathugger
72b1ea613c
make format
2019-06-12 00:28:55 +03:00
cathugger
a9dac85c28
fix stuff
2019-06-12 00:27:06 +03:00
Jeff Becker
a2d01ff2d3
fix exit traffic for v6
2019-06-11 15:57:52 -04:00
Jeff Becker
2403ab8f86
ipv6
2019-06-11 12:44:05 -04:00
Jeff Becker
982a751cea
minor tweak
2019-05-08 09:08:21 -04:00
Jeff Becker
a53da68700
start work on sighup
2019-05-07 13:46:38 -04:00
Jeff Becker
b44372bdc5
emplace queue
2019-05-07 11:08:49 -04:00
Jeff Becker
99c29cf05a
prepare for ios/android jazz
...
move to use std::shared_ptr instead of bare pointers so we can
multithread everything.
2019-04-23 10:28:59 -04:00
Michael
e33a33635c
Remove usage of raw new from service classes
2019-04-22 18:38:29 +01:00
Michael
048fa83c39
Finish replacement of Router with AbstractRouter
2019-02-14 22:31:31 +00:00
Jeff Becker
46222df421
refactor
2019-02-11 12:14:43 -05:00
Jeff Becker
e1522faeaa
add introspection rpc endpoint
2019-02-08 14:43:25 -05: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
da6cdfc0b2
More refactoring to continue to make dependency graph acylic
2019-01-15 23:15:44 +00:00
Michael
df4fd0ef56
Fix some low hanging performance issues
2019-01-07 22:15:41 +00:00
Jeff Becker
bb71f1483a
fix
2018-12-27 10:32:41 -05:00
Jeff Becker
3df8dc0f22
try fix
2018-12-27 10:31:24 -05:00
Jeff Becker
f993bd287d
dont mark exits as dead when thy arent
2018-12-27 10:18:23 -05:00
Jeff Becker
1b59cc491d
less allocations in message parsing and keep exit paths alive with activity
2018-12-27 09:32:37 -05:00
Jeff
4b2a1ea9f3
make format and attempt to fix #158
2018-12-23 08:29:11 -05:00
Michael
7a52638add
Move handlers* to llarp/
2018-12-12 02:53:01 +00:00
Michael
0a08e53bde
Move exit* to llarp/
2018-12-12 02:53:01 +00:00
Michael
f0fce5b68a
Convert llarp_router to be a true C++ class
2018-12-10 20:15:35 +00:00
Jeff Becker
622ed8d12e
fix crash on premature close of event loop (also make format)
2018-12-02 13:07:07 -05:00
Jeff Becker
79cffacafd
new exit packet buffer format
2018-11-29 16:19:20 -05:00
Jeff Becker
2d83ad4637
try tiered packing based off size of packet
2018-11-29 10:45:27 -05:00
Jeff Becker
85f9f46362
snode stubs (initial)
2018-11-29 08:12:35 -05:00
Jeff Becker
b9b7d3d1c7
better exit pad size
2018-11-28 13:18:08 -05:00
Jeff Becker
0a1712924f
flush
2018-11-28 12:58:46 -05:00
Jeff Becker
485eaa9995
correction
2018-11-28 12:33:36 -05:00
Jeff Becker
e6037ff060
pack exit traffic
2018-11-28 11:38:20 -05:00
Jeff Becker
b004b9e2a1
fix up exit logic
2018-11-28 07:32:38 -05:00
Jeff Becker
2bd2815290
don't sign traffic
2018-11-21 07:31:36 -05:00
Jeff Becker
b56b3ad16d
don't remove ip mapping when endpoints are removed
2018-11-15 17:10:12 -05:00