From 54ad46d33c00dcfb5c0ea42eb41d5e761d4b3d20 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Wed, 5 Jul 2023 00:44:16 +0200 Subject: [PATCH 1/5] [autopatch] Fix Host and X-Forwarded-For header spoofing --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 6ee6940..0e8a7d8 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -19,7 +19,7 @@ location __PATH__/ { } location /dns-query { - proxy_set_header Host $http_host; + proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_redirect off; proxy_buffering on; From 643221960a6ff105f494829aab24fe555d22a6fc Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 13 Jul 2023 06:07:49 +0000 Subject: [PATCH 2/5] Upgrade to v0.107.34 --- conf/amd64.src | 4 ++-- conf/arm64.src | 4 ++-- conf/armhf.src | 4 ++-- manifest.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/conf/amd64.src b/conf/amd64.src index 8b183b4..fd0bec6 100644 --- a/conf/amd64.src +++ b/conf/amd64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.33/AdGuardHome_linux_amd64.tar.gz -SOURCE_SUM=6722359d45b6aae9012ae48da0a5a18217850c180e878a4b10b4fa1d0daa245e +SOURCE_URL=https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.34/AdGuardHome_linux_amd64.tar.gz +SOURCE_SUM=a36126909f632408504b6e4908dd791816fe80614e88a4bff3b3d6da07b460d8 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=2 diff --git a/conf/arm64.src b/conf/arm64.src index 275b8c6..bf24189 100644 --- a/conf/arm64.src +++ b/conf/arm64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.33/AdGuardHome_linux_arm64.tar.gz -SOURCE_SUM=7c75975f8e2c0de41b7d603a27134a39362f4b4f0bbbe96c7d30b0f3434345af +SOURCE_URL=https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.34/AdGuardHome_linux_arm64.tar.gz +SOURCE_SUM=62379c66257068adffd489f9b8a484e69176d58409369c44a4f2b469b35fde24 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=2 diff --git a/conf/armhf.src b/conf/armhf.src index 1984450..0a8812a 100644 --- a/conf/armhf.src +++ b/conf/armhf.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.33/AdGuardHome_linux_armv7.tar.gz -SOURCE_SUM=d011772c708077c6ed62bd5b66eeec76d765dd42f6690b84075782330e7bb023 +SOURCE_URL=https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.107.34/AdGuardHome_linux_armv7.tar.gz +SOURCE_SUM=8bf8caaf4e68ed47977443eeb1340fd05790a004e5dfac9d0e0b60e70fe930ee SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=2 diff --git a/manifest.json b/manifest.json index f18f2f0..c493ccf 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Network-wide ads & trackers blocking DNS server", "fr": "Serveur DNS, bloqueur de publicités et trackers" }, - "version": "0.107.33~ynh1", + "version": "0.107.34~ynh1", "url": "https://adguard.com/adguard-home.html", "upstream": { "license": "GPL-3.0", From 3fc5730707c62335fc4740ca5282129772d4957f Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 13 Jul 2023 06:07:55 +0000 Subject: [PATCH 3/5] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e6eb922..bbeee5a 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ AdGuard Home is a network-wide software for blocking ads & tracking. After you s It operates as a DNS server that re-routes tracking domains to a "black hole", thus preventing your devices from connecting to those servers. It's based on software we use for our public AdGuard DNS servers -- both share a lot of common code. -**Shipped version:** 0.107.33~ynh1 +**Shipped version:** 0.107.34~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index a09e453..f7d5388 100644 --- a/README_fr.md +++ b/README_fr.md @@ -21,7 +21,7 @@ AdGuard Home est un logiciel à l'échelle du réseau pour bloquer les publicit Il fonctionne comme un serveur DNS qui redirige les domaines de pistage vers un "trou noir", empêchant ainsi vos appareils de se connecter à ces serveurs. Il est basé sur un logiciel que nous utilisons pour nos serveurs DNS publics AdGuard - les deux partagent beaucoup de code commun. -**Version incluse :** 0.107.33~ynh1 +**Version incluse :** 0.107.34~ynh1 ## Captures d’écran From 435a32ddb51e58450851f6ee00e9f374d86a428a Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Fri, 28 Jul 2023 19:49:06 +0200 Subject: [PATCH 4/5] link to changelog added --- .github/workflows/updater.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml index a56d7cb..61c811f 100644 --- a/.github/workflows/updater.yml +++ b/.github/workflows/updater.yml @@ -46,4 +46,5 @@ jobs: title: 'Upgrade to version ${{ env.VERSION }}' body: | Upgrade to v${{ env.VERSION }} + Changelog: https://github.com/${{ env.REPO }}/releases/tag/v${{ env.VERSION }} draft: false From b3e4241eead3a00f5cf5016685b81f1134919d17 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Fri, 28 Jul 2023 19:53:14 +0200 Subject: [PATCH 5/5] updating config file according to v0.107.34 --- conf/AdGuardHome.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/conf/AdGuardHome.yaml b/conf/AdGuardHome.yaml index d0d4c6e..bc54f6e 100644 --- a/conf/AdGuardHome.yaml +++ b/conf/AdGuardHome.yaml @@ -118,11 +118,12 @@ dhcp: ra_slaac_only: false ra_allow_slaac: false clients: [] -log_compress: false -log_localtime: false -log_max_backups: 0 -log_max_size: 100 -log_max_age: 3 -log_file: "" +log: + compress: false + localtime: false + max_backups: 0 + max_size: 100 + max_age: 3 + file: "" verbose: false schema_version: 10 \ No newline at end of file