Jason A. Donenfeld
|
0715bdf353
|
Fix wrong debug messages
|
2018-04-20 07:13:40 +02:00 |
|
Jason A. Donenfeld
|
5ba84696e2
|
Rework sticky sockets
|
2018-04-20 06:51:28 +02:00 |
|
Jason A. Donenfeld
|
f5c256affd
|
Check for correct first nibble
The code before assumed that the flow label was always zero.
|
2018-04-20 06:51:28 +02:00 |
|
Jason A. Donenfeld
|
4973ea0c9e
|
Signal using select and a pipe for bringing down TUN reader
Waiting on resolution of these to fix in better way:
- https://github.com/golang/go/issues/22939
- https://github.com/golang/go/issues/24331
|
2018-04-20 04:16:34 +02:00 |
|
Jason A. Donenfeld
|
676bb91434
|
We can determine the interface name ourselves
|
2018-04-19 16:00:20 +02:00 |
|
Jason A. Donenfeld
|
ab875491c0
|
Do not hard code MTU default
|
2018-04-19 15:54:51 +02:00 |
|
Jason A. Donenfeld
|
26a56a652e
|
Allow determining name
|
2018-04-18 16:42:30 +02:00 |
|
Jason A. Donenfeld
|
0b940a7568
|
Use socketcall on x86
|
2018-04-18 10:17:04 +02:00 |
|
Jason A. Donenfeld
|
eb6728400b
|
Use simple 16-bit integer for persistent keepalive
Races for this aren't a huge problem.
|
2018-04-18 07:24:33 +02:00 |
|
Jason A. Donenfeld
|
099219be2a
|
Align 64-bit atomics
64-bit varibles that are accessed using the Go atomic functions must be
8-byte aligned on 32-bit platforms. Otherwise there are crashes.
|
2018-04-18 06:54:21 +02:00 |
|
Jason A. Donenfeld
|
fd248c6cb1
|
Support nopi mode
|
2018-02-28 19:58:51 +01:00 |
|
Jason A. Donenfeld
|
09de7d1342
|
Close tun fd when bringing down tunnel
|
2018-02-18 22:54:33 +01:00 |
|
Jason A. Donenfeld
|
519c5d200a
|
Fix timer typo
|
2018-02-18 20:58:43 +01:00 |
|
Jason A. Donenfeld
|
8f1d1b8c54
|
MPLv2 for App Store
|
2018-02-13 19:43:47 +01:00 |
|
Jason A. Donenfeld
|
ff8f3a412e
|
Use relative imports
|
2018-02-12 23:49:41 +01:00 |
|
Jason A. Donenfeld
|
bffe99aead
|
Don't use modules
Feel free to revert this if you have a strong feeling about it. But so
far as I can see, it adds a lot of complexity for basically no upsides.
|
2018-02-12 20:13:03 +01:00 |
|
Jason A. Donenfeld
|
51a6001bb9
|
Go treats underscores specially
In case there's ever a platform called helpers or protocol, we don't
want to be doing this.
|
2018-02-07 18:59:41 +01:00 |
|
Jason A. Donenfeld
|
32d8932d1b
|
Sleep to close fd
|
2017-09-26 15:24:18 +02:00 |
|
Jason A. Donenfeld
|
6fa65bded4
|
Clean up error handling of listen port
|
2017-09-26 15:15:27 +02:00 |
|
Jason A. Donenfeld
|
012e7b9d33
|
Simplified xplatform spec
|
2017-09-26 14:26:50 +02:00 |
|
Jason A. Donenfeld
|
c545d63bb9
|
Fix up fwmark handling
|
2017-09-21 03:10:03 +02:00 |
|
Jason A. Donenfeld
|
0ade48cb82
|
Makefile: cleanup a bit and add cloc
Signed-off-by: Jason A. Donenfeld <[email protected]>
|
2017-08-01 17:09:34 +02:00 |
|
Jason A. Donenfeld
|
6bd0b2fbe2
|
Initial scaffolding
|
2017-05-30 00:13:20 +02:00 |
|