summaryrefslogtreecommitdiffstats
path: root/uapi_darwin.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-05-19timers: no need to clear keepalive in persistent keepaliveJason A. Donenfeld1-3/+0
We do this after sending the keepalive anyway. This is something of a regression, though, since before we'd cancel and then send, but now we send and then cancel, so it introduces a potential race, but hopefully that isn't too big of a deal. Kernel module commit a24b3e6e15ae1ea1291666e5da910caf43eedbaf
2018-05-19timers: clear send_keepalive timer on sending handshake responseJason A. Donenfeld2-10/+14
We reorganize this into also doing so on sending keepalives itself, which means the state machine is much more consistent, even if this was already implied. Kernel module commit 30290ef1d2581a3e6ee8ffcdb05d580cfba976be
2018-05-19Listen for flush in outer selectMathias Hall-Andersen1-8/+30
Now listen for flushNonceQueue signal in outer select during the RoutineNonce routine. This is needed to handle the edge case where the queue is flushed, but no packets are in the nonce queue. Since the signal has capacity 1 this signal will remain and potentially flush the queue at a later time, with packets meant for transmission.
2018-05-19Add copyright headersMathias Hall-Andersen38-0/+38
2018-05-18Avoid using v6-mapped-v4Jason A. Donenfeld2-4/+14
2018-05-18StyleJason A. Donenfeld1-3/+3
2018-05-17Fill out readmeJason A. Donenfeld1-5/+51
2018-05-16Finer-grained start-stop synchronizationJason A. Donenfeld6-5/+33
2018-05-15Fix dir permissions0.0.20180514Jason A. Donenfeld2-2/+2
2018-05-15Temporary work around. Please revert meJason A. Donenfeld1-0/+2
2018-05-15Lock timers on modificationJason A. Donenfeld1-7/+32
2018-05-15Avoid vendoring tooling as much as possibleJason A. Donenfeld3-32/+24
2018-05-15Add vendoring for HomebrewJason A. Donenfeld4-1/+58
2018-05-15Do not send keepalive if closedJason A. Donenfeld1-1/+1
2018-05-15Fix refactoring mistakesJason A. Donenfeld2-3/+3
2018-05-15Improve makefileJason A. Donenfeld1-2/+10
2018-05-14Use /dev/null as place holderJason A. Donenfeld1-0/+5
2018-05-14Print utun name on darwinJason A. Donenfeld2-2/+6
2018-05-14Mask IPs when showing from trieJason A. Donenfeld1-16/+6
Otherwise intermediate nodes that get collapsed to real nodes will display the wrong value.
2018-05-14Ugly hack to suppress warning on backgrounded processJason A. Donenfeld1-0/+4
2018-05-14Better common bits functionJason A. Donenfeld2-56/+44
2018-05-14Fix noise testJason A. Donenfeld1-7/+9
2018-05-14Cancelable netlink writes and better response correlationJason A. Donenfeld1-18/+22
2018-05-14Netlink sockets can't be shutdownJason A. Donenfeld4-25/+69
2018-05-14Cleanup socket fileJason A. Donenfeld2-4/+12
2018-05-14Clean moreJason A. Donenfeld7-63/+50
2018-05-14No more finalizer for rwcancelJason A. Donenfeld1-5/+0
2018-05-14No need for padding any moreJason A. Donenfeld1-1/+1
2018-05-14Shorthand for empty channelsJason A. Donenfeld3-3/+3
2018-05-14Allow go routine to shutdown in darwin tunJason A. Donenfeld1-12/+20
2018-05-14Add rwcancelation to darwinJason A. Donenfeld4-17/+73
2018-05-14Smoother netlink shutdownJason A. Donenfeld1-20/+29
2018-05-14Optional logging even in backgroundJason A. Donenfeld3-6/+16
2018-05-14Fix dummy additionsJason A. Donenfeld1-4/+3
2018-05-14Look up route for every peerJason A. Donenfeld3-61/+90
2018-05-14Ensure go routines can exitJason A. Donenfeld2-49/+52
2018-05-14Send event on erroring kqueueJason A. Donenfeld1-0/+5
2018-05-14Introduce rwcancelJason A. Donenfeld5-75/+170
2018-05-13Prettier abbreviationJason A. Donenfeld1-1/+1
2018-05-13More refactoringJason A. Donenfeld9-250/+218
2018-05-13More odds and endsJason A. Donenfeld4-36/+44
2018-05-13Fix up testsJason A. Donenfeld1-2/+2
2018-05-13Odds and endsJason A. Donenfeld16-164/+139
2018-05-13Cleanup ratelimiterJason A. Donenfeld2-14/+14
2018-05-13Rework index hashtableJason A. Donenfeld8-85/+75
2018-05-10Rewrite timers and related state machinesJason A. Donenfeld14-578/+429
2018-05-05Removed remaining signals from peerMathias Hall-Andersen7-70/+37
1. Removed remaining signals from peer struct 2. Made needAnotherKeepalive local 3. Removed environment check from warning text (annoying when debugging)
2018-05-05Reorder stopping messages so that logs are coherentJason A. Donenfeld2-6/+6
2018-05-05More robust solution to close deadlockJason A. Donenfeld3-31/+33
2018-05-05Fix infinite loop in exit routineJason A. Donenfeld2-3/+6