5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 08:20:28 +00:00
Commit Graph

2249 Commits

Author SHA1 Message Date
Neil Alexander
54a742d576 Set explicit version in CIBUILD 2018-03-04 10:58:10 +00:00
Neil Alexander
a92e6c2588
Merge pull request #29 from Arceliar/netlink
Linux: use netlink instead of ip
2018-03-04 10:47:34 +00:00
Neil Alexander
3deadee42e Tag the build artifacts with version and branch 2018-03-04 01:29:00 +00:00
Neil Alexander
6424b07ad8
Merge pull request #28 from Arceliar/panic
tun panic if from debug
2018-03-03 23:36:18 +00:00
Arceliar
5ec6265a70 use netlink instead of ip commands to set address/mtu and bring up the tuntap device on linux 2018-03-03 16:41:36 -06:00
Arceliar
0460fdd301 panic if tun.write or tun.read returns an error and was launched from debug.go, since there's no way to recover in these scenarios 2018-03-03 13:56:26 -06:00
Arceliar
56fd7bd4d4
Merge pull request #27 from Arceliar/doc
update doc to remove statements with a first person perspective
2018-03-03 13:52:09 -06:00
Arceliar
3d0eac21bb update doc to remove statements with a first person perspective 2018-03-03 13:49:26 -06:00
Arceliar
b1a4951725
Update README.md
add circleci status
2018-03-03 12:29:47 -06:00
Arceliar
233b01bedc
Update README.md 2018-03-03 12:12:31 -06:00
Arceliar
a367f2ca17 gofmt 2018-03-03 11:49:24 -06:00
Arceliar
55ee8f1afa
Merge pull request #26 from Arceliar/nodrop
Nodrop
2018-03-03 11:25:22 -06:00
Arceliar
0578a9f273 manual merge 2018-03-03 11:07:08 -06:00
Arceliar
606fb59c07
Merge pull request #25 from neilalexander/contrib
Add a script to generate .deb files for Debian amd64/i386
2018-03-03 11:02:02 -06:00
Arceliar
99d0740eaa
Merge pull request #23 from neilalexander/bsd
Add support for running OpenBSD
2018-03-03 11:01:24 -06:00
Arceliar
3f85c7a9a5
Merge pull request #24 from neilalexander/adminfunctions
Add admin functions for adding peers and modifying TUN/TAP
2018-03-03 10:57:19 -06:00
Neil Alexander
4e5627f933 Update default interface MTU to use per-platform instead of global value 2018-03-03 12:43:39 +00:00
Neil Alexander
4917ea3dd2 Per-platform TUN defaults 2018-03-03 12:30:54 +00:00
Neil Alexander
bec898a326 Don't allow exceeding maximum MTU for a given platform 2018-03-03 11:47:14 +00:00
Neil Alexander
674830799d
Add branch name into repo name 2018-03-02 22:36:22 +00:00
Neil Alexander
3c1e00f23f
Add CircleCI config.yml
This is an alternative to the TravisCI build file. CircleCI can automatically collect build artifacts which is nice!
2018-03-02 19:13:20 +00:00
Neil Alexander
390f7527f6
Update generate.sh 2018-03-01 18:28:37 +00:00
Neil Alexander
9285e0fe25 Mismatching GOARCH and debian arch 2018-03-01 18:06:53 +00:00
Neil Alexander
3089f2326e Add generate script for Debian .debs into contrib 2018-03-01 18:01:18 +00:00
Neil Alexander
7c0102e43d Be a little bit less verbose on OpenBSD 2018-03-01 15:31:49 +00:00
Neil Alexander
6640b33334 Fix using 'auto' as device name on OpenBSD - default to /dev/tap0 2018-03-01 15:19:20 +00:00
Neil Alexander
24be3f1d67 Turns out FreeBSD is a bit different so restrict this to OpenBSD for now 2018-03-01 15:11:12 +00:00
Neil Alexander
90393ae03b Set interface flags properly on OpenBSD 2018-03-01 15:02:53 +00:00
Neil Alexander
9e4d169208 Set interface IP and MTU on BSD 2018-03-01 13:37:05 +00:00
Neil Alexander
f8dda26dba Add BSD support (openbsd, freebsd, solaris) 2018-03-01 11:49:49 +00:00
Neil Alexander
ebc4eacee4 Allow sane defaults on setTunTap 2018-02-28 15:27:58 +00:00
Neil Alexander
fdd32b9571 Add setTunTap 2018-02-28 15:15:57 +00:00
Neil Alexander
2b48fd1fce Add addPeer to admin socket 2018-02-28 13:43:06 +00:00
Arceliar
ddc4773b19 don't drop send/recv traffic going through the crypto workers, just block until they're free (TODO run further tests to make sure this doesn't cycle/deadlock) 2018-02-26 18:12:28 -06:00
Arceliar
e113b8d530 incrase max MTU 2018-02-25 21:56:09 -06:00
Arceliar
33c9f74f48
Merge pull request #22 from Arceliar/udp_mtu_fix
Mostly working PMTU discovery when going over UDP links
2018-02-25 20:43:10 -06:00
Arceliar
63b55cda62 Mostly working PMTU discovery when going over UDP links 2018-02-25 20:24:36 -06:00
Arceliar
0fae932512
Merge pull request #21 from Arceliar/testing
Breaking wire format cleanup and other updates
2018-02-23 17:10:45 -06:00
Arceliar
0470f6f1c1 cleanup 2018-02-23 13:04:52 -06:00
Arceliar
bb3ae8b39b temporarily limit PMTU to 2048, as a workaround to some pathelogical behavior where a TCP stream carried over a UDP peer can throttle down to 0 in the presence of significant packet loss 2018-02-23 12:46:22 -06:00
Arceliar
b4ea98862b
Merge pull request #20 from neilalexander/multithreadgenkeys
Multithread misc/genkeys.go
2018-02-21 12:03:28 -06:00
Neil Alexander
7101e147f4 Multithread misc/genkeys.go 2018-02-21 15:57:03 +00:00
Arceliar
d3dc7765f2 trying to debug UDP+large MTU issues 2018-02-20 17:31:12 -06:00
Arceliar
a81c361484 tcp reconnect bufix, test with bufio, and switch back to tcp auto-peering by default to continue testing 2018-02-19 23:22:36 -06:00
Arceliar
a21a039b57 remove unused field from peer 2018-02-19 19:47:11 -06:00
Arceliar
4045597516 Use larger UDP chunks for link-local IP and let the OS fragment it. Switch to UDP for link-local peers. Minor code cleanup for TCP. 2018-02-19 19:34:51 -06:00
Arceliar
8c7d514032 Merge branch 'master' into testing 2018-02-19 18:36:06 -06:00
Arceliar
4f710ac2da bash -> sh 2018-02-18 16:07:27 -06:00
Arceliar
a1afebc0df
Merge pull request #19 from neilalexander/sigterm
Catch SIGTERM and Windows service termination
2018-02-18 15:35:47 -06:00
Neil Alexander
aef62afb1b gofmt -s -w yggdrasil.go 2018-02-18 21:32:55 +00:00