AdguardTeam / AdguardTeam/AdGuardHome

dnsproxy: unpacking udp packet: dns: buffer size too small

Open
#6,893 23 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
36.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

### Prerequisites

- [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer

- [X] I have searched other issues and found no duplicates

- [X] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a)

- [X] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.)

### Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

### Installation

Other (please mention in the description)

### Setup

On one machine

### AdGuard Home version

v0.107.48

### Action

the logs go back to 107.43 showing this error:

grep -c 'buffer size too small' /var/log/adguard.log
4241

Almost 1k hosts, wired, wireless, etc

All using 53/udp

Alpine linux bare metal vlans and subinterfaces:

ip a | grep UP | grep -c eth0\.
17

### Expected result

confused what the buffer too small error is related to, and obviously how to deal with it..

### Actual result

N/A

### Additional information and/or screenshots

regarding ticket #5903, I thought it might be something with that.. but can confirm:

sysctl -a | grep 'rmem_max\|wmem_max'
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216

6.6.22-0-lts #1-Alpine SMP PREEMPT_DYNAMIC Mon, 18 Mar 2024 10:31:24 +0000

```
2024/04/05 11:47:13.055240 [info] AdGuard Home, version v0.107.48
2024/04/05 11:47:13.055279 [info] AdGuard Home is running as a service
2024/04/05 11:47:13.150214 [info] AdGuard Home is available at the following addresses:

2024/04/05 11:48:00.723559 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
2024/04/05 11:48:03.779221 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
2024/04/05 11:48:15.029021 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
2024/04/05 11:48:18.031156 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
2024/04/05 11:48:33.088434 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
2024/04/05 11:48:36.118920 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
2024/04/05 11:48:52.737866 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
2024/04/05 11:48:55.767258 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
2024/04/05 11:49:13.112032 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
2024/04/05 11:49:16.218602 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.