Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adguard only listens on 127.0.0.1 #436

Closed
eprst opened this issue Jul 13, 2023 · 2 comments
Closed

adguard only listens on 127.0.0.1 #436

eprst opened this issue Jul 13, 2023 · 2 comments
Labels
stale There has not been activity on this issue or PR for quite some time.

Comments

@eprst
Copy link

eprst commented Jul 13, 2023

Problem/Motivation

Freshly installed adguard only listens on 127.0.0.1

I know this has been discussed several times and usual answer is "it gets IPs from the supervisor". But how to make supervisor report correct IPs? And is it even the root cause in my case, as I see correct interfaces in ha network info:

docker:
  address: 172.30.32.0/23
  dns: 172.30.32.3
  gateway: 172.30.32.1
  interface: hassio
host_internet: true
interfaces:
- connected: true
  enabled: true
  interface: enp0s2
  ipv4:
    address:
    - 192.168.1.246/24
    gateway: 192.168.1.1
    method: auto
    nameservers:
    - 1.1.1.1
    - 8.8.8.8
    - 192.168.1.1
    ready: true
  ipv6:
    address:
    - fe80::c7c0:47d0:7740:6bb4/64
    gateway: null
    method: auto
    nameservers: []
    ready: false
  primary: true
  type: ethernet
  vlan: null
  wifi: null
- connected: true
  enabled: true
  interface: enp0s3
  ipv4:
    address:
    - 192.168.1.137/24
    gateway: 192.168.1.1
    method: static
    nameservers:
    - 1.1.1.1
    ready: true
  ipv6:
    address:
    - fe80::2fed:bc96:9539:c219/64
    gateway: null
    method: auto
    nameservers: []
    ready: false
  primary: false
  type: ethernet
  vlan: null
  wifi: null
supervisor_internet: true

part of the startup log:

2023/07/10 13:25:09.195384 [info] AdGuard Home is available at the following addresses:
2023/07/10 13:25:09.195446 [info] go to http://127.0.0.1:45158
2023/07/10 13:25:09.201561 [info] dnsproxy: starting dns proxy server
2023/07/10 13:25:09.201596 [info] Ratelimit is enabled and set to 20 rps
2023/07/10 13:25:09.201600 [info] The server is configured to refuse ANY requests
2023/07/10 13:25:09.201604 [info] dnsproxy: cache: enabled, size 4194304 b
2023/07/10 13:25:09.201609 [info] dnsproxy: max goroutines is set to 300
2023/07/10 13:25:09.201634 [info] dnsproxy: creating udp server socket 127.0.0.1:53
2023/07/10 13:25:09.201720 [info] dnsproxy: listening to udp://127.0.0.1:53
2023/07/10 13:25:09.201762 [info] dnsproxy: creating tcp server socket 127.0.0.1:53
2023/07/10 13:25:09.201861 [info] dnsproxy: listening to tcp://127.0.0.1:53
2023/07/10 13:25:09.202440 [info] dnsproxy: entering udp listener loop on 127.0.0.1:53
2023/07/10 13:25:09.202536 [info] dnsproxy: entering tcp listener loop on 127.0.0.1:53
@KruseLuds
Copy link

KruseLuds commented Jul 13, 2023

Not sure this is an issue as I am not having any problems and I am no networking guru but this is what I get:

pi@kruse-pi:~$ sudo ha network info
docker:
  address: 172.30.32.0/23
  dns: 172.30.32.3
  gateway: 172.30.32.1
  interface: hassio
host_internet: true
interfaces:
- connected: true
  enabled: true
  interface: eth0
  ipv4:
    address:
    - 192.168.0.34/24
    - 192.168.0.35/24
    gateway: 192.168.0.1
    method: static
    nameservers:
    - 1.1.1.1
    ready: true
  ipv6:
    address:
    - fe80::e233:6f1:1298:cb45/64
    gateway: null
    method: disabled
    nameservers: []
    ready: true
  primary: true
  type: ethernet
  vlan: null
  wifi: null
- connected: false
  enabled: false
  interface: wlan0
  ipv4:
    address: []
    gateway: null
    method: disabled
    nameservers: []
    ready: false
  ipv6:
    address: []
    gateway: null
    method: disabled
    nameservers: []
    ready: false
  primary: false
  type: wireless
  vlan: null
  wifi: null
supervisor_internet: true
pi@kruse-pi:~$

and -

