Ryan Tharp
6bfd55f3f4
fix headers, clang-format, favor llarp::Addr
6 years ago
Ryan Tharp
f032a83e37
use llarp::Addr to store local private ip
6 years ago
Ryan Tharp
c40d5f4c4d
notes and guard
6 years ago
Ryan Tharp
a0082e95bb
change dll from tunEndpoint to router hidden service context, const some unchanging ptrs, use llarp::Addr more
6 years ago
Ryan Tharp
8f32f357c2
hasEndpoints(), mapAddressAll_context(), iterate(), MappAddressAllIter()
6 years ago
Ryan Tharp
429927187a
refactored detect into net.cpp, clang-format
6 years ago
Ryan Tharp
a0aa363365
doesn't make sense to pass by value
6 years ago
Ryan Tharp
a24c36a497
clang-format
6 years ago
Ryan Tharp
ec2aaa533f
pretty sure this a clang-format
6 years ago
Ryan Tharp
48d9a38534
getSockAddr(), findFreePrivateRange(), findFreeLokiTunIfName()
6 years ago
Ryan Tharp
50a87f605e
new log level: none
6 years ago
Ryan Tharp
f824ac8701
enable dotLokiLookup through router tun endpoint dnsd
6 years ago
Ryan Tharp
ce02a37b1c
clang-format
6 years ago
Ryan Tharp
4b3b09736b
Merge branch 'master' of https://github.com/loki-project/loki-network
6 years ago
Jeff
acc03fcad7
add default hidden service endpoint for clients
6 years ago
Jeff
b7eea47336
fall through
6 years ago
Jeff
a9eeb7fed9
meh
6 years ago
Jeff
1d41d93fd0
fix linux
6 years ago
Jeff
77b2903bda
logging and add DST awareness to timestamps
6 years ago
Jeff
f3d446dafb
handover logic fix, remove and add logging
6 years ago
Jeff
dbeead03f3
fix kqueue build
6 years ago
despair86
991c1d8fce
fix
6 years ago
despair86
19b7f47322
bug: if we have only one network interface, then terminate the linked list with nullptr
...
otherwise, the windows build will crash
6 years ago
despair86
2fdc7ae8a8
temporarily removed avx2 fixes for want of further testing
...
hmm it allows the compiler to pick fpu regs on its own, but is it _truly_ equivalent to the asm code?
6 years ago
despair86
faf6022288
rip ms c++
6 years ago
despair86
9fdde65798
make bencode ILP32/LLP64 clean (long is 32 bits outside of unix!)
...
actually open new RCs in binary mode
clang-format
win32 skeleton code for tun (still working on the guts)
6 years ago
despair86
8ac7d4f6dc
if we didn't specify a path to save our config in, only create .lokinet on the assumption that $HOME or $APPDATA (on NT) already exist
...
add win32 tun glue, fix llarp timebase
(In fact, _both_ of these are guaranteed to exist on their respective platforms.)
also, tuntap is now wired up to the windows port
6 years ago
despair86
e3a94101b4
the AVX2 codepaths now appear to be 32-bit clean.
...
old hard-coded inline asm is still included if requested.
-rick
nb: is a vector of eight floats not the same layout as a simple linear array of same? (Aside from the alignment requirements)
netbsd-family build fixes, also - the AVX2 codepaths are _compiler-specific_, they use features _exclusive_ to gcc and clang
6 years ago
despair86
7f809eb53b
fix windows build
6 years ago
despair86
8117960843
found more unix exclusive stuff
6 years ago
despair86
7c5d98ca31
clean up win32 build rules
6 years ago
Jeff Becker
0f7c7c871f
reduce log levels and don't establish outbound send context for previously made inbound sessions
6 years ago
Jeff Becker
23cff0bee3
try fixing all that tun shit, YOLO
6 years ago
Jeff Becker
8aa0d0d4a8
try fixing tun writing
6 years ago
Jeff Becker
9e8563a884
cache convo tag and drop traffic
6 years ago
Jeff Becker
1eef5387b6
update introset on message drop
6 years ago
Jeff Becker
681e669fd8
try better publish logic and timeouts for requests
6 years ago
Ryan Tharp
47d71c601c
fix another overwrite
6 years ago
Ryan Tharp
4cc482764d
clang format
6 years ago
Ryan Tharp
46f6d005d7
minor cleanup
6 years ago
Ryan Tharp
c11e61a51d
add -c for client auto-config, -f for overwrite
6 years ago
Ryan Tharp
fb9b60bd16
clang-format
6 years ago
Ryan Tharp
e890ef2e5b
ensure_config split router/client refactor, move C++ stuff to .hpp
6 years ago
Ryan Tharp
058ed4d4ea
Merge branch 'master' of https://github.com/neuroscr/loki-network
6 years ago
Jeff
4158e422bb
don't store introsets when forwarding a request
6 years ago
Jeff
a168c81a75
make mac tun work
6 years ago
Jeff
e50cbf5acb
Merge branch 'master' of ssh://github.com/loki-project/loki-network
6 years ago
Jeff Becker
f6c812a642
include packet info in tun but discard it so that tun can work on platforms
...
that include packet info
6 years ago
Jeff Becker
138c222a1a
dns port configurable at compile time (make this configurable on runtime plz)
6 years ago
Jeff Becker
2b8bd11f5e
ping less and try not to double free in llarp_router::SendToOrQueue
6 years ago