Michael
da6cdfc0b2
More refactoring to continue to make dependency graph acylic
2019-01-15 23:15:44 +00:00
Michael
e5eda0fb8f
Move lokinet unspecific components to a util/ library
2019-01-10 20:07:24 +00:00
Jeff Becker
2a67242ccd
fixes
2019-01-07 11:35:25 -05:00
Jeff Becker
1a5c70f09d
don't call utp_shutdown in destructor
2019-01-07 11:15:47 -05:00
Jeff Becker
3d5d52de87
add fix
2019-01-07 11:13:16 -05:00
Jeff Becker
7ba1395d23
fix utp leak in unit tests
2019-01-07 07:36:26 -05:00
Michael
9658c80b48
Minor build fixes
2019-01-03 21:25:16 +00:00
Michael
7dd40015f3
Mark AlignedBuffer constructor as explicit
2019-01-02 01:04:06 +00:00
Michael
ea19093a20
Remove const byte* conversion operators from llarp::AlignedBuffer
2019-01-02 01:04:04 +00:00
Michael
1410d0a0cf
Remove byte* conversion operators from llarp::AlignedBuffer
2019-01-02 01:04:03 +00:00
Michael
334161c9bb
Remove data() conversions from llarp::AlignedBuffer
2019-01-02 01:03:53 +00:00
Jeff Becker
6825cc0eec
fix crashes
2018-12-27 14:10:38 -05:00
Jeff Becker
4d689da148
more
2018-12-27 13:42:23 -05:00
Jeff Becker
874b1cd53c
only remove message when it successfully parses and handles
2018-12-27 13:31:19 -05:00
Jeff Becker
ec57c72e08
fix testnet
2018-12-27 13:27:43 -05:00
Jeff Becker
6fc42dc7ad
fixes
2018-12-19 12:48:29 -05:00
Jeff Becker
cca19290de
session renegotiation, RC expiration, more utp unit tests, network isolation.
2018-12-19 11:17:41 -05:00
Jeff Becker
e58f2c521e
done for the day
2018-12-17 17:43:16 -05:00
Jeff Becker
b39c46fc03
!!! this breaks backwards compat :^) !!!
...
redo link protocol to use 2 session keys, add unit tests.
2018-12-17 15:46:08 -05:00
Jeff Becker
35fd046a9a
unfinished
2018-12-16 15:34:04 -05:00
Jeff Becker
be234e4b6e
* make format
...
* snode to snode direct traffic
* wire up dns on service node tun
2018-12-13 11:14:44 -05:00
Michael
85dde7b6b0
Move remaining include/llarp headers to llarp/
2018-12-12 02:53:02 +00:00
Michael
c0a76714fa
Move link* to llarp/
2018-12-12 02:53:01 +00:00
Michael
c064893947
Move buffer.hpp to llarp/
2018-12-12 02:53:00 +00:00
Michael
7be452092c
Convert llarp_crypto to be a true C++ class
2018-12-11 00:53:55 +00:00
Michael
f0fce5b68a
Convert llarp_router to be a true C++ class
2018-12-10 20:15:35 +00:00
Jeff Becker
fad734a5ce
strict types for pubkey, secretkey and routerid
2018-12-10 12:22:59 -05:00
despair
f17c01a924
clang-format
2018-12-03 12:28:16 -06:00
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
2018-12-03 12:24:56 -06:00
despair
60f6131e43
netbsd stuff
2018-11-22 20:02:24 -06:00
Jeff Becker
67eadff143
node whitelist option via jsonrpc
2018-11-21 12:46:33 -05:00
despair
906f11d08f
gah how did i miss that
2018-11-20 09:38:46 -06:00
Jeff Becker
b543d6243d
Merge branch 'master' into dev
2018-11-20 07:42:17 -05:00
despair
436025e0ca
fix utp flags leaking into the actual socket transmission
...
clang-format
2018-11-20 06:11:51 -06:00
despair
964e834fea
finally get the right error on windows
...
fix
fix up errno on win32
test
2018-11-20 02:38:24 -06:00
Michael
1c0cf72c02
Rename endian.h
2018-11-20 00:52:19 +00:00
Jeff Becker
e287e5132b
more vigorus pings
2018-11-19 17:04:23 -05:00
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)
2018-11-19 04:29:39 -06:00
despair
c325246beb
need to start winsock to use any networking
...
try fixing this
2018-11-19 04:29:39 -06:00
despair
d311b2e9a9
remove dead code
...
(rip golden shield users D:)
remove more dead code
debug udp stuff
remove debug kqueue
2018-11-12 23:39:50 -06:00
Michael Thorpe
33bfaf7ecd
Enable -Wextra
...
test criteria:
- test build on macOS
- test build in debian docker container
- test build in fedora docker container
2018-11-07 15:31:13 +00:00
Michael Thorpe
a2d5d80779
Enable warnings as errors
...
test criteria:
- Built from clean on macOS
2018-11-06 22:48:17 +00:00
Jeff Becker
f03603a0da
always remove dht nodes, lock sometimes, don't make router destructor virtual
2018-11-05 08:19:08 -05:00
Jeff Becker
dbd2c41909
use event loop for time
2018-10-29 12:48:36 -04:00
Jeff Becker
26ad679b1d
set send queue limit to something really big
2018-10-19 12:12:46 -04:00
Jeff Becker
d3278946f2
ipv4 bogon checking
2018-10-15 08:02:32 -04:00
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.
2018-10-11 19:22:11 -05:00
despair86
7d30d9ee38
return the correct address family?
2018-10-11 19:22:11 -05:00
despair86
3c13101beb
clang-format
2018-10-06 12:04:52 -05:00
despair86
31c8aee3c1
woooooooooooooo
...
lokinet on win32 is now live
and the server code is more stable than the client code
2018-10-06 12:04:51 -05:00