summaryrefslogtreecommitdiffhomepage
path: root/tun_linux.go
AgeCommit message (Collapse)Author
2018-04-27Clear src cache if route changes to new ifindexJason A. Donenfeld
2018-04-27Fix error handling and cleanup of netlink listenerJason A. Donenfeld
2018-04-20Check for correct first nibbleJason A. Donenfeld
The code before assumed that the flow label was always zero.
2018-04-20Signal using select and a pipe for bringing down TUN readerJason A. Donenfeld
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-19We can determine the interface name ourselvesJason A. Donenfeld
2018-04-18Allow determining nameJason A. Donenfeld
2018-02-28Support nopi modeJason A. Donenfeld
2018-02-18Close tun fd when bringing down tunnelJason A. Donenfeld
2018-02-13Reimplemented bind_rtmgrp in pure GoDominik Süß
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>
2018-02-11Reverted event changesMathias Hall-Andersen
This feature was not needed for Android, upon further inspection.
2018-02-09Started migration to sub-packagesMathias Hall-Andersen
2018-02-04Align with go library layoutMathias Hall-Andersen