aboutsummaryrefslogtreecommitdiff
path: root/src/tun.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Align with go library layoutMathias Hall-Andersen2018-02-041-58/+0
|
* Work on timer teardown + bug fixesMathias Hall-Andersen2018-01-131-3/+3
| | | | | Added waitgroups to peer struct for routine start / stop synchronisation
* Peer timer teardownMathias Hall-Andersen2017-12-291-12/+4
|
* Removed IFF_NO_PI from TUN linuxMathias Hall-Andersen2017-12-041-7/+7
| | | | | | | | 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.
* Better naming of bind helpersMathias Hall-Andersen2017-11-191-2/+4
|
* Moved TUN device creation to pre-forkMathias Hall-Andersen2017-11-141-0/+2
|
* Initial implementation of source cachingMathias Hall-Andersen2017-10-161-2/+2
| | | | Yet untested.
* Add support for fwmark on linuxMathias Hall-Andersen2017-08-221-3/+3
|
* Update MTU based on netlink messages (linux)Mathias Hall-Andersen2017-08-221-3/+41
|
* Number of fixes in response to code reviewMathias Hall-Andersen2017-08-071-1/+10
| | | | | 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/+1
|
* Added paddingMathias Hall-Andersen2017-07-151-0/+6
| | | | Added plaintext padding and fixed default interface MTU
* Fixed MTU method for linux TUN interfaceMathias Hall-Andersen2017-07-111-4/+4
| | | | | Updated the TUN interface Added the "MTU" method for the linux implementation of the TUN interface
* Handshake negotiation functioningMathias Hall-Andersen2017-07-011-1/+1
|
* Work on UAPIMathias Hall-Andersen2017-06-281-1/+1
| | | | | | | 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/+8
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.