Posted: Thu Aug 20, 2020 7:23 Post subject: Igmprt dies on dhcp renewal
Hello!
I have STB connected to my Netgear r6700v3, but it loses signal on DHCP renewal, due to igmprt dying.
Log when it happens:
Code:
Aug 20 09:12:00 DD-WRT user.info : igmprt : maybe died, we need to re-exec it
Aug 20 09:12:00 DD-WRT user.info : igmprt : successfully started
Aug 20 09:15:00 DD-WRT user.warn igmpproxy[5620]: select() failure; Errno(4): Interrupted system call
How to reproduce: 1. Disable Multicast Filtering
2. Enable IGMP snooping
3. Force DHCP Renew via GUI.
Also, similar ticket on openwrt issue tracker from 2 years ago.
Joined: 06 Jun 2006 Posts: 7492 Location: Dresden, Germany
Posted: Thu Aug 20, 2020 13:38 Post subject: Re: Igmprt dies on dhcp renewal
amadeus wrote:
Hello!
I have STB connected to my Netgear r6700v3, but it loses signal on DHCP renewal, due to igmprt dying.
Log when it happens:
Code:
Aug 20 09:12:00 DD-WRT user.info : igmprt : maybe died, we need to re-exec it
Aug 20 09:12:00 DD-WRT user.info : igmprt : successfully started
Aug 20 09:15:00 DD-WRT user.warn igmpproxy[5620]: select() failure; Errno(4): Interrupted system call
How to reproduce: 1. Disable Multicast Filtering
2. Enable IGMP snooping
3. Force DHCP Renew via GUI.
Also, similar ticket on openwrt issue tracker from 2 years ago.
harmless. igmprt does auto restart if terminated. this message can be also ignored. igmprt just retries on such a error
in addition. if the dhcp lease is identical on renew. the whole renew is ignored. so i assume your dhcp server running router or peer broke the connection on renew, but not the client. if ip changes, dd-wrt does restart the igmprt service like everything else which is required.
i made a workaround for this issue at 44222, but i really think the bug is on your dhcp server side _________________ "So you tried to use the computer and it started smoking? Sounds like a Mac to me.." - Louis Rossmann https://www.youtube.com/watch?v=eL_5YDRWqGE&t=60s
Posted: Thu Aug 20, 2020 14:58 Post subject: Re: Igmprt dies on dhcp renewal
BrainSlayer wrote:
in addition. if the dhcp lease is identical on renew. the whole renew is ignored. so i assume your dhcp server running router or peer broke the connection on renew, but not the
playback of the .m3u file in VLC (second peer) also stops after imgprt dies on DHCP Renew pressed in GUI and DHCP lease expiring on it's own, although the ip address is static and does not change. So I assume it is not the peer that is breaking the connection.
Perhaps igmprt should not be reloaded at all if the DHCP info does not change.
BrainSlayer wrote:
i made a workaround for this issue at 44222, but i really think the bug is on your dhcp server side
In the past over a year I had a dedicated E3000 (replacing the ISP Router) taking care the ISP TV service and now changed it to a R7000 with build 44213 (for other reasons not related to this thread). Once setup, TV services (igmp/multicast) have not effected recordings and/or viewing the TV even on the old E3000 with build 35531.
I have broken up TV & Internet services on to 2 gateways/routers for a number of reasons. One I normal like keeping the Internet routers 2xR7800 updated without effecting TV recordings. Second I have YAMon3 running on the R7800 gateway and don't need TV streams effecting the daily data usage.
Since the R7000 with build 44213 is a new "upgrade" if I ran into anything related to your problem I will post back. This R7000 only has +16 hours uptime. _________________ Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9
Off Site 1
R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4
Off Site 2
R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531
Another weird behaviour that I noticed when I change wireless settings.
Igmprt dies, does not write anything to the log when it happens and does not restart itself, requiring me to restart it manually.
UPD: It seems like it doesn't actually die, because starting it with service igmprt start does not do anything, and I have to restart it with service igmprt restart.
And here are entries from the logs, when I, for example, change beacon interval. After that igmprt stops routing multicast packets.
Code:
Aug 21 20:41:29 DD-WRT user.info : nas : daemon successfully stopped
Aug 21 20:41:29 DD-WRT user.info : bridge : interface vlan1 successfully deleted from bridge br0
Aug 21 20:41:29 DD-WRT kern.info kernel: device vlan1 left promiscuous mode
Aug 21 20:41:29 DD-WRT kern.info kernel: br0: port 1(vlan1) entered disabled state
Aug 21 20:41:29 DD-WRT user.info : bridge : interface eth1 successfully deleted from bridge br0
Aug 21 20:41:29 DD-WRT kern.info kernel: device eth1 left promiscuous mode
Aug 21 20:41:29 DD-WRT kern.info kernel: br0: port 2(eth1) entered disabled state
Aug 21 20:41:29 DD-WRT user.info : bridge : interface eth2 successfully deleted from bridge br0
Aug 21 20:41:29 DD-WRT user.info : bridge : bridge br0 successfully deleted
Aug 21 20:41:29 DD-WRT kern.info kernel: device eth2 left promiscuous mode
Aug 21 20:41:29 DD-WRT kern.info kernel: br0: port 3(eth2) entered disabled state
Aug 21 20:41:29 DD-WRT user.info : bridge : bridge br0 successfully deleted
Aug 21 20:41:29 DD-WRT user.info : servicemanager : waiting for services to finish (1)...
Aug 21 20:41:29 DD-WRT user.info : bridge : bridge br0 successfully added
Aug 21 20:41:29 DD-WRT daemon.info mstpd[648]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 19
Aug 21 20:41:29 DD-WRT daemon.info mstpd[648]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 19
Aug 21 20:41:29 DD-WRT daemon.info mstpd[648]: error, CTL_set_msti_bridge_config: Couldn't find bridge with index 19
Aug 21 20:41:29 DD-WRT user.info : bridge : bridge br0 successfully added
Aug 21 20:41:29 DD-WRT kern.info kernel: device br0 entered promiscuous mode
Aug 21 20:41:29 DD-WRT daemon.info mstpd[648]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 19
Aug 21 20:41:29 DD-WRT daemon.info mstpd[648]: error, CTL_set_cist_bridge_config: Couldn't find bridge with index 19
Aug 21 20:41:29 DD-WRT user.info : bridge : interface vlan1 successfully added to bridge br0
Aug 21 20:41:29 DD-WRT kern.info kernel: device vlan1 entered promiscuous mode
Aug 21 20:41:29 DD-WRT kern.info kernel: br0: port 1(vlan1) entered forwarding state
Aug 21 20:41:29 DD-WRT kern.info kernel: br0: port 1(vlan1) entered forwarding state
Aug 21 20:41:29 DD-WRT user.info : bridge : interface eth1 successfully added to bridge br0
Aug 21 20:41:29 DD-WRT kern.info kernel: device eth1 entered promiscuous mode
Aug 21 20:41:29 DD-WRT kern.info kernel: br0: port 2(eth1) entered forwarding state
Aug 21 20:41:29 DD-WRT kern.info kernel: br0: port 2(eth1) entered forwarding state
Aug 21 20:41:30 DD-WRT user.info : bridge : interface eth2 successfully added to bridge br0
Aug 21 20:41:30 DD-WRT kern.info kernel: device eth2 entered promiscuous mode
Aug 21 20:41:30 DD-WRT kern.info kernel: br0: port 3(eth2) entered forwarding state
Aug 21 20:41:30 DD-WRT kern.info kernel: br0: port 3(eth2) entered forwarding state
Aug 21 20:41:30 DD-WRT kern.info kernel: device br0 left promiscuous mode
Aug 21 20:41:30 DD-WRT kern.info kernel: device br0 entered promiscuous mode
Aug 21 20:41:30 DD-WRT kern.info kernel: device br0 left promiscuous mode
Aug 21 20:41:31 DD-WRT user.info : nas : start nas lan
Aug 21 20:41:31 DD-WRT user.info : nas : start nas for wl0
Aug 21 20:41:31 DD-WRT user.info : nas : NAS lan (wl0 interface) successfully started
Aug 21 20:41:31 DD-WRT user.info : nas : start nas lan
Aug 21 20:41:31 DD-WRT user.info : nas : start nas for wl1
Aug 21 20:41:31 DD-WRT user.info : nas : NAS lan (wl1 interface) successfully started
IGMP snooping is enabled on br0, and br0 is getting deleted as you can see in the logs.
1026 1 root S 784 0.3 1 0.0 igmprt /tmp/igmpproxy.conf
The only log from the start over 3 days ago...
Code:
root@home:~# cat /tmp/var/log/messages | grep igmp
Dec 31 16:00:15 home user.info : igmprt : successfully started
Since the igmp service is running fine with build 44213 I didn't want to test the new change (set 44226) to igmp on build 44236. _________________ Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9
Off Site 1
R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4
Off Site 2
R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531