5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-12-27 09:25:40 +00:00
Commit Graph

2178 Commits

Author SHA1 Message Date
Neil Alexander
1155816df8 Show both UDP and TCP listen addresses in stdout (#51) 2018-03-07 09:41:04 +00:00
Arceliar
7489704788
Merge pull request #49 from Arceliar/misc-cleanup
Misc cleanup
2018-03-05 23:04:34 -06:00
Arceliar
b6dd0c5248 try to fix the pull/N issue with circleci again 2018-03-05 22:59:48 -06:00
Arceliar
9553b1ef8f apparently PRs get a slash in the branch name, which causes problems for the circleci builds 2018-03-05 22:47:50 -06:00
Arceliar
206570770a re-add a couple files 2018-03-05 22:12:54 -06:00
Arceliar
c74ec0e32f cleanup of misc files 2018-03-05 22:06:32 -06:00
Arceliar
c1fe7d271e
Merge pull request #46 from yggdrasil-network/semver
Use semantic versioning (fixes #45)
2018-03-05 16:45:09 -06:00
Neil Alexander
b1380baa9f Update versioning to v1.2.3 where derived from the tag and 3 is commits since last tag 2018-03-05 22:14:36 +00:00
Neil Alexander
c57cf73219 Try symbolic-ref to get branch name 2018-03-05 21:54:30 +00:00
Neil Alexander
d58c971559 Fix bugs in CircleCI naming 2018-03-05 20:26:55 +00:00
Neil Alexander
6366558258 Use new semver versioning for CircleCI builds 2018-03-05 20:20:17 +00:00
Neil Alexander
a75ddff9f3 Ignore non-version tags 2018-03-05 20:06:38 +00:00
Neil Alexander
f4aa4f1848 Match v* tags only 2018-03-05 19:54:18 +00:00
Neil Alexander
3e6530c813 Propose semver version script for #45 2018-03-05 19:34:23 +00:00
Arceliar
4f32d4e780
Merge pull request #40 from neilalexander/netbsd
Attempt to support NetBSD
2018-03-04 18:06:59 -06:00
Neil Alexander
64d4bbbb53 Update CircleCI config.yml to build for BSDs 2018-03-05 00:03:02 +00:00
Neil Alexander
cce10cdb8a Update README.md 2018-03-05 00:00:01 +00:00
Neil Alexander
166d25619d Attempt to support NetBSD
This code actually consolidates a lot of the BSD code together, and even setting the interface MTU with SIOCSIFMTU seems to work fine.

What doesn't work though is setting the interface address using SIOCSIFADDR_IN6, which I attempted to plagiarise from the Darwin code.

As a fallback, ifconfig is used, which solves the problem enough to get it working.
2018-03-04 23:47:01 +00:00
Arceliar
b30b6022a8
Merge pull request #39 from Arceliar/fd
Don't use water.Interface.FD()
2018-03-04 14:17:01 -06:00
Arceliar
cd0d1a1d26 get the fd instead of depending on water to do it 2018-03-04 13:57:34 -06:00
Neil Alexander
3eccca62cc
Merge pull request #38 from Arceliar/bsdedupe
Deduplicate some BSD code
2018-03-04 19:23:27 +00:00
Arceliar
039c4a5a35 only try to build on openbsd and freebsd for now, darwin needs work too 2018-03-04 11:02:54 -06:00
Arceliar
478b80a07a cleanup 2018-03-04 10:56:46 -06:00
Arceliar
e7726cfb00 deduplicate some bsd tuntap code, still untested 2018-03-04 10:55:32 -06:00
Neil Alexander
91b08bf474
Update README.md 2018-03-04 16:44:59 +00:00
Arceliar
a5f053448b
Merge pull request #36 from neilalexander/freebsd
Adds support for FreeBSD
2018-03-04 10:30:07 -06:00
Neil Alexander
c30792245a Add FreeBSD support in TAP mode 2018-03-04 16:24:50 +00:00
Neil Alexander
57777b6152
Merge pull request #34 from neilalexander/master
Tag CircleCI build artifacts with version and branch
2018-03-04 11:17:47 +00:00
Neil Alexander
e43776f90e Add version file 2018-03-04 11:09:17 +00:00
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