Florent Daigniere
0c2d06d8a5
net: implement ECN handling, rfc6040 style
...
To decide whether we should use the compatibility mode or the normal
mode with a peer, we use the handshake messages as a signaling channel.
If we receive the expected ECN bits, it most likely means they're
running a compatible version.
Signed-off-by: Florent Daigniere <nextgens@freenetproject.org>
2019-02-25 18:20:23 +01:00
Jason A. Donenfeld
f7f63765d1
conn: close ipv4 socket when ipv6 socket fails
2019-02-05 21:55:33 +09:00
Jason A. Donenfeld
dff424baf8
Update copyright
2019-02-05 12:59:42 +01:00
Jason A. Donenfeld
c967f15e44
Separate out mark setting for Windows
2018-12-11 18:29:46 +01:00
Jason A. Donenfeld
5be541d147
global: fix up copyright headers
2018-09-16 18:49:19 +02:00
Jason A. Donenfeld
6a5d0e2bcd
Support IPv6-less kernels
2018-06-12 01:32:46 +02:00
Jason A. Donenfeld
fc3a7635e5
Disappointing anti-sticky experiment
2018-05-27 22:55:15 +02:00
Jason A. Donenfeld
bbf320c477
Back to sticky sockets on android
2018-05-24 17:53:00 +02:00
Jason A. Donenfeld
65a74f3175
Avoid sticky sockets on Android
...
The android policy routing system does insane things.
2018-05-22 23:22:23 +02:00
Jason A. Donenfeld
d6b694e161
Add OpenBSD tun driver support
2018-05-22 16:21:05 +02:00
Jason A. Donenfeld
1c666576d5
User cookie is closer to fwmark than setfib
2018-05-21 20:13:39 +02:00
Jason A. Donenfeld
ff3f2455e5
Rework freebsd support
2018-05-21 18:48:48 +02:00
Mathias Hall-Andersen
38accea986
Add copyright headers
2018-05-19 02:40:22 +02:00
Jason A. Donenfeld
125976edce
Avoid using v6-mapped-v4
2018-05-18 05:02:35 +02:00
Jason A. Donenfeld
0fb14232fa
Look up route for every peer
2018-05-14 03:26:38 +02:00
Jason A. Donenfeld
a040786645
global: Add SPDX tags and copyright header
...
Mathias should probably add his copyright headers to each file too.
2018-05-03 15:06:25 +02:00
Mathias Hall-Andersen
a0f54cbe5a
Align with go library layout
2018-02-04 16:08:26 +01:00