mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 22:55:06 +03:00
1. added multipath protocol and schema suport
2. added SCTP protocol and schema support 3. added set of NAS models support (Asustor, ReadyNAS, Drobo, QNAP, WD, Synology, Terramaster) 4. moved to fc00::/7 private segment 5. added Windows, MacOS and Linux UI for peers edit and current status
This commit is contained in:
parent
cfa293d189
commit
d8a4000141
198 changed files with 8589 additions and 697 deletions
19
contrib/ui/nas-netgear-os6/package/apps/mesh/fvapp-mesh.service
Executable file
19
contrib/ui/nas-netgear-os6/package/apps/mesh/fvapp-mesh.service
Executable file
|
@ -0,0 +1,19 @@
|
|||
[Unit]
|
||||
Description=RiV-mesh is an early-stage implementation of a fully end-to-end encrypted IPv6 network
|
||||
|
||||
[Service]
|
||||
Type=idle
|
||||
Group=admin
|
||||
ProtectHome=true
|
||||
ProtectSystem=true
|
||||
SyslogIdentifier=mesh
|
||||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW CAP_NET_BIND_SERVICE
|
||||
ExecStartPre=+-/sbin/modprobe tun
|
||||
ExecStart=/apps/mesh/bin/mesh -useconffile /etc/mesh.conf -httpaddress http://localhost:19019 -wwwroot /apps/mesh/www -logto /apps/mesh/var/log/mesh.log
|
||||
ExecStop=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
12
contrib/ui/nas-netgear-os6/package/apps/mesh/https.conf
Executable file
12
contrib/ui/nas-netgear-os6/package/apps/mesh/https.conf
Executable file
|
@ -0,0 +1,12 @@
|
|||
RewriteEngine on
|
||||
RewriteRule "(.*)/apps/mesh$" "$1/apps/mesh/" [R=301,L]
|
||||
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
|
||||
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
|
||||
|
||||
<Location /apps/mesh/>
|
||||
Include "/etc/frontview/apache/Admin_Auth.conf"
|
||||
SSLRequireSSL
|
||||
ProxyPreserveHost On
|
||||
ProxyPass "http://127.0.0.1:19019/"
|
||||
ProxyPassReverse "http://127.0.0.1:19019/"
|
||||
</Location>
|
10
contrib/ui/nas-netgear-os6/package/apps/mesh/var/lib/mesh/hooks/deviceinfo
Executable file
10
contrib/ui/nas-netgear-os6/package/apps/mesh/var/lib/mesh/hooks/deviceinfo
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
get_info() {
|
||||
rn_nml -g systeminfo | tr '\n' ' ' | sed -r "s|.*<$1>(.*)</$1>.*|\1|"
|
||||
}
|
||||
echo vendor=Netgear
|
||||
echo vendorOperatingSystemName="$(get_info Firmware_Name)"
|
||||
echo firmwareVersion="$(get_info Firmware_Version)"
|
||||
echo model="$(get_info Model)"
|
||||
echo serial="$(get_info Serial)"
|
BIN
contrib/ui/nas-netgear-os6/package/apps/mesh/www/assets/partner-logo.png
Executable file
BIN
contrib/ui/nas-netgear-os6/package/apps/mesh/www/assets/partner-logo.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 6.6 KiB |
9
contrib/ui/nas-netgear-os6/package/apps/mesh/www/assets/partner.css
Executable file
9
contrib/ui/nas-netgear-os6/package/apps/mesh/www/assets/partner.css
Executable file
|
@ -0,0 +1,9 @@
|
|||
.nas-apps-config-form-app-logo {
|
||||
height: 110px;
|
||||
background: url(logo.png) left center no-repeat;
|
||||
background-size: 262px 56px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #692782!important;
|
||||
}
|
10
contrib/ui/nas-netgear-os6/package/apps/mesh/www/assets/properties.js
Executable file
10
contrib/ui/nas-netgear-os6/package/apps/mesh/www/assets/properties.js
Executable file
|
@ -0,0 +1,10 @@
|
|||
var ed = {
|
||||
partnerId: 252,
|
||||
applicationName: 'RiV-Mesh App',
|
||||
nasOSName: 'Ready NAS OS 6',
|
||||
vaultUrl: "https://github.com/RiV-chain/RiV-mesh",
|
||||
basicEDWebsite: "https://github.com/RiV-chain/RiV-mesh",
|
||||
nasVisitEDWebsiteLogin: "https://github.com/RiV-chain/RiV-mesh",
|
||||
nasVisitEDWebsiteSignup: "https://github.com/RiV-chain/RiV-mesh",
|
||||
nasVisitEDWebsiteLoggedin: "https://github.com/RiV-chain/RiV-mesh"
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue