5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-12-29 19:25:39 +00:00
Commit Graph

1082 Commits

Author SHA1 Message Date
Arceliar
abd8b69979 send a switch message immediately when peering, and use OS-level TCP keep-alive (shouldn't matter right now, since we have application-level keep-alive that preempts it, but important later) 2018-12-14 18:15:35 -06:00
Arceliar
06f58e5168
Merge pull request #250 from neilalexander/refactor
Refactoring
2018-12-14 17:57:26 -06:00
Neil Alexander
affddfb2fe
Merge remote-tracking branch 'origin/develop' into metadata 2018-12-14 22:33:00 +00:00
Neil Alexander
f9dc300787
Define Adapter base type/interface 2018-12-14 18:29:00 +00:00
Neil Alexander
8045cb4dc3
Define generic adapter type, rename tunDevice to tunAdapter 2018-12-14 18:21:08 +00:00
Neil Alexander
f28360ce4d
Fix debug builds (foiled by debug builds every time) 2018-12-14 18:10:39 +00:00
Neil Alexander
2a38ad07cd
Don't send ICMPv6 back when tun disabled 2018-12-14 18:08:40 +00:00
Neil Alexander
9eaa2566c1
Parameterise tun.init 2018-12-14 18:08:13 +00:00
Neil Alexander
1a7df477b0
Also correct tcp: into tcp:// 2018-12-14 17:55:07 +00:00
Neil Alexander
3ca5f10733
Don't try to correct peers with no schemes in addPeer 2018-12-14 17:52:54 +00:00
Neil Alexander
ccf6ce07a4
Fix Peers and InterfacePeers when not in correct format 2018-12-14 17:49:42 +00:00
Neil Alexander
10157483f9
Move tunDevice into router 2018-12-14 17:35:02 +00:00
Neil Alexander
d9b376b3ad
Merge pull request #249 from neilalexander/deb
Update debian package again
2018-12-14 14:29:15 +00:00
Neil Alexander
e1c7983752
Update debian package to fix systemd disabling (not good for remote systems) and add group yggdrasil for admin socket/conf 2018-12-14 14:25:26 +00:00
Arceliar
ce98aac504
Merge pull request #245 from neilalexander/deb
Update debian package behavior
2018-12-12 17:39:22 -06:00
Neil Alexander
a9907a7878
Fix debug builds after 64060a4 2018-12-12 22:59:55 +00:00
Neil Alexander
64060a447c
Remove metadata-peer association until we have some sensible way to cache it 2018-12-12 22:58:16 +00:00
Neil Alexander
2056e75ad5
Remove friendlyname fields from yggdrasilctl 2018-12-12 22:51:00 +00:00
Neil Alexander
74de8c9416
Consistent function naming for metadata 2018-12-12 22:48:04 +00:00
Neil Alexander
042a3400fe
Wrap the metadata with a mutex to guarantee thread safety across core/router/sessions 2018-12-12 22:40:49 +00:00
Neil Alexander
73ed563dde
Update debian package behavior
It now won't enable itself automatically on install and it will
only start Yggdrasil if enabled in systemd. It also won't break
during install on systems where systemd is not present.
2018-12-12 20:29:56 +00:00
Neil Alexander
97464feba9
Working metadata exchange 2018-12-12 19:51:28 +00:00
Neil Alexander
6200136fce
Merge branch 'descriptive' into metadata 2018-12-12 18:04:49 +00:00
Neil Alexander
7c51d9e971
Merge pull request #231 from yggdrasil-network/develop
Version 0.3
2018-12-12 10:02:00 +00:00
Arceliar
f3e5513f62
Merge pull request #243 from Arceliar/doc
minor whitepaper updates for v0.3
2018-12-12 01:55:43 -06:00
Arceliar
871d6119ec minor whitepaper updates for v0.3 2018-12-12 01:47:31 -06:00
Christer Warén
e5218335c8
Merge pull request #1 from yggdrasil-network/develop
Branch Develop: Base to Fork
2018-12-12 04:08:34 +02:00
Arceliar
6901e2fc9a
Merge pull request #238 from neilalexander/afunix
Use AF_UNIX socket by default for admin API
2018-12-10 17:34:36 -06:00
Arceliar
977a0e7215
Merge pull request #239 from neilalexander/getroutes
CKR tweaks
2018-12-10 17:27:58 -06:00
Neil Alexander
90ace46587
Enforce CKR cache size more strongly 2018-12-10 22:30:31 +00:00
Neil Alexander
65e34bbbab
Enforce maximum CKR routing cache size 2018-12-10 22:19:08 +00:00
Neil Alexander
f09adc2192
Update getRoutes format 2018-12-10 22:04:37 +00:00
Neil Alexander
3eb1a40c68
Update CHANGELOG.md 2018-12-10 11:34:37 +00:00
Neil Alexander
c78e1b98cc
Show yggdrasilctl log buffer on panic 2018-12-10 11:29:42 +00:00
Neil Alexander
b4b3609678
Really use the correct endpoint 2018-12-10 11:12:40 +00:00
Neil Alexander
d29b5a074a
Try to use default config file location to find AdminListen when yggdrasilctl is not given an endpoint 2018-12-10 11:09:10 +00:00
Neil Alexander
cd11d2eccd
Produce more meaningful logging from yggdrasilctl when things go wrong 2018-12-10 10:54:41 +00:00
Neil Alexander
dff1dca19c
Add DefaultConfigFile to defaults for yggdrasilctl 2018-12-10 10:20:59 +00:00
Neil Alexander
2928fcb046
Update CHANGELOG.md 2018-12-10 00:42:56 +00:00
Neil Alexander
8aaaeb26eb
Default to /var/run/yggdrasil.sock for admin on Linux, BSDs 2018-12-10 00:37:32 +00:00
Neil Alexander
bbe2f56b74
Default to /var/run/yggdrasil.sock for admin on darwin/macOS 2018-12-10 00:31:31 +00:00
Neil Alexander
74a904d04c
Don't os.Chmod if we suspect the socket belongs to an abstract namespace 2018-12-10 00:26:12 +00:00
Neil Alexander
06c6dfc67f
Complain if socket file already exists 2018-12-10 00:19:21 +00:00
Neil Alexander
f791df4977
Try to chmod 660 the admin socket if using AF_UNIX 2018-12-10 00:00:23 +00:00
Neil Alexander
14f4da764c
Merge pull request #236 from neilalexander/rpmspec
Add starting point for an RPM spec file
2018-12-09 23:36:18 +00:00
Neil Alexander
f6cdb8e38e
Update CHANGELOG.md 2018-12-09 23:35:40 +00:00
Neil Alexander
08ad163dfe
Add starting point for an RPM spec file 2018-12-09 23:10:12 +00:00
Neil Alexander
1892fdc429
Merge pull request #235 from neilalexander/build
Add -t, -c and -l to build script
2018-12-09 22:36:04 +00:00
Neil Alexander
bec044346e
Add -t, -c and -l to build script for specifying DWARF tables, GCFLAGS and LDFLAGS 2018-12-09 22:31:58 +00:00
Neil Alexander
ff49ca6d30
Merge pull request #234 from neilalexander/admin
Allow disabling admin socket
2018-12-09 17:54:37 +00:00