aboutsummaryrefslogtreecommitdiffstats
path: root/device/conn.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-12-08conn: new package that splits out the Bind and Endpoint typesdc/branchDavid Crawshaw1-187/+0
The sticky socket code stays in the device package for now, as it reaches deeply into the peer list. Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2019-05-14global: regroup all importsJason A. Donenfeld1-2/+3
2019-05-09conn: remove scope when sanity checking IP address formatJason A. Donenfeld1-1/+7
2019-03-21receive: implement flush semanticsJason A. Donenfeld1-1/+1
2019-03-03global: begin modularizationJason A. Donenfeld1-2/+2
2019-02-05Extend structs rather than embed, when possibleJason A. Donenfeld1-14/+14
2019-02-05Update copyrightJason A. Donenfeld1-2/+2
2018-09-16global: fix up copyright headersJason A. Donenfeld1-2/+1
2018-05-23CleanupJason A. Donenfeld1-2/+0
2018-05-20Give bind its own wait groupJason A. Donenfeld1-2/+4
In a waitgroup, all waits must come after all adds
2018-05-19Add copyright headersMathias Hall-Andersen1-0/+1
2018-05-18Avoid using v6-mapped-v4Jason A. Donenfeld1-0/+4
2018-05-16Finer-grained start-stop synchronizationJason A. Donenfeld1-0/+6
2018-05-14Look up route for every peerJason A. Donenfeld1-1/+1
2018-05-13More refactoringJason A. Donenfeld1-6/+14
2018-05-03global: Add SPDX tags and copyright headerJason A. Donenfeld1-0/+5
Mathias should probably add his copyright headers to each file too.
2018-02-18Seperated fwmark update code into functionMathias Hall-Andersen1-4/+33
2018-02-04Align with go library layoutMathias Hall-Andersen1-0/+0
2018-02-02Rework of entire locking systemMathias Hall-Andersen1-9/+8
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.
2018-01-26Added initial version of peer teardownMathias Hall-Andersen1-10/+9
There is a double lock issue with device.Close which has yet to be resolved.
2018-01-13Work on timer teardown + bug fixesMathias Hall-Andersen1-7/+4
Added waitgroups to peer struct for routine start / stop synchronisation
2018-01-04Revert "Peer timer teardown"Mathias Hall-Andersen1-1/+1
This reverts commit d73f960aab86b9a12b0b7d18aa80ce1d4f130695. Problems with deadlocking arises due to orphaned packets in per-peer queues. Additional work on this issue continues in seperate branch.
2017-12-29Peer timer teardownMathias Hall-Andersen1-1/+1
2017-11-29Added cross namespace TUN status detectionMathias Hall-Andersen1-2/+2
2017-11-19Better naming of bind helpersMathias Hall-Andersen1-6/+5
2017-11-19Begin generic Bind implementationMathias Hall-Andersen1-3/+1
2017-11-18Moved endpoint into interface and simplified peerMathias Hall-Andersen1-8/+12
2017-11-17Ported remaining netns.shMathias Hall-Andersen1-0/+16
- Ported remaining netns.sh tests - Begin work on generic implementation of bind interface
2017-11-14Initial working source cachingMathias Hall-Andersen1-2/+7
2017-11-11Fixed blocking reader on closed socketMathias Hall-Andersen1-8/+8
2017-11-11Fixed port endiannessMathias Hall-Andersen1-15/+30
2017-10-27Fixed message header length in conn_linuxMathias Hall-Andersen1-0/+7
2017-10-16Initial implementation of source cachingMathias Hall-Andersen1-5/+16
Yet untested.
2017-10-08Added new UDPBind interfaceMathias Hall-Andersen1-65/+22
2017-10-07Begin incorporating new src cache into receiveMathias Hall-Andersen1-37/+69
2017-10-06Definition of platform specific socket bindMathias Hall-Andersen1-1/+1
2017-09-26Sleep to close fdJason A. Donenfeld1-0/+5
2017-09-24Begin work on source address caching (linux)Mathias Hall-Andersen1-0/+22
2017-08-22Add support for fwmark on linuxMathias Hall-Andersen1-1/+15
2017-08-17Added missing IF index checkMathias Hall-Andersen1-6/+14
2017-08-11Improved receive.goMathias Hall-Andersen1-0/+40
- 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