aboutsummaryrefslogtreecommitdiffstats
path: root/tun_linux.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: Add SPDX tags and copyright headerJason A. Donenfeld2018-05-031-0/+5
| | | | Mathias should probably add his copyright headers to each file too.
* Clear src cache if route changes to new ifindexJason A. Donenfeld2018-04-271-2/+3
|
* Fix error handling and cleanup of netlink listenerJason A. Donenfeld2018-04-271-22/+29
|
* Check for correct first nibbleJason A. Donenfeld2018-04-201-1/+1
| | | | The code before assumed that the flow label was always zero.
* Signal using select and a pipe for bringing down TUN readerJason A. Donenfeld2018-04-201-9/+104
| | | | | | Waiting on resolution of these to fix in better way: - https://github.com/golang/go/issues/22939 - https://github.com/golang/go/issues/24331
* We can determine the interface name ourselvesJason A. Donenfeld2018-04-191-3/+7
|
* Allow determining nameJason A. Donenfeld2018-04-181-6/+19
|
* Support nopi modeJason A. Donenfeld2018-02-281-16/+27
|
* Close tun fd when bringing down tunnelJason A. Donenfeld2018-02-181-1/+1
|
* Reimplemented bind_rtmgrp in pure GoDominik Süß2018-02-131-40/+30
| | | | | | | | | Getting rid of the Cgo dependency for listing on netlink. Ported original patch from "syscall" to "golang.org/x/sys/unix". Signed-off-by: Dominik Süß <dominik.suess@outlook.at> Co-Authored-By: Mathias Hall-Andersen <mathias@hall-andersen.dk>
* Reverted event changesMathias Hall-Andersen2018-02-111-13/+12
| | | | This feature was not needed for Android, upon further inspection.
* Started migration to sub-packagesMathias Hall-Andersen2018-02-091-12/+13
|
* Align with go library layoutMathias Hall-Andersen2018-02-041-0/+377