Jason A. Donenfeld
42c6d0e261
Change package path
2019-02-18 05:11:39 +01:00
Jason A. Donenfeld
89d2c5ed7a
Extend structs rather than embed, when possible
2019-02-05 12:59:42 +01:00
Jason A. Donenfeld
dff424baf8
Update copyright
2019-02-05 12:59:42 +01:00
Mathias Hall-Andersen
32d2148835
Fixed port overwrite issue on kernels without ipv6
...
Fixed an issue in CreateBind for Linux:
If ipv6 was not supported the error code would be
correctly identified as EAFNOSUPPORT and ipv4 binding attempted.
However the port would be set to 0,
which results in the subsequent create4 call requesting
a random port rather than the one provided to CreateBind.
This issue was identified by:
Kent Friis <leeloored@gmx.com>
2018-09-16 18:49:19 +02: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
4365b4583f
Trick for being extra sensitive to route changes
2018-05-24 18:21:14 +02:00
Jason A. Donenfeld
bbf320c477
Back to sticky sockets on android
2018-05-24 17:53:00 +02:00
Jason A. Donenfeld
2f2eca8947
Catch EINTR
2018-05-24 15:36:29 +02:00
Jason A. Donenfeld
99c6513d60
No zero sequence numbers
2018-05-23 18:30:55 +02:00
Jason A. Donenfeld
588b9f01ae
Adopt GOPATH
...
GOPATH is annoying, but the Go community pushing me to adopt it is even
more annoying.
2018-05-23 05:18:13 +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
a5b3340e5b
Fix race in netlink peer correlator
2018-05-20 03:37:42 +02:00
Mathias Hall-Andersen
38accea986
Add copyright headers
2018-05-19 02:40:22 +02:00
Jason A. Donenfeld
021724a535
Cancelable netlink writes and better response correlation
2018-05-14 14:18:26 +02:00
Jason A. Donenfeld
795f76cffa
Netlink sockets can't be shutdown
2018-05-14 14:08:03 +02:00
Jason A. Donenfeld
355e9bd619
Clean more
2018-05-14 12:27:29 +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
Jason A. Donenfeld
b34604245e
Clear src cache if route changes to new ifindex
2018-04-27 05:41:07 +02:00
Jason A. Donenfeld
5ba84696e2
Rework sticky sockets
2018-04-20 06:51:28 +02:00
Jason A. Donenfeld
0b940a7568
Use socketcall on x86
2018-04-18 10:17:04 +02:00
Mathias Hall-Andersen
a0f54cbe5a
Align with go library layout
2018-02-04 16:08:26 +01:00