5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-09 16:20:26 +00:00
Commit Graph

2226 Commits

Author SHA1 Message Date
Neil Alexander
c4ac0a90ac Add the ability to see switch ports and DHT 2018-01-21 12:57:54 +00:00
Neil Alexander
b754d68068 Add an admin socket 2018-01-21 00:17:15 +00:00
Arceliar
502ab3cfaa check that the source IP inside a packet matches the address or prefix for the session that transmitted it 2018-01-19 17:33:04 -06:00
Arceliar
f929df1ea9 minor performance adjustments 2018-01-18 18:48:34 -06:00
Arceliar
e3d87b8ee6
Merge pull request #3 from neilalexander/master
Update tun_darwin.go with working interface code using syscalls
2018-01-15 08:57:37 -06:00
Neil Alexander
fbe0afa625 Merge remote-tracking branch 'origin/macos-interface' 2018-01-15 14:46:21 +00:00
Arceliar
6e5903456d doc updates 2018-01-15 08:43:06 -06:00
Neil Alexander
62c45e7cc7 Use MTU from interface definition 2018-01-15 14:39:07 +00:00
Neil Alexander
d7be706413 Move to unix.Syscall etc and tidy up 2018-01-15 14:35:37 +00:00
Neil Alexander
5d2dd061f0 Fix definition of SIOCAIFADDR_IN6 2018-01-15 14:14:18 +00:00
Arceliar
64b86a1a2b
Merge pull request #2 from neilalexander/master
Add tun_darwin.go
2018-01-15 06:45:21 -06:00
Neil Alexander
c96f00666b Add tun_darwin.go which uses ifconfig instead of iproute2 2018-01-15 11:46:31 +00:00
Neil Alexander
8e86c4b853 Merge /Users/neilalexander/Desktop/Projects/yggdrasil-go into macos-interface 2018-01-15 11:22:54 +00:00
Arceliar
75965b6da4 Switch connAddr (udp map key) from string to a struct that allocates less. Reduce some other allocations. Use larger channel buffers to reduce backpressure from runtime jitter. 2018-01-13 07:26:26 -06:00
Arceliar
ef1e0c902f Add regexp to limit which link-local IPv6 zones allow peering, and check that a peer isn't from within the networks address block (prevents accidental tunneling) 2018-01-09 02:08:54 -06:00
Neil Alexander
d69190715f Added a darwin tun module. It should work, but it doesn't! 2018-01-06 16:39:30 +00:00
Neil Alexander
c3600d14d6 Implement a tun interface to reduce dependency on Water library 2018-01-05 23:35:59 +00:00
Arceliar
b76fcbb402
Merge pull request #1 from neilalexander/master
Add support for tun ifname on Linux, run gofmt
2018-01-04 16:50:27 -06:00
Neil Alexander
b3ebe76b59 Run gofmt -s -w . 2018-01-04 22:37:51 +00:00
Neil Alexander
ae7b07ae6a Move Linux-specific ifname logic to tun_linux.go and place a generic in tun_other.go 2018-01-04 22:34:17 +00:00
Neil Alexander
1c799b305d Add support for specifying tun device name 2018-01-04 13:31:48 +00:00
Arceliar
e5d526881d Disable tun panic on IPv4 packets and add a link to a Vyatta router config 2018-01-03 15:27:13 -06:00
Arceliar
82fd435211 Avoid sending unnecessairy udp key packets, and try config peers less often 2018-01-02 18:45:09 -06:00
Arceliar
c3e236b7fb start adding some better documentation 2017-12-30 21:54:21 -06:00
Arceliar
d7e6d814a0 first code/readme/license commit 2017-12-28 22:16:20 -06:00
Arceliar
35852be36d
Initial commit 2017-12-28 22:03:14 -06:00