Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cf1e554a28 | |||
| 657fdbaf6b | |||
| a39dc88770 | |||
| 19f72d5be4 |
14
README.md
14
README.md
@@ -112,7 +112,7 @@ sudo journalctl -u adguard-shield -f # Logs live ver
|
||||
│ ├── report.html # HTML-Report-Template
|
||||
│ └── report.txt # TXT-Report-Template
|
||||
├── README.md
|
||||
└── doc/
|
||||
└── docs/
|
||||
├── architektur.md # Architektur & Funktionsweise
|
||||
├── konfiguration.md # Alle Parameter erklärt + Konfig-Migration
|
||||
├── befehle.md # Vollständige Befehlsreferenz inkl. Installer
|
||||
@@ -125,12 +125,12 @@ sudo journalctl -u adguard-shield -f # Logs live ver
|
||||
|
||||
| Dokument | Inhalt |
|
||||
|----------|--------|
|
||||
| [Architektur](doc/architektur.md) | Wie das Tool funktioniert, iptables-Strategie, Konfig-Migration |
|
||||
| [Konfiguration](doc/konfiguration.md) | Alle Parameter, Ports, Whitelist-Pflege, automatische Migration |
|
||||
| [Befehle](doc/befehle.md) | Vollständige Befehlsreferenz für Installer, Monitor, iptables-Helper und systemd |
|
||||
| [Benachrichtigungen](doc/benachrichtigungen.md) | Setup für Discord, Slack, Gotify, Ntfy |
|
||||
| [E-Mail Report](doc/report.md) | Periodische Statistik-Reports per E-Mail (HTML/TXT) |
|
||||
| [Tipps & Troubleshooting](doc/tipps-und-troubleshooting.md) | Best Practices, häufige Probleme, Deinstallation |
|
||||
| [Architektur](docs/architektur.md) | Wie das Tool funktioniert, iptables-Strategie, Konfig-Migration |
|
||||
| [Konfiguration](docs/konfiguration.md) | Alle Parameter, Ports, Whitelist-Pflege, automatische Migration |
|
||||
| [Befehle](docs/befehle.md) | Vollständige Befehlsreferenz für Installer, Monitor, iptables-Helper und systemd |
|
||||
| [Benachrichtigungen](docs/benachrichtigungen.md) | Setup für Discord, Slack, Gotify, Ntfy |
|
||||
| [E-Mail Report](docs/report.md) | Periodische Statistik-Reports per E-Mail (HTML/TXT) |
|
||||
| [Tipps & Troubleshooting](docs/tipps-und-troubleshooting.md) | Best Practices, häufige Probleme, Deinstallation |
|
||||
|
||||
## Lizenz
|
||||
|
||||
|
||||
@@ -551,9 +551,9 @@ send_notification() {
|
||||
message="🚫 AdGuard Shield: Client **$client_ip** gesperrt (${count}x $domain in ${window}s via **$protocol**, ${reason_label}). Sperre für ${simple_dur}."
|
||||
fi
|
||||
elif [[ "$action" == "service_start" ]]; then
|
||||
message="🟢 AdGuard Shield v${VERSION} wurde gestartet."
|
||||
message="🟢 AdGuard Shield ${VERSION} wurde gestartet."
|
||||
elif [[ "$action" == "service_stop" ]]; then
|
||||
message="🔴 AdGuard Shield v${VERSION} wurde gestoppt."
|
||||
message="🔴 AdGuard Shield ${VERSION} wurde gestoppt."
|
||||
else
|
||||
message="✅ AdGuard Shield: Client **$client_ip** wurde entsperrt."
|
||||
fi
|
||||
@@ -1097,7 +1097,7 @@ stop_blocklist_worker() {
|
||||
# ─── Hauptschleife ──────────────────────────────────────────────────────────
|
||||
main_loop() {
|
||||
log "INFO" "═══════════════════════════════════════════════════════════"
|
||||
log "INFO" "AdGuard Shield v${VERSION} gestartet"
|
||||
log "INFO" "AdGuard Shield ${VERSION} gestartet"
|
||||
log "INFO" " Limit: ${RATE_LIMIT_MAX_REQUESTS} Anfragen pro ${RATE_LIMIT_WINDOW}s"
|
||||
log "INFO" " Sperrdauer: $(format_duration "${BAN_DURATION}")"
|
||||
log "INFO" " Prüfintervall: ${CHECK_INTERVAL}s"
|
||||
@@ -1150,7 +1150,7 @@ trap cleanup SIGTERM SIGINT SIGHUP
|
||||
# ─── Kommandozeilen-Argumente ────────────────────────────────────────────────
|
||||
case "${1:-start}" in
|
||||
start)
|
||||
echo "[$(date '+%Y-%m-%d %H:%M:%S')] [INFO] AdGuard Shield v${VERSION} wird gestartet..."
|
||||
echo "[$(date '+%Y-%m-%d %H:%M:%S')] [INFO] AdGuard Shield ${VERSION} wird gestartet..."
|
||||
check_dependencies
|
||||
check_already_running
|
||||
init_directories
|
||||
@@ -1250,7 +1250,7 @@ case "${1:-start}" in
|
||||
;;
|
||||
*)
|
||||
cat << USAGE
|
||||
AdGuard Shield v${VERSION}
|
||||
AdGuard Shield ${VERSION}
|
||||
|
||||
Service-Steuerung (empfohlen):
|
||||
sudo systemctl start adguard-shield
|
||||
|
||||
@@ -26,7 +26,7 @@ sudo bash install.sh --help
|
||||
|
||||
## Uninstaller (eigenständig)
|
||||
|
||||
Ab Version 0.6 wird bei der Installation ein eigenständiger Uninstaller nach `/opt/adguard-shield/uninstall.sh` kopiert. Die Deinstallation kann damit **ohne die originalen Installationsdateien** durchgeführt werden:
|
||||
Ab Version 0.5.2 wird bei der Installation ein eigenständiger Uninstaller nach `/opt/adguard-shield/uninstall.sh` kopiert. Die Deinstallation kann damit **ohne die originalen Installationsdateien** durchgeführt werden:
|
||||
|
||||
```bash
|
||||
# Direkt aus dem Installationsverzeichnis — kein install.sh benötigt
|
||||
Reference in New Issue
Block a user