1475 Commits

Author SHA1 Message Date
Neil Alexander
de2aff2758
Refactor multicast so that it creates a new TCP listener for each interface with LL addresses (so that it will not break if Listen is not set with a wildcard address) 2019-03-06 11:06:13 +00:00
William Wennerström
f4ccbe6c94
contrib/busybox-init: add reload and use -useconffile
+ Added reload command.
+ Use -useconffile instead, as it's required for reloading.
2019-03-06 11:30:49 +01:00
Neil Alexander
2419b61b2c
Merge branch 'develop' of github.com:yggdrasil-network/yggdrasil-go into multilink 2019-03-05 22:10:36 +00:00
Neil Alexander
03b5261f1c
Merge pull request #366 from willeponken/add-contrib-openrc
contrib/openrc: add init file for OpenRC
2019-03-05 22:09:35 +00:00
Neil Alexander
19267beb9e
Merge branch 'develop' into multilink 2019-03-05 22:07:20 +00:00
William Wennerström
76dd1f6345
contrib/openrc: I like symmetry 2019-03-05 22:27:51 +01:00
William Wennerström
1097c1c0c9
contrib/openrc: add reload command 2019-03-05 20:50:24 +01:00
William Wennerström
26a952aa6c
contrib/openrc: add init file for OpenRC 2019-03-05 20:35:02 +01:00
Neil Alexander
d5a9c39dab
Merge pull request #365 from neilalexander/fix362
Add getTunnelRouting and setTunnelRouting
2019-03-05 18:24:07 +00:00
Neil Alexander
236692bdc4
Add getTunnelRouting and setTunnelRouting (fixes #362) 2019-03-05 17:55:46 +00:00
Neil Alexander
fbc0b866fc
Merge pull request #364 from neilalexander/fix363
Fix getTunTap
2019-03-05 17:46:08 +00:00
Neil Alexander
a17d6d3a68
Fix getTunTap (fixes #363) 2019-03-05 17:37:26 +00:00
Neil Alexander
e71108dd26
Fix date in changelog.md 2019-03-05 09:16:44 +00:00
Neil Alexander
2ef823e69c
Fix deadlock when reconfiguring multicast 2019-03-04 23:16:46 +00:00
Neil Alexander
88925d3e06
Centralise call/listen functions in link.go 2019-03-04 22:45:35 +00:00
Neil Alexander
61774aed3b
Show proto in admin socket, link linkInfo from peer, other fixes 2019-03-04 20:33:08 +00:00
Neil Alexander
2b8648e2b3
Fix debug builds 2019-03-04 19:04:09 +00:00
Neil Alexander
0be0b078cb
Remove unused types in link.go 2019-03-04 19:00:06 +00:00
Neil Alexander
eeede4e6d0
Fix some obvious concurrency bugs 2019-03-04 18:47:40 +00:00
Neil Alexander
82bb95b77f
Some more (inelegant) multiple listener code plus some reconfigure support 2019-03-04 18:41:32 +00:00
Neil Alexander
be8db0c120
Support multiple TCP listeners 2019-03-04 17:52:57 +00:00
Neil Alexander
ae79246a66
Move TCP under link.go 2019-03-04 17:09:48 +00:00
Neil Alexander
ddd1ac4606
Fix launchd file for macOS to use -useconffile 2019-03-04 08:44:25 +00:00
Neil Alexander
1e2436f5c1
Merge pull request #359 from neilalexander/macospkg
Fix macOS package
2019-03-04 08:38:41 +00:00
Neil Alexander
7c435e6c1b
Fix macOS package 2019-03-04 08:35:45 +00:00
Neil Alexander
035ace9824
Merge pull request #358 from neilalexander/unixadmin
Add a timeout on the UNIX admin socket check
2019-03-03 19:37:14 +00:00
Neil Alexander
918ce5a3fc
Add a timeout on the UNIX admin socket check 2019-03-03 19:32:36 +00:00
Arceliar
be2f46ece8
Merge pull request #356 from neilalexander/unixadmin
Try to clean up UNIX admin socket
2019-03-03 13:15:14 -06:00
Neil Alexander
c940bae9e3
Update output 2019-03-03 14:15:01 +00:00
Neil Alexander
8f66d5b8dd
Try to clean up UNIX admin socket 2019-03-03 14:09:54 +00:00
Neil Alexander
8342dfc6d5
Merge pull request #351 from yggdrasil-network/revert-333-develop
Revert "Simplifying Dockerfile"
2019-03-02 15:29:25 +00:00
Neil Alexander
857a33c91b
Revert "Simplifying Dockerfile" 2019-03-02 15:26:55 +00:00
Neil Alexander
46a5c7cccf
Merge pull request #333 from cwinfo/develop
Simplifying Dockerfile
2019-03-02 10:39:39 +00:00
Neil Alexander
3c733eadb4
Merge pull request #350 from neilalexander/awdl
Wake AWDL for multicast peering on macOS
2019-03-02 10:33:47 +00:00
Arceliar
98a84ec7e5
Merge pull request #338 from Arceliar/fixes
Fixes
2019-03-01 19:18:45 -06:00
Neil Alexander
b401b92a75
Try updating circleci workflow 2019-03-02 00:38:18 +00:00
Neil Alexander
12e088ab9e
Remove unnecessary Cgo line 2019-03-01 19:34:53 +00:00
Neil Alexander
e99903bf72
Wake up AWDL on Darwin if awdl0 is an enabled multicast interface 2019-03-01 19:26:50 +00:00
Neil Alexander
a6ae159329
Give some more feedback that a configuration reload actually happens 2019-03-01 18:26:52 +00:00
Neil Alexander
58757bb955
Merge pull request #349 from willeponken/add-busybox-init
contrib/busybox-init: add init.d script for busybox init
2019-03-01 16:34:03 +00:00
William Wennerstr?m
ef77822897
contrib/busybox-init: add init.d script for busybox init 2019-03-01 17:26:07 +01:00
Arceliar
304f22dc1d re-enable session workers in a way that doesn't block and drops packets before decrypting if necessary 2019-02-28 20:05:21 -06:00
Arceliar
06df791efc buffer packets moving from the switch to the router, allow them front drop if there's too many 2019-02-28 19:08:56 -06:00
Arceliar
371b5ca6a2 Change log message about AllowedEncryptionPublicKeys from Debug to Warn 2019-02-28 18:49:34 -06:00
Arceliar
2569242050 fixes to linkInterface.handler() 2019-02-26 21:07:56 -06:00
Arceliar
def4fb3587 fix timeout and improve logging on connection close 2019-02-24 14:48:16 -06:00
Arceliar
654407dc6d close long-dead connections in link.go instead of in switch.go, this is important in case a connection opens but never bothers to send even one switch message 2019-02-24 13:24:55 -06:00
Arceliar
bb3edd5e55 add the relevant error to the default logging when a connection is closed 2019-02-24 12:59:30 -06:00
Arceliar
042adb0516 make sure the only place traffic is ever dropped is in the switch. this currently disables the dedicated crypto workers 2019-02-23 00:07:00 -06:00
Arceliar
68dce0dd74 Merge branch 'switch' into session 2019-02-22 23:16:38 -06:00