Commit Graph

47 Commits

Author SHA1 Message Date
Jeff Becker
b543d6243d
Merge branch 'master' into dev 2018-11-20 07:42:17 -05: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
Jeff Becker
950d13a818
more logging 2018-11-19 16:55:41 -05:00
Jeff Becker
bad32dbb98
more logging 2018-11-19 16:33:51 -05: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
48e4f676cc
add rpc method for llarp.admin.link.neighboors 2018-10-25 14:18:12 -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
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
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
7f809eb53b fix windows build 2018-10-01 15:06:07 -05: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
97bae70817
close sessions on link close not on destructor 2018-09-24 06:23:11 -04:00
Jeff Becker
ce03801a51
close socket in destructor 2018-09-23 07:29:41 -04:00
Jeff Becker
5ebe3cc97c
limits and have clients use ephemeral identity 2018-09-18 16:56:22 -04:00
Jeff Becker
cde76250ca
close connections 2018-09-18 14:05:41 -04:00
Jeff Becker
8d679b00a7
only log errors on sessions made with utp
only rebuild paths when introset changes router for outbound context
2018-09-18 11:05:56 -04:00
Jeff Becker
96716a39ef
send link layer keep alive and track bad intros 2018-09-18 09:02:52 -04:00
Jeff Becker
1eda28a2da
close invalid sockets 2018-09-18 08:29:27 -04:00
Jeff Becker
7f3465022d
check for null session 2018-09-14 11:27:34 -04:00
Jeff Becker
6986f04418
basic router profiling and fix ip rewrite 2018-09-13 12:41:53 -04:00
Jeff Becker
b56d25730e
improve send rate 2018-09-12 09:29:42 -04:00
Jeff Becker
b96887ddb2
various fixes and tweaks 2018-09-10 09:43:36 -04:00
Jeff Becker
b23dab09fb
don't overwrite our RC, hide parameter. 2018-09-09 07:23:21 -04:00
Jeff Becker
adbf53bc40
protocol docs, more efficient padding, make code reflect protocol changes. 2018-09-08 11:53:20 -04:00
Jeff Becker
bfb00bb7bd
utp fixes 2018-09-07 16:36:06 -04:00
Jeff Becker
4b3a113397
mostly works 2018-09-07 13:41:49 -04:00
Jeff Becker
5dfcd60df1
more 2018-09-06 16:31:58 -04:00
Jeff Becker
6ef89ea8b2
un break (kinda) 2018-09-06 09:16:24 -04:00
Jeff Becker
60d5277351
broken 2018-09-06 07:46:19 -04:00
Jeff Becker
ba648868c4
more 2018-09-04 15:15:06 -04:00
Jeff Becker
2a8fc53ca6
make it compile 2018-09-04 08:55:20 -04:00
Jeff Becker
085563ac2f
implement utp link protocol
gut curvecp for now
2018-09-04 08:41:25 -04:00
Jeff Becker
1839da9c3c
add bencode file helpers and move link server functions into source file 2018-09-03 09:10:56 -04:00
Jeff Becker
5228a81bae
more refactor
get rid of C api
2018-08-30 14:48:43 -04:00
sachaaaaa
b5762fa85a Move EncodeLIM to its own source file 2018-07-09 13:08:41 +10:00
Jeff Becker
c51d29a0c6
add link level keepalive
remove debugging messages

start handling more messages
2018-05-26 14:31:45 -04:00