Ryan Tharp
6738fcaa6a
make sure iptracker is configured on start
2018-10-04 11:20:52 -04:00
Ryan Tharp
1efb68e9cd
pass tracker into dns_iptracker_setup
2018-10-04 11:20:34 -04:00
Jeff Becker
497c8c7d66
fix config
2018-10-04 09:56:06 -04:00
Jeff Becker
13a9ff7e5a
make configs generate sane defaults
2018-10-04 09:55:29 -04:00
Jeff Becker
a07b9b18d1
fix segfault
2018-10-04 09:21:05 -04:00
Jeff Becker
b724cc54fe
Merge remote-tracking branch 'ryan/master'
2018-10-04 09:04:57 -04:00
Jeff Becker
34f8a47056
update protocol docs for future
2018-10-04 09:03:59 -04:00
Jeff Becker
f19f78b573
try better handover logic
2018-10-04 09:03:48 -04:00
Jeff Becker
a3001dfe1d
fix timestamps, revert to old behavior
2018-10-04 09:02:03 -04:00
Ryan Tharp
b4dbca680a
Merge branch 'master' of https://github.com/loki-project/loki-network
2018-10-04 08:31:47 +00:00
Jeff
6b9900de4f
Merge branch 'master' of ssh://github.com/loki-project/loki-network
2018-10-03 14:21:43 -04:00
Jeff
8cc507f9ac
don't hang :DDDDDD
2018-10-03 14:17:34 -04:00
Ryan Tharp
f4c5999852
Merge branch 'master' of https://github.com/loki-project/loki-network
2018-10-03 11:46:24 +00:00
Jeff Becker
0b0278a312
we don't use crypto_async anymore
2018-10-03 07:02:56 -04:00
Ryan Tharp
bcbaf47adf
ShouldCreateDefaultHiddenService(), auto mode for defaultIfAddr & defaultIfName, favor llarp::Addr, guards, NAT with no bindings fix, actually name ifname set ifname
2018-10-03 04:01:42 -07:00
Ryan Tharp
cc42e8e623
guard, rename endpoint to context, main_router_endpoint_iterator() implementation
2018-10-03 04:00:47 -07:00
Jeff Becker
8e30af6619
forgot file
2018-10-03 07:00:42 -04:00
Jeff Becker
8f98ef3e28
forgot file
2018-10-03 07:00:30 -04:00
Ryan Tharp
604c44e191
use llarp::Addr, added some guards
2018-10-03 03:59:49 -07:00
Jeff Becker
1f02498fc0
code for disabling default hidden service
2018-10-03 06:59:30 -04:00
Jeff Becker
91becb93c9
try fixing dht
2018-10-03 06:59:06 -04:00
Ryan Tharp
6bfd55f3f4
fix headers, clang-format, favor llarp::Addr
2018-10-03 03:54:12 -07:00
Ryan Tharp
f032a83e37
use llarp::Addr to store local private ip
2018-10-03 03:52:00 -07:00
Ryan Tharp
c40d5f4c4d
notes and guard
2018-10-03 03:49:57 -07:00
Ryan Tharp
a0082e95bb
change dll from tunEndpoint to router hidden service context, const some unchanging ptrs, use llarp::Addr more
2018-10-03 03:48:31 -07:00
Ryan Tharp
8f32f357c2
hasEndpoints(), mapAddressAll_context(), iterate(), MappAddressAllIter()
2018-10-03 03:44:58 -07:00
Ryan Tharp
429927187a
refactored detect into net.cpp, clang-format
2018-10-03 03:42:44 -07:00
Ryan Tharp
a0aa363365
doesn't make sense to pass by value
2018-10-03 03:42:12 -07:00
Ryan Tharp
a24c36a497
clang-format
2018-10-03 03:41:36 -07:00
Ryan Tharp
ec2aaa533f
pretty sure this a clang-format
2018-10-03 03:40:32 -07:00
Ryan Tharp
48d9a38534
getSockAddr(), findFreePrivateRange(), findFreeLokiTunIfName()
2018-10-03 03:35:39 -07:00
Ryan Tharp
50a87f605e
new log level: none
2018-10-03 03:34:43 -07:00
Ryan Tharp
f824ac8701
enable dotLokiLookup through router tun endpoint dnsd
2018-10-03 03:33:58 -07:00
Ryan Tharp
ce02a37b1c
clang-format
2018-10-03 03:33:28 -07:00
Ryan Tharp
4b3b09736b
Merge branch 'master' of https://github.com/loki-project/loki-network
2018-10-02 23:11:44 +00:00
Jeff
acc03fcad7
add default hidden service endpoint for clients
2018-10-02 13:35:51 -04:00
Jeff
b7eea47336
fall through
2018-10-02 11:41:40 -04:00
Jeff
a9eeb7fed9
meh
2018-10-02 11:33:01 -04:00
Jeff
1d41d93fd0
fix linux
2018-10-02 11:32:07 -04:00
Jeff
77b2903bda
logging and add DST awareness to timestamps
2018-10-02 11:29:37 -04:00
Jeff
f3d446dafb
handover logic fix, remove and add logging
2018-10-02 11:00:34 -04:00
Jeff
dbeead03f3
fix kqueue build
2018-10-02 10:29:46 -04:00
despair86
991c1d8fce
fix
2018-10-01 15:19:26 -05:00
despair86
19b7f47322
bug: if we have only one network interface, then terminate the linked list with nullptr
...
otherwise, the windows build will crash
2018-10-01 15:08:56 -05:00
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?
2018-10-01 15:08:55 -05:00
despair86
faf6022288
rip ms c++
2018-10-01 15:08:55 -05:00
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)
2018-10-01 15:08:55 -05:00
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
2018-10-01 15:08:52 -05:00
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
2018-10-01 15:06:07 -05:00
despair86
7f809eb53b
fix windows build
2018-10-01 15:06:07 -05:00