From a920f9ec9caf098666992874556c1c11c6a40f20 Mon Sep 17 00:00:00 2001 From: George Sapkin Date: Wed, 26 Mar 2025 04:29:13 +0200 Subject: [PATCH] adguardhome: increase UDP send/receive buffers Link: https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes Signed-off-by: George Sapkin --- net/adguardhome/Makefile | 5 ++++- net/adguardhome/files/adguardhome.sysctl | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 net/adguardhome/files/adguardhome.sysctl diff --git a/net/adguardhome/Makefile b/net/adguardhome/Makefile index 463710e5ec..beeefa0d02 100644 --- a/net/adguardhome/Makefile +++ b/net/adguardhome/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=adguardhome PKG_VERSION:=0.107.59 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/AdguardTeam/AdGuardHome/tar.gz/v$(PKG_VERSION)? @@ -78,6 +78,9 @@ define Package/adguardhome/install $(INSTALL_DIR) $(1)/etc/config $(INSTALL_DATA) ./files/adguardhome.config $(1)/etc/config/adguardhome + + $(INSTALL_DIR) $(1)/etc/sysctl.d + $(INSTALL_CONF) ./files/adguardhome.sysctl $(1)/etc/sysctl.d/50-adguardhome.conf endef $(eval $(call Download,adguardhome-frontend)) diff --git a/net/adguardhome/files/adguardhome.sysctl b/net/adguardhome/files/adguardhome.sysctl new file mode 100644 index 0000000000..dfc1698af1 --- /dev/null +++ b/net/adguardhome/files/adguardhome.sysctl @@ -0,0 +1,3 @@ +# quic-go expects larger UDP send/receive buffers +net.core.rmem_max = 7500000 +net.core.wmem_max = 7500000 -- 2.30.2