Jul 10 02:00:25 kruse-pi addon_a0d7b954_adguard[9567]: 2023/07/10 02:00:25.555846 [info] dnsproxy: stopping dns proxy server
Jul 10 02:00:25 kruse-pi addon_a0d7b954_adguard[9567]: 2023/07/10 02:00:25.556159 [info] dnsproxy: stopped dns proxy server
Jul 10 02:02:33 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:33.784243 [info] dnsproxy: cache: enabled, size 4096 b
Jul 10 02:02:33 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:33.784335 [info] dnsproxy: max goroutines is set to 300
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.818637 [info] dnsproxy: starting dns proxy server
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.818727 [info] dnsproxy: cache: enabled, size 4194304 b
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.818751 [info] dnsproxy: max goroutines is set to 300
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.818813 [info] dnsproxy: creating udp server socket 192.168.0.34:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819132 [info] dnsproxy: listening to udp://192.168.0.34:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819165 [info] dnsproxy: creating udp server socket 192.168.0.35:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819273 [info] dnsproxy: listening to udp://192.168.0.35:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819286 [info] dnsproxy: creating udp server socket 172.30.32.1:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819363 [info] dnsproxy: listening to udp://172.30.32.1:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819379 [info] dnsproxy: creating udp server socket 127.0.0.1:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819446 [info] dnsproxy: listening to udp://127.0.0.1:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819457 [info] dnsproxy: creating udp server socket [::1]:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819539 [info] dnsproxy: listening to udp://[::1]:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819566 [info] dnsproxy: creating tcp server socket 192.168.0.34:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819651 [info] dnsproxy: listening to tcp://192.168.0.34:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819662 [info] dnsproxy: creating tcp server socket 192.168.0.35:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819717 [info] dnsproxy: listening to tcp://192.168.0.35:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819726 [info] dnsproxy: creating tcp server socket 172.30.32.1:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819779 [info] dnsproxy: listening to tcp://172.30.32.1:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819789 [info] dnsproxy: creating tcp server socket 127.0.0.1:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819839 [info] dnsproxy: listening to tcp://127.0.0.1:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819849 [info] dnsproxy: creating tcp server socket [::1]:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.819928 [info] dnsproxy: listening to tcp://[::1]:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.821423 [info] dnsproxy: entering tcp listener loop on 192.168.0.35:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.822801 [info] dnsproxy: entering udp listener loop on 192.168.0.34:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.822953 [info] dnsproxy: entering udp listener loop on 192.168.0.35:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.823075 [info] dnsproxy: entering udp listener loop on 172.30.32.1:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.823369 [info] dnsproxy: entering udp listener loop on 127.0.0.1:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.823489 [info] dnsproxy: entering udp listener loop on [::1]:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.823624 [info] dnsproxy: entering tcp listener loop on 192.168.0.34:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.824048 [info] dnsproxy: entering tcp listener loop on [::1]:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.824136 [info] dnsproxy: entering tcp listener loop on 172.30.32.1:53
Jul 10 02:02:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 02:02:51.824194 [info] dnsproxy: entering tcp listener loop on 127.0.0.1:53
Jul 10 04:42:59 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 04:42:59.160771 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 04:43:02 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 04:43:02.165246 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 07:57:41 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 07:57:41.969472 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 07:57:44 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 07:57:44.969305 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 08:38:02 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 08:38:02.854774 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 08:38:05 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 08:38:05.875113 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 10:46:43 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 10:46:43.644290 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 10:46:46 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 10:46:46.649157 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 11:50:02 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 11:50:02.164362 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 11:50:05 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 11:50:05.167426 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 12:51:03 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 12:51:03.848776 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 12:51:06 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 12:51:06.888267 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 13:32:22 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 13:32:22.968598 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 13:32:25 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 13:32:25.972540 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 13:35:01 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 13:35:01.649848 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 13:35:04 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 13:35:04.673441 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 13:35:54 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 13:35:54.170011 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 13:35:57 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 13:35:57.203974 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 13:38:05 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 13:38:05.979711 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 13:38:08 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 13:38:08.828829 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 13:39:21 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 13:39:21.867628 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 13:41:48 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 13:41:48.061681 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 13:41:51 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 13:41:51.225035 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 13:56:24 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 13:56:24.288036 [error] dnsproxy: unpacking udp packet: dns: buffer size too small
Jul 10 13:56:27 kruse-pi addon_a0d7b954_adguard[594]: 2023/07/10 13:56:27.317389 [error] dnsproxy: unpacking udp packet: dns: buffer size too small

I don't understand what to do about

[error] dnsproxy: unpacking udp packet: dns: buffer size too small

but that doesn't seem to cause any issues.

Good luck, let's see what people say

@github-actions
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Aug 12, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale There has not been activity on this issue or PR for quite some time.
Projects
None yet
Development

No branches or pull requests

2 participants