summaryrefslogtreecommitdiffhomepage
path: root/tun_linux.go
AgeCommit message (Collapse)Author
2018-05-14Netlink sockets can't be shutdownJason A. Donenfeld
2018-05-14Clean moreJason A. Donenfeld
2018-05-14Shorthand for empty channelsJason A. Donenfeld
2018-05-14Smoother netlink shutdownJason A. Donenfeld
2018-05-14Ensure go routines can exitJason A. Donenfeld
2018-05-14Introduce rwcancelJason A. Donenfeld
2018-05-13Odds and endsJason A. Donenfeld
2018-05-05tun: simplify and combine creation logic on LinuxJason A. Donenfeld
2018-05-05StyleJason A. Donenfeld
2018-05-05tun: account for null termination on LinuxJason A. Donenfeld
2018-05-03global: Add SPDX tags and copyright headerJason A. Donenfeld
Mathias should probably add his copyright headers to each file too.
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