Commit graph

9 commits

Author SHA1 Message Date
Jason A. Donenfeld 6fa65bded4 Clean up error handling of listen port 2017-09-26 15:15:27 +02:00
Mathias Hall-Andersen 89d0045214 Fixed TUN interface implementation os OS X 2017-09-03 18:10:06 +02:00
Mathias Hall-Andersen a4eff12d7f Improved receive.go
- Fixed configuration listen-port semantics
- Improved receive.go code for updating listen port
- Updated under load detection, how follows the kernel space implementation
- Fixed trie bug accidentally introduced in last commit
- Added interface name to log (format still subject to change)
- Can now configure the logging level using the LOG_LEVEL variable
- Begin porting netsh.sh tests
- A number of smaller changes
2017-08-11 16:18:20 +02:00
Mathias Hall-Andersen cba1d6585a Number of fixes in response to code review
This version cannot complete a handshake.
The program will panic upon receiving any message on the UDP socket.
2017-08-07 15:25:04 +02:00
Mathias Hall-Andersen 8c34c4cbb3 First set of code review patches 2017-08-04 16:15:53 +02:00
Mathias Hall-Andersen a70c44a9f6 Create /var/run/wireguard if non-existent 2017-08-02 15:30:57 +02:00
Mathias Hall-Andersen 91c1822473 Remove stale unix socket 2017-08-01 12:45:11 +02:00
Mathias Hall-Andersen 47f8a3d89a Moved remaining platform dependent UAPI code 2017-07-20 15:06:24 +02:00
Mathias Hall-Andersen b21c82e32d Conforming to the cross-platform UX
The implementation now terminates when the unix socket is deleted.
Currently we are unable to use fsnotify (on linux),
since it does not notify on the deletion of open files.

The implementation can now daemonize (on linux)
or be kept in the foreground by providing the necessary flag.
2017-07-15 13:41:02 +02:00