feat: add backend, admin console and live monitoring

Integrate tunasync management, SQLite authentication and content settings, real monitoring and per-repository pull speeds. Add Chinese-only announcements and mirror help, editable related links, admin layout updates, deployment tools and tests.
This commit is contained in:
2026-11-01 18:04:01 +08:00
parent addadd7d15
commit f8cef413d6
57 changed files with 4222 additions and 101 deletions
+25
View File
@@ -0,0 +1,25 @@
# Passive accounting only; no existing rules or tables are flushed.
table inet mirrorouc_monitor {
counter https4 { }
counter https6 { }
counter rsync4 { }
counter rsync6 { }
chain account {
meta nfproto ipv4 tcp sport 443 counter name https4
meta nfproto ipv4 tcp dport 443 tcp sport != 443 counter name https4
meta nfproto ipv6 tcp sport 443 counter name https6
meta nfproto ipv6 tcp dport 443 tcp sport != 443 counter name https6
meta nfproto ipv4 tcp sport 873 counter name rsync4
meta nfproto ipv4 tcp dport 873 tcp sport != 873 counter name rsync4
meta nfproto ipv6 tcp sport 873 counter name rsync6
meta nfproto ipv6 tcp dport 873 tcp sport != 873 counter name rsync6
}
chain input {
type filter hook input priority 300; policy accept;
iifname != "lo" jump account
}
chain output {
type filter hook output priority 300; policy accept;
oifname != "lo" jump account
}
}