Commit Graph

9 Commits

Author SHA1 Message Date
zwf
15cfa3bf62
exclude static route with via ip in route helper ()
When adding Routes to zerotier's Managed Routes, the helper will
add a route rule to the device that does not have a via ip,
so that the address of the Destination segment cannot be routed
correctly within the container.
Here, based on the contents of the routes key in
`zerotier-cli -j listnetworks`,
by determining whether the via key has an ip address,
if it is not null, helper will no longer add route rules.
2023-01-20 11:57:13 -08:00
Joseph Henry
98b190c626
Minor adjustment to packaging README 2022-11-14 15:25:50 -08:00
DQ
fac212fafa
Synology Docker: update entrypoint.sh ()
* update entrypoint.sh

- propagate TERM/QUIT/INT signals
- add some basic logging
- check for unbound variables
- update "route helper"
   - run as subshell, exit if zerotier-one is unavailable so pod can be restarted
   - only call `zerotier-cli` once, avoids race conditions
   - only add default routes if allowDefault is enabled for that network
   - add some more error handling
   - sleep after all networks are processed

* switch to polling ZT service at startup

Co-authored-by: Daniel Quinlan <dq@chaosengine.net>
2022-07-15 11:03:20 -05:00
Joseph Henry
7d4e4ac646
Update snapcraft 2022-06-14 15:20:42 -07:00
Joseph Henry
9b42ced27f
Tweak DSM7 docker build target 2022-05-31 12:48:52 -07:00
Joseph Henry
4f80e79886
Add QNAP build scripts 2022-04-26 15:04:19 -07:00
Joseph Henry
1a5274b86b
Add Asustor build scripts 2022-04-26 08:33:48 -07:00
Joseph Henry
acd1f24a3f
Add Western Digital apkg build scripts 2022-04-25 17:47:58 -07:00
Joseph Henry
a74532fa0b
Move Snap and Synology packaging to new pkg dir 2022-04-25 17:47:15 -07:00