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
despair86
8117960843
found more unix exclusive stuff
2018-10-01 15:06:06 -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
Jeff Becker
1eef5387b6
update introset on message drop
2018-10-01 10:31:54 -04:00
Jeff Becker
681e669fd8
try better publish logic and timeouts for requests
2018-10-01 10:18:17 -04:00
Ryan Tharp
47d71c601c
fix another overwrite
2018-10-01 03:08:05 -07:00
Ryan Tharp
4cc482764d
clang format
2018-10-01 03:00:11 -07:00
Ryan Tharp
46f6d005d7
minor cleanup
2018-10-01 02:59:50 -07:00
Ryan Tharp
c11e61a51d
add -c for client auto-config, -f for overwrite
2018-10-01 02:58:30 -07:00
Ryan Tharp
fb9b60bd16
clang-format
2018-10-01 02:57:57 -07:00
Ryan Tharp
e890ef2e5b
ensure_config split router/client refactor, move C++ stuff to .hpp
2018-10-01 02:56:14 -07:00
Ryan Tharp
058ed4d4ea
Merge branch 'master' of https://github.com/neuroscr/loki-network
2018-10-01 09:03:31 +00:00
Jeff
4158e422bb
don't store introsets when forwarding a request
2018-09-30 12:02:42 -04:00
Jeff
a168c81a75
make mac tun work
2018-09-30 11:40:34 -04:00
Jeff
e50cbf5acb
Merge branch 'master' of ssh://github.com/loki-project/loki-network
2018-09-30 11:25:59 -04:00
Jeff Becker
f6c812a642
include packet info in tun but discard it so that tun can work on platforms
...
that include packet info
2018-09-30 09:23:37 -04:00
Jeff Becker
138c222a1a
dns port configurable at compile time (make this configurable on runtime plz)
2018-09-30 08:42:28 -04:00
Jeff Becker
2b8bd11f5e
ping less and try not to double free in llarp_router::SendToOrQueue
2018-09-30 08:01:58 -04:00
Jeff Becker
ed5867e49f
don't use std::list
2018-09-30 07:17:48 -04:00
Ryan Tharp
79d61dedc3
use new llarp::Addr based init
2018-09-29 03:28:55 -07:00
Ryan Tharp
b7f4907925
update DNS* init
2018-09-29 03:28:24 -07:00
Ryan Tharp
0ee4eebb69
was supposed to be in last commit
2018-09-29 03:28:01 -07:00
Ryan Tharp
9ea564e832
update llarp_main_init_dnsd to make new DNSd init
2018-09-29 03:27:38 -07:00
Ryan Tharp
e876506295
improve b32 failure handling, dead code removal
2018-09-29 03:26:34 -07:00
Ryan Tharp
232b471545
note and clang-format
2018-09-29 03:25:50 -07:00
Ryan Tharp
0278ba6edf
more clang-format
2018-09-29 03:25:07 -07:00
Ryan Tharp
638fff6b7e
clang-format (how was this missed before?)
2018-09-29 03:24:39 -07:00
Ryan Tharp
de1fe9d607
add note
2018-09-29 03:24:10 -07:00
Ryan Tharp
6c2d0e21bf
llarp_dnsd_init() update to use llarp::Addr more and adjust to new DNSc init changes, remove unneeded WIN32 change (made it the default)
2018-09-29 03:22:48 -07:00
Ryan Tharp
1e72326f0c
llarp_dnsd_init() use llarp::Addr more
2018-09-29 03:22:00 -07:00
Ryan Tharp
35def45c98
answer_request_alloc() use a unique_ptr, multiple resolver support start, llarp_dnsc_init to use llarp::Addrs
2018-09-29 03:18:33 -07:00
Ryan Tharp
7f47adf2a0
rely on llarp::Addr more, support list of resolvers
2018-09-29 03:17:13 -07:00
Ryan Tharp
094223a257
from_4int() and from_char_array() refactor
2018-09-29 03:15:41 -07:00
Jeff
d6463bf8de
Merge branch 'master' of ssh://github.com/loki-project/loki-network
2018-09-28 19:47:25 -04:00
Jeff
52da002488
comit
2018-09-28 19:47:18 -04:00
Jeff Becker
36c927fc79
premptively build path to selected intro's router every time we don't have it if we get an introset update, on the outbound context
2018-09-28 11:46:47 -04:00
Jeff Becker
10d463e51a
add contributing template
2018-09-28 10:34:37 -04:00