Michael
da6cdfc0b2
More refactoring to continue to make dependency graph acylic
6 years ago
Michael
e5eda0fb8f
Move lokinet unspecific components to a util/ library
6 years ago
Jeff Becker
2a67242ccd
fixes
6 years ago
Jeff Becker
1a5c70f09d
don't call utp_shutdown in destructor
6 years ago
Jeff Becker
3d5d52de87
add fix
6 years ago
Jeff Becker
7ba1395d23
fix utp leak in unit tests
6 years ago
Michael
9658c80b48
Minor build fixes
6 years ago
Michael
7dd40015f3
Mark AlignedBuffer constructor as explicit
6 years ago
Michael
ea19093a20
Remove const byte* conversion operators from llarp::AlignedBuffer
6 years ago
Michael
1410d0a0cf
Remove byte* conversion operators from llarp::AlignedBuffer
6 years ago
Michael
334161c9bb
Remove data() conversions from llarp::AlignedBuffer
6 years ago
Jeff Becker
6825cc0eec
fix crashes
6 years ago
Jeff Becker
4d689da148
more
6 years ago
Jeff Becker
874b1cd53c
only remove message when it successfully parses and handles
6 years ago
Jeff Becker
ec57c72e08
fix testnet
6 years ago
Jeff Becker
6fc42dc7ad
fixes
6 years ago
Jeff Becker
cca19290de
session renegotiation, RC expiration, more utp unit tests, network isolation.
6 years ago
Jeff Becker
e58f2c521e
done for the day
6 years ago
Jeff Becker
b39c46fc03
!!! this breaks backwards compat :^) !!!
...
redo link protocol to use 2 session keys, add unit tests.
6 years ago
Jeff Becker
35fd046a9a
unfinished
6 years ago
Jeff Becker
be234e4b6e
* make format
...
* snode to snode direct traffic
* wire up dns on service node tun
6 years ago
Michael
85dde7b6b0
Move remaining include/llarp headers to llarp/
6 years ago
Michael
c0a76714fa
Move link* to llarp/
6 years ago
Michael
c064893947
Move buffer.hpp to llarp/
6 years ago
Michael
7be452092c
Convert llarp_crypto to be a true C++ class
6 years ago
Michael
f0fce5b68a
Convert llarp_router to be a true C++ class
6 years ago
Jeff Becker
fad734a5ce
strict types for pubkey, secretkey and routerid
6 years ago
despair
f17c01a924
clang-format
6 years ago
despair
d26141d433
Merge branch 'dev' into reeeee-divergence
...
ok hope this works -rick
# Conflicts:
# .gitignore
# .vscode/settings.json
# include/llarp/service/context.hpp
# llarp/dns.cpp
# llarp/dnsc.cpp
# llarp/ev.cpp
# llarp/ev.hpp
# llarp/ev_win32.hpp
# llarp/net.cpp
# llarp/router.cpp
# llarp/router.hpp
# llarp/service/context.cpp
6 years ago
despair
60f6131e43
netbsd stuff
6 years ago
Jeff Becker
67eadff143
node whitelist option via jsonrpc
6 years ago
despair
906f11d08f
gah how did i miss that
6 years ago
Jeff Becker
b543d6243d
Merge branch 'master' into dev
6 years ago
despair
436025e0ca
fix utp flags leaking into the actual socket transmission
...
clang-format
6 years ago
despair
964e834fea
finally get the right error on windows
...
fix
fix up errno on win32
test
6 years ago
Michael
1c0cf72c02
Rename endian.h
6 years ago
Jeff Becker
e287e5132b
more vigorus pings
6 years ago
despair
be7ac352ca
switch to a simulation of epoll
...
the native async event system on windows
is _not_ very good at getting external events
(i.e. we receive data, but we don't get any indication
that this ever happened)
6 years ago
despair
c325246beb
need to start winsock to use any networking
...
try fixing this
6 years ago
despair
d311b2e9a9
remove dead code
...
(rip golden shield users D:)
remove more dead code
debug udp stuff
remove debug kqueue
6 years ago
Michael Thorpe
33bfaf7ecd
Enable -Wextra
...
test criteria:
- test build on macOS
- test build in debian docker container
- test build in fedora docker container
6 years ago
Michael Thorpe
a2d5d80779
Enable warnings as errors
...
test criteria:
- Built from clean on macOS
6 years ago
Jeff Becker
f03603a0da
always remove dht nodes, lock sometimes, don't make router destructor virtual
6 years ago
Jeff Becker
dbd2c41909
use event loop for time
6 years ago
Jeff Becker
26ad679b1d
set send queue limit to something really big
6 years ago
Jeff Becker
d3278946f2
ipv4 bogon checking
6 years ago
despair86
88854f558e
Revert "return the correct address family?"
...
not really needed....looks safe so long as the bytes are in network order (hence, the inet4 link will only grab the top 32 bits of the whole inet6 address field.)
This reverts commit 56e41ebda0c29bb2a85dd3f8dbbfba30da8c0a2c.
6 years ago
despair86
7d30d9ee38
return the correct address family?
6 years ago
despair86
3c13101beb
clang-format
6 years ago
despair86
31c8aee3c1
woooooooooooooo
...
lokinet on win32 is now live
and the server code is more stable than the client code
6 years ago