summaryrefslogtreecommitdiffhomepage
path: root/src/tun_linux.go
AgeCommit message (Collapse)Author
2018-02-04Align with go library layoutMathias Hall-Andersen
2018-02-02Rework of entire locking systemMathias Hall-Andersen
Locking on the Device instance is now much more fined-grained, seperating out the fields into "resources" st. most common interactions only require a small number.
2017-12-04Removed IFF_NO_PI from TUN linuxMathias Hall-Andersen
This change was needed for the Linux TUN status hack to work properly (not increment the error counter). This commit also updates the TUN interface to allow for the construction / removal of the TUN info headers in-place.
2017-11-29Fixed typosMathias Hall-Andersen
2017-11-29Added cross namespace TUN status detectionMathias Hall-Andersen
2017-11-17Ported remaining netns.shMathias Hall-Andersen
- Ported remaining netns.sh tests - Begin work on generic implementation of bind interface
2017-11-17Allows passing UAPI fd to serviceMathias Hall-Andersen
2017-11-14Moved TUN device creation to pre-forkMathias Hall-Andersen
2017-09-24Begin work on source address caching (linux)Mathias Hall-Andersen
2017-09-01Improved handling of key-materialMathias Hall-Andersen
2017-08-22Update MTU based on netlink messages (linux)Mathias Hall-Andersen
2017-08-17Added missing IF index checkMathias Hall-Andersen
2017-08-17Detects interface status on linuxMathias Hall-Andersen
2017-08-07Number of fixes in response to code reviewMathias Hall-Andersen
This version cannot complete a handshake. The program will panic upon receiving any message on the UDP socket.
2017-08-04First set of code review patchesMathias Hall-Andersen
2017-07-20Moved remaining platform dependent UAPI codeMathias Hall-Andersen
2017-07-18Fixed file descriptor leak on linuxMathias Hall-Andersen
2017-07-15Added paddingMathias Hall-Andersen
Added plaintext padding and fixed default interface MTU
2017-07-11Fixed MTU method for linux TUN interfaceMathias Hall-Andersen
Updated the TUN interface Added the "MTU" method for the linux implementation of the TUN interface
2017-07-07Fixed cookie reply processing bugMathias Hall-Andersen
2017-07-01Handshake negotiation functioningMathias Hall-Andersen
2017-06-30Completed initial version of outbound flowMathias Hall-Andersen
2017-06-28Work on UAPIMathias Hall-Andersen
Cross-platform API (get operation) Handshake initiation creation process Outbound packet flow Fixes from code-review
2017-06-04Beginning work on TUN interfaceMathias Hall-Andersen
And outbound routing I am not entirely convinced the use of net.IP is a good idea, since the internal representation of net.IP is a byte slice and all constructor functions in "net" return 16 byte slices (padded for IPv4), while the use in this project uses 4 byte slices. Which may be confusing.