aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Optional logging even in backgroundJason A. Donenfeld2018-05-143-6/+16
|
* Fix dummy additionsJason A. Donenfeld2018-05-141-4/+3
|
* Look up route for every peerJason A. Donenfeld2018-05-143-61/+90
|
* Ensure go routines can exitJason A. Donenfeld2018-05-142-49/+52
|
* Send event on erroring kqueueJason A. Donenfeld2018-05-141-0/+5
|
* Introduce rwcancelJason A. Donenfeld2018-05-145-75/+170
|
* Prettier abbreviationJason A. Donenfeld2018-05-131-1/+1
|
* More refactoringJason A. Donenfeld2018-05-139-250/+218
|
* More odds and endsJason A. Donenfeld2018-05-134-36/+44
|
* Fix up testsJason A. Donenfeld2018-05-131-2/+2
|
* Odds and endsJason A. Donenfeld2018-05-1316-164/+139
|
* Cleanup ratelimiterJason A. Donenfeld2018-05-132-14/+14
|
* Rework index hashtableJason A. Donenfeld2018-05-138-85/+75
|
* Rewrite timers and related state machinesJason A. Donenfeld2018-05-1014-578/+429
|
* Merge branch 'master' of ssh://git.zx2c4.com/wireguard-goMathias Hall-Andersen2018-05-053-31/+36
|\
| * Reorder stopping messages so that logs are coherentJason A. Donenfeld2018-05-052-6/+6
| |
| * More robust solution to close deadlockJason A. Donenfeld2018-05-053-31/+33
| |
| * Fix infinite loop in exit routineJason A. Donenfeld2018-05-052-3/+6
| |
* | Removed remaining signals from peerMathias Hall-Andersen2018-05-057-70/+37
|/ | | | | | 1. Removed remaining signals from peer struct 2. Made needAnotherKeepalive local 3. Removed environment check from warning text (annoying when debugging)
* Merge branch 'master' of ssh://git.zx2c4.com/wireguard-goMathias Hall-Andersen2018-05-051-46/+17
|\
| * Merge branch 'master' of ssh://git.zx2c4.com/wireguard-goJason A. Donenfeld2018-05-059-267/+243
| |\
| * | tun: simplify and combine creation logic on LinuxJason A. Donenfeld2018-05-051-46/+17
| | |
* | | Use Int32n for jitterMathias Hall-Andersen2018-05-051-47/+48
| |/ |/|
* | Merge branch 'master' of ssh://git.zx2c4.com/wireguard-goMathias Hall-Andersen2018-05-053-4/+4
|\|
| * StyleJason A. Donenfeld2018-05-054-5/+4
| |
* | Removed old signalsMathias Hall-Andersen2018-05-057-114/+74
| |
* | Merge branch 'master' of ssh://git.zx2c4.com/wireguard-goMathias Hall-Andersen2018-05-051-1/+7
|\|
| * tun: account for null termination on LinuxJason A. Donenfeld2018-05-051-1/+7
| |
* | Merge branch 'master' of ssh://git.zx2c4.com/wireguard-goMathias Hall-Andersen2018-05-0550-220/+491
|\|
| * uapi: use kqueue for sock deletion on darwinJason A. Donenfeld2018-05-042-6/+42
| |
| * tun: print automatically assigned interface name to stdoutJason A. Donenfeld2018-05-041-1/+7
| | | | | | | | This way scripts know what process they just started.
| * tun: allow darwin to auto assign namesJason A. Donenfeld2018-05-042-10/+20
| |
| * warning: put into mainJason A. Donenfeld2018-05-043-72/+41
| |
| * global: Add SPDX tags and copyright headerJason A. Donenfeld2018-05-0350-8/+248
| | | | | | | | Mathias should probably add his copyright headers to each file too.
| * Daemonize with environment variableJason A. Donenfeld2018-05-032-31/+19
| |
| * Start to dust off DarwinJason A. Donenfeld2018-05-038-175/+202
| |
* | Initial version of migration to new event modelMathias Hall-Andersen2018-05-058-183/+203
|/ | | | | - Begin move away from global timer state. - Made logging format more consistent
* Add missing locks and fix debug output, and try to flush queuesJason A. Donenfeld2018-05-015-42/+116
| | | | | | Flushing queues on exit is sort of a partial solution, but this could be better. Really what we want is for no more packets to be enqueued after isUp is set to false.
* Clear src cache if route changes to new ifindexJason A. Donenfeld2018-04-272-14/+151
|
* Fix error handling and cleanup of netlink listenerJason A. Donenfeld2018-04-271-22/+29
|
* Fix wrong debug messagesJason A. Donenfeld2018-04-201-1/+3
|
* Rework sticky socketsJason A. Donenfeld2018-04-203-269/+150
|
* Check for correct first nibbleJason A. Donenfeld2018-04-201-1/+1
| | | | The code before assumed that the flow label was always zero.
* Signal using select and a pipe for bringing down TUN readerJason A. Donenfeld2018-04-201-9/+104
| | | | | | Waiting on resolution of these to fix in better way: - https://github.com/golang/go/issues/22939 - https://github.com/golang/go/issues/24331
* We can determine the interface name ourselvesJason A. Donenfeld2018-04-192-4/+8
|
* Do not hard code MTU defaultJason A. Donenfeld2018-04-191-2/+2
|
* Fixed read from closed channelMathias Hall-Andersen2018-04-184-10/+26
| | | | | | | A premature waitgroup .Done resulted in reading from closed channel. This caused a nil-pointer deref & crash. Added additional debugging when closing routines.
* Allow determining nameJason A. Donenfeld2018-04-183-7/+28
|
* Use socketcall on x86Jason A. Donenfeld2018-04-183-44/+89
|
* Use simple 16-bit integer for persistent keepaliveJason A. Donenfeld2018-04-183-11/+8
| | | | Races for this aren't a huge problem.