Jeff Becker
832e1849b2
remove log and swap intros
2018-10-04 14:15:22 -04:00
Jeff Becker
98df3b09f2
only use good routers
2018-10-04 13:51:45 -04:00
Jeff Becker
ab306b70bb
try closing session correctly
2018-10-04 13:41:23 -04:00
Jeff Becker
d71f0db2a5
more vigorous profiling
2018-10-04 13:34:26 -04:00
Jeff Becker
746e95994e
stricter profiling and better handover
2018-10-04 12:48:26 -04:00
Jeff Becker
a8f7a26c00
fix timestamps
2018-10-04 11:36:46 -04:00
Jeff Becker
1146bb34ac
make dns work
2018-10-04 11:34:31 -04:00
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
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
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
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
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
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
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
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
7f809eb53b
fix windows build
2018-10-01 15:06:07 -05:00
despair86
7c5d98ca31
clean up win32 build rules
2018-10-01 15:06:06 -05:00
Jeff Becker
0f7c7c871f
reduce log levels and don't establish outbound send context for previously made inbound sessions
2018-10-01 14:10:25 -04:00
Jeff Becker
23cff0bee3
try fixing all that tun shit, YOLO
2018-10-01 13:16:15 -04:00
Jeff Becker
8aa0d0d4a8
try fixing tun writing
2018-10-01 13:05:36 -04:00
Jeff Becker
9e8563a884
cache convo tag and drop traffic
2018-10-01 11:45:55 -04:00