Import netquality 1.1.1

Initial import of the 1.1.1 source tree. Corresponds to Origin commit f9d97e368818acfe7dd44fa9fe5088b9629d0dff.

Co-authored-by: yanjiu0721 <yanjiu0721@users.noreply.github.com>
This commit is contained in:
Cursor Agentandyanjiu0721 committed 2026-11-09 23:06:30 +00:00
1 parent 948594e7c0
commit f6ffbde518
93 files changed
+10570 -1

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
[Unit]
Description=NetQuality probe node and reflector
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/netquality-reflector -mode both -bind 0.0.0.0 -tcp-port 19090 -udp-port 19091 -control-addr 127.0.0.1:8443
Restart=on-failure
RestartSec=2
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
# 二选一,不要把真实口令提交到仓库。
# 留空或不设置 NQ_NODE_TOKEN:公开节点,任何人都能用,但有并发和时长上限。
# Environment=NQ_NODE_TOKEN=replace-with-your-own-node-token
# 下面这个是反射帧里的回显口令,和节点口令不是同一个。
# Environment=NQ_TOKEN=replace-with-your-own-echo-token
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,20 @@
[Unit]
Description=NetQuality UDP/TCP reflector
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/netquality-reflector -bind 0.0.0.0 -tcp-port 19090 -udp-port 19091
Restart=on-failure
RestartSec=2
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
# Optional shared token. Uncomment and set a short passphrase (max 32 bytes).
# Environment=NQ_TOKEN=replace-me
[Install]
WantedBy=multi-user.target