Re: [OpenWrt-Devel] dnsmasq stops receiving packets after network restart

2018-09-27 Thread Kristian Evensen
Hi, On Tue, Sep 25, 2018 at 11:23 AM Jo-Philipp Wich wrote: > Maybe netlink congestion or something related to privilege dropping? Can > you manage to capture an strace log of the running dnsmasq instance > while the network is getting restarted? After some discussion on the dnsmasq mailing

Re: [OpenWrt-Devel] dnsmasq stops receiving packets after network restart

2018-09-26 Thread Kristian Evensen
Hi, On Wed, Sep 26, 2018 at 3:14 PM Kristian Evensen wrote: > On Tue, Sep 25, 2018 at 11:23 AM Jo-Philipp Wich wrote: > > does the same happen without "bind-dynamic" ? My hunch is that dnsmasq > > fails to "resubscribe" to the socket after the ifindex of br-lan changed > > due to the network

Re: [OpenWrt-Devel] dnsmasq stops receiving packets after network restart

2018-09-25 Thread Jo-Philipp Wich
Hi Kristian, does the same happen without "bind-dynamic" ? My hunch is that dnsmasq fails to "resubscribe" to the socket after the ifindex of br-lan changed due to the network restart (which will destroy and recreate br-lan). Maybe netlink congestion or something related to privilege dropping?

Re: [OpenWrt-Devel] dnsmasq stops receiving packets after network restart

2018-09-25 Thread Kristian Evensen
Hi Jo-Philipp, On Tue, Sep 25, 2018 at 6:59 AM Jo-Philipp Wich wrote: > whats the complete dnsmasq cmdline? This is the command line: /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411c.pid The configuration looks as follows: # auto-generated config

Re: [OpenWrt-Devel] dnsmasq stops receiving packets after network restart

2018-09-24 Thread Jo-Philipp Wich
Hi, whats the complete dnsmasq cmdline? ~ Jo signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] dnsmasq stops receiving packets after network restart

2018-09-24 Thread Kristian Evensen
Hello, I have some routers running OpenWRT (latest nightly) and that I have to access remotely (using reverse SSH). When I restart networking (/etc/init.d/network restart), clients on the LAN can no longer obtain an IP address using DHCP. If I restart networking locally, DHCP works as expected