YunoHost-Apps / hotspot_ynh

Wifi Hotspot app for YunoHost
GNU Affero General Public License v3.0
39 stars 19 forks source link

Many dnsmasq loud warnings #29

Closed keomabrun closed 5 years ago

keomabrun commented 5 years ago

After starting the hotspot app, I see the following lines in the syslog file. The last two lines then appear one time per second.

5587 Nov 28 10:38:37 <myhostname> systemd[1]: Started LSB: Advanced IEEE 802.11 management daemon.
5588 Nov 28 10:38:38 <myhostname> ynh-hotspot[2026]: hotspot0: Set IPv4 NAT address
5589 Nov 28 10:38:38 <myhostname> ynh-hotspot[2026]: Cannot find device "none"
5590 Nov 28 10:38:40 <myhostname> ynh-hotspot[2026]: hotspot0: Start the DHCPv4 server (dnsmasq)
5591 Nov 28 10:38:51 <myhostname> dnsmasq[2216]: started, version 2.72 DNS disabled
5592 Nov 28 10:38:51 <myhostname> dnsmasq[2216]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect
5593 Nov 28 10:38:51 <myhostname> dnsmasq[2216]: LOUD WARNING: listening on <myip> may accept requests via interfaces other than tun0
5594 Nov 28 10:38:51 <myhostname> dnsmasq[2216]: LOUD WARNING: use --bind-dynamic rather than --bind-interfaces to avoid DNS amplification attacks via these interface(s)
keomabrun commented 5 years ago

Not present in latest version on armbian images.

ghost commented 2 years ago

Still happening…

Olimex lime1

Based on Armbian 21.08.3 Buster

hotspot : version: 2.0~ynh3

yunohost: version: 4.3.6.3

there : https://github.com/YunoHost-Apps/hotspot_ynh/blob/a7706b1f6f1135bd98304352b9d0aefcd664561d/conf/dnsmasq_dhcpdv4.conf.tpl#L26 … had to change to bind-dynamic to get rid off those loud warnings.

the file was on /etc/dnsmasq.dhcpd/dhcpdv4.conf.tpl and I just restarted systemctl restart ynh-hotspot.

and I'm writing this message through the hotspot :smile: