aboutsummaryrefslogtreecommitdiffstats
path: root/src/tun_linux.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Align with go library layoutMathias Hall-Andersen2018-02-041-377/+0
|
* Rework of entire locking systemMathias Hall-Andersen2018-02-021-2/+2
| | | | | | 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.
* Removed IFF_NO_PI from TUN linuxMathias Hall-Andersen2017-12-041-5/+31
| | | | | | | | 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.
* Fixed typosMathias Hall-Andersen2017-11-291-1/+1
|
* Added cross namespace TUN status detectionMathias Hall-Andersen2017-11-291-2/+22
|
* Ported remaining netns.shMathias Hall-Andersen2017-11-171-1/+0
| | | | | - Ported remaining netns.sh tests - Begin work on generic implementation of bind interface
* Allows passing UAPI fd to serviceMathias Hall-Andersen2017-11-171-1/+1
|
* Moved TUN device creation to pre-forkMathias Hall-Andersen2017-11-141-0/+28
|
* Begin work on source address caching (linux)Mathias Hall-Andersen2017-09-241-9/+2
|
* Improved handling of key-materialMathias Hall-Andersen2017-09-011-0/+2
|
* Update MTU based on netlink messages (linux)Mathias Hall-Andersen2017-08-221-1/+2
|
* Added missing IF index checkMathias Hall-Andersen2017-08-171-10/+13
|
* Detects interface status on linuxMathias Hall-Andersen2017-08-171-12/+147
|
* Number of fixes in response to code reviewMathias Hall-Andersen2017-08-071-5/+18
| | | | | This version cannot complete a handshake. The program will panic upon receiving any message on the UDP socket.
* First set of code review patchesMathias Hall-Andersen2017-08-041-0/+6
|
* Moved remaining platform dependent UAPI codeMathias Hall-Andersen2017-07-201-23/+23
|
* Fixed file descriptor leak on linuxMathias Hall-Andersen2017-07-181-0/+4
|
* Added paddingMathias Hall-Andersen2017-07-151-7/+41
| | | | Added plaintext padding and fixed default interface MTU
* Fixed MTU method for linux TUN interfaceMathias Hall-Andersen2017-07-111-21/+55
| | | | | Updated the TUN interface Added the "MTU" method for the linux implementation of the TUN interface
* Fixed cookie reply processing bugMathias Hall-Andersen2017-07-071-1/+1
|
* Handshake negotiation functioningMathias Hall-Andersen2017-07-011-2/+2
|
* Completed initial version of outbound flowMathias Hall-Andersen2017-06-301-0/+1
|
* Work on UAPIMathias Hall-Andersen2017-06-281-5/+3
| | | | | | | Cross-platform API (get operation) Handshake initiation creation process Outbound packet flow Fixes from code-review
* Beginning work on TUN interfaceMathias Hall-Andersen2017-06-041-0/+80
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.