From a39dc887705b179fe304cc093cf9965bf69b58d4 Mon Sep 17 00:00:00 2001 From: scriptos Date: Fri, 6 Mar 2026 14:47:10 +0100 Subject: [PATCH 1/3] =?UTF-8?q?Version=20in=20Uninstaller=20ge=C3=A4ndert.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/befehle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/befehle.md b/doc/befehle.md index 4915e3c..a5f6818 100644 --- a/doc/befehle.md +++ b/doc/befehle.md @@ -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 From 657fdbaf6b6dc6c0a7707bc4b5a2aecc07095862 Mon Sep 17 00:00:00 2001 From: scriptos Date: Fri, 6 Mar 2026 16:07:55 +0100 Subject: [PATCH 2/3] 'doc' zu 'docs' umbenannt. --- README.md | 14 +++++++------- {doc => docs}/architektur.md | 0 {doc => docs}/befehle.md | 0 {doc => docs}/benachrichtigungen.md | 0 {doc => docs}/konfiguration.md | 0 {doc => docs}/report.md | 0 {doc => docs}/tipps-und-troubleshooting.md | 0 {doc => docs}/update.md | 0 8 files changed, 7 insertions(+), 7 deletions(-) rename {doc => docs}/architektur.md (100%) rename {doc => docs}/befehle.md (100%) rename {doc => docs}/benachrichtigungen.md (100%) rename {doc => docs}/konfiguration.md (100%) rename {doc => docs}/report.md (100%) rename {doc => docs}/tipps-und-troubleshooting.md (100%) rename {doc => docs}/update.md (100%) diff --git a/README.md b/README.md index f1cd6d7..eec43e3 100644 --- a/README.md +++ b/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 diff --git a/doc/architektur.md b/docs/architektur.md similarity index 100% rename from doc/architektur.md rename to docs/architektur.md diff --git a/doc/befehle.md b/docs/befehle.md similarity index 100% rename from doc/befehle.md rename to docs/befehle.md diff --git a/doc/benachrichtigungen.md b/docs/benachrichtigungen.md similarity index 100% rename from doc/benachrichtigungen.md rename to docs/benachrichtigungen.md diff --git a/doc/konfiguration.md b/docs/konfiguration.md similarity index 100% rename from doc/konfiguration.md rename to docs/konfiguration.md diff --git a/doc/report.md b/docs/report.md similarity index 100% rename from doc/report.md rename to docs/report.md diff --git a/doc/tipps-und-troubleshooting.md b/docs/tipps-und-troubleshooting.md similarity index 100% rename from doc/tipps-und-troubleshooting.md rename to docs/tipps-und-troubleshooting.md diff --git a/doc/update.md b/docs/update.md similarity index 100% rename from doc/update.md rename to docs/update.md From cf1e554a28106ac5ca7ac1caa9687f9bb59a6d43 Mon Sep 17 00:00:00 2001 From: scriptos Date: Fri, 6 Mar 2026 17:34:02 +0100 Subject: [PATCH 3/3] =?UTF-8?q?Das=20zus=C3=A4tzliche=20'v'=20f=C3=BCr=20V?= =?UTF-8?q?ersion=20entfernt.=20Wird=20jetzt=20in=20den=20Versionen=20selb?= =?UTF-8?q?st=20gesetzt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adguard-shield.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/adguard-shield.sh b/adguard-shield.sh index 8ca30bf..6f25fd8 100644 --- a/adguard-shield.sh +++ b/adguard-shield.sh @@ -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