Hi,
With stock firmware , everything is great.
I configured network, firewall and igmpproxy how is described on openwrt.
Igmpproxy does not do its job.
i need help for this please. what is wrong?
my configurations and igmpproxy logs below:
igmproxy log:
root@OpenWrt:~# igmpproxy -n -d -v -v /var/etc/igmpproxy.conf
Searching for config file at '/var/etc/igmpproxy.conf'
Config: Quick leave mode enabled.
Config: Got a phyint token.
Config: IF: Config for interface br-lan.
Config: IF: Got downstream token.
Config: IF: Got ratelimit token '0'.
Config: IF: Got threshold token '1'.
IF name : br-lan
Next ptr : 0
Ratelimit : 0
Threshold : 1
State : 2
Allowednet ptr : 0
Config: Got a phyint token.
Config: IF: Config for interface wan.103.
Config: IF: Got upstream token.
Config: IF: Got ratelimit token '0'.
Config: IF: Got threshold token '1'.
Config: IF: Got altnet token 0.0.0.0/0.
Config: IF: Altnet: Parsed altnet to default.
IF name : wan.103
Next ptr : 0
Ratelimit : 0
Threshold : 1
State : 1
Allowednet ptr : 77db8bb0
buildIfVc: Interface lo Addr: 127.0.0.1, Flags: 0x0049, Network: 127/8
buildIfVc: Interface br-lan Addr: 192.168.1.1, Flags: 0x1043, Network: 192.168.1/24
buildIfVc: Interface wan.103 Addr: 100.112.86.44, Flags: 0x1043, Network: 100.112.84/22
buildIfVc: Interface pppoe-wan Addr: 10.100.205.39, Flags: 0x10d1, Network: 10.100.0.1/32
Found config for br-lan
Found config for wan.103
adding VIF, Ix 0 Fl 0x0 IP 0x0101a8c0 br-lan, Threshold: 1, Ratelimit: 0
Network for [br-lan] : 192.168.1/24
Found upstrem IF #0, will assing as upstream Vif 2
adding VIF, Ix 1 Fl 0x0 IP 0x2c567064 wan.103, Threshold: 1, Ratelimit: 0
Network for [wan.103] : 100.112.84/22
Network for [wan.103] : default
Got 262144 byte buffer size in 0 iterations
Joining all-routers group 224.0.0.2 on vif 192.168.1.1
Joining group 224.0.0.2 on interface br-lan
Joining all igmpv3 multicast routers group 224.0.0.22 on vif 192.168.1.1
Joining group 224.0.0.22 on interface br-lan
SENT Membership query from 192.168.1.1 to 224.0.0.1
Sent membership query from 192.168.1.1 to 224.0.0.1. Delay: 10
Created timeout 1 (#0) - delay 10 secs
(Id:1, Time:10)
Created timeout 2 (#1) - delay 21 secs
(Id:1, Time:10)
(Id:2, Time:21)
RECV Membership query from 192.168.1.1 to 224.0.0.1
RECV V2 member report from 192.168.1.1 to 224.0.0.2
The IGMP message was from myself. Ignoring.
RECV V2 member report from 192.168.1.1 to 224.0.0.22
The IGMP message was from myself. Ignoring.
RECV V2 member report from 192.168.1.1 to 224.0.0.106
The IGMP message was from myself. Ignoring.
About to call timeout 1 (#0)
Aging routes in table.
Current routing table (Age active routes):
-----------------------------------------------------
No routes in table...
-----------------------------------------------------
RECV V2 member report from 192.168.1.130 to 239.255.255.250
Should insert group 239.255.255.250 (from: 192.168.1.130) to route table. Vif Ix : 0
No existing route for 239.255.255.250. Create new.
No routes in table. Insert at beginning.
Inserted route table entry for 239.255.255.250 on VIF #0
Joining group 239.255.255.250 upstream on IF address 100.112.86.44
Joining group 239.255.255.250 on interface wan.103
Current routing table (Insert Route):
-----------------------------------------------------
#0: Dst: 239.255.255.250, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
-----------------------------------------------------
RECV V2 member report from 192.168.1.130 to 233.26.166.30
Should insert group 233.26.166.30 (from: 192.168.1.130) to route table. Vif Ix : 0
No existing route for 233.26.166.30. Create new.
Found existing routes. Find insert location.
Inserting at beginning, before route 239.255.255.250
Inserted route table entry for 233.26.166.30 on VIF #0
Joining group 233.26.166.30 upstream on IF address 100.112.86.44
Joining group 233.26.166.30 on interface wan.103
Current routing table (Insert Route):
-----------------------------------------------------
#0: Dst: 233.26.166.30, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
#1: Dst: 239.255.255.250, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
-----------------------------------------------------
RECV V2 member report from 192.168.1.130 to 225.0.71.1
Should insert group 225.0.71.1 (from: 192.168.1.130) to route table. Vif Ix : 0
No existing route for 225.0.71.1. Create new.
Found existing routes. Find insert location.
Inserting at beginning, before route 233.26.166.30
Inserted route table entry for 225.0.71.1 on VIF #0
Joining group 225.0.71.1 upstream on IF address 100.112.86.44
Joining group 225.0.71.1 on interface wan.103
Current routing table (Insert Route):
-----------------------------------------------------
#0: Dst: 225.0.71.1, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
#1: Dst: 233.26.166.30, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
#2: Dst: 239.255.255.250, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
-----------------------------------------------------
About to call timeout 2 (#0)
SENT Membership query from 192.168.1.1 to 224.0.0.1
Sent membership query from 192.168.1.1 to 224.0.0.1. Delay: 10
Created timeout 3 (#0) - delay 10 secs
(Id:3, Time:10)
Created timeout 4 (#1) - delay 21 secs
(Id:3, Time:10)
(Id:4, Time:21)
RECV Membership query from 192.168.1.1 to 224.0.0.1
RECV V2 member report from 192.168.1.130 to 233.26.166.30
Should insert group 233.26.166.30 (from: 192.168.1.130) to route table. Vif Ix : 0
Updated route entry for 233.26.166.30 on VIF #0
Current routing table (Insert Route):
-----------------------------------------------------
#0: Dst: 225.0.71.1, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
#1: Dst: 233.26.166.30, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
#2: Dst: 239.255.255.250, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
-----------------------------------------------------
RECV V2 member report from 192.168.1.1 to 224.0.0.22
The IGMP message was from myself. Ignoring.
RECV V2 member report from 192.168.1.1 to 224.0.0.2
The IGMP message was from myself. Ignoring.
About to call timeout 3 (#0)
Aging routes in table.
Current routing table (Age active routes):
-----------------------------------------------------
#0: Dst: 225.0.71.1, Age:1, St: I, OutVifs: 0x00000001, dHosts: yes
#1: Dst: 233.26.166.30, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
#2: Dst: 239.255.255.250, Age:1, St: I, OutVifs: 0x00000001, dHosts: yes
-----------------------------------------------------
RECV V2 member report from 192.168.1.130 to 239.255.255.250
Should insert group 239.255.255.250 (from: 192.168.1.130) to route table. Vif Ix : 0
Updated route entry for 239.255.255.250 on VIF #0
Current routing table (Insert Route):
-----------------------------------------------------
#0: Dst: 225.0.71.1, Age:1, St: I, OutVifs: 0x00000001, dHosts: yes
#1: Dst: 233.26.166.30, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
#2: Dst: 239.255.255.250, Age:1, St: I, OutVifs: 0x00000001, dHosts: yes
-----------------------------------------------------
RECV V2 member report from 192.168.1.130 to 225.0.71.1
Should insert group 225.0.71.1 (from: 192.168.1.130) to route table. Vif Ix : 0
Updated route entry for 225.0.71.1 on VIF #0
Current routing table (Insert Route):
-----------------------------------------------------
#0: Dst: 225.0.71.1, Age:1, St: I, OutVifs: 0x00000001, dHosts: yes
#1: Dst: 233.26.166.30, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
#2: Dst: 239.255.255.250, Age:1, St: I, OutVifs: 0x00000001, dHosts: yes
-----------------------------------------------------
RECV V2 member report from 192.168.1.1 to 224.0.0.106
The IGMP message was from myself. Ignoring.
About to call timeout 4 (#0)
SENT Membership query from 192.168.1.1 to 224.0.0.1
Sent membership query from 192.168.1.1 to 224.0.0.1. Delay: 10
Created timeout 5 (#0) - delay 10 secs
(Id:5, Time:10)
Created timeout 6 (#1) - delay 115 secs
(Id:5, Time:10)
(Id:6, Time:115)
RECV Membership query from 192.168.1.1 to 224.0.0.1
RECV V2 member report from 192.168.1.1 to 224.0.0.22
The IGMP message was from myself. Ignoring.
RECV V2 member report from 192.168.1.130 to 239.255.255.250
Should insert group 239.255.255.250 (from: 192.168.1.130) to route table. Vif Ix : 0
Updated route entry for 239.255.255.250 on VIF #0
Current routing table (Insert Route):
-----------------------------------------------------
#0: Dst: 225.0.71.1, Age:1, St: I, OutVifs: 0x00000001, dHosts: yes
#1: Dst: 233.26.166.30, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
#2: Dst: 239.255.255.250, Age:1, St: I, OutVifs: 0x00000001, dHosts: yes
-----------------------------------------------------
RECV V2 member report from 192.168.1.130 to 233.26.166.30
Should insert group 233.26.166.30 (from: 192.168.1.130) to route table. Vif Ix : 0
Updated route entry for 233.26.166.30 on VIF #0
Current routing table (Insert Route):
-----------------------------------------------------
#0: Dst: 225.0.71.1, Age:1, St: I, OutVifs: 0x00000001, dHosts: yes
#1: Dst: 233.26.166.30, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
#2: Dst: 239.255.255.250, Age:1, St: I, OutVifs: 0x00000001, dHosts: yes
-----------------------------------------------------
RECV V2 member report from 192.168.1.1 to 224.0.0.2
The IGMP message was from myself. Ignoring.
RECV V2 member report from 192.168.1.1 to 224.0.0.106
The IGMP message was from myself. Ignoring.
About to call timeout 5 (#0)
Aging routes in table.
Current routing table (Age active routes):
-----------------------------------------------------
#0: Dst: 225.0.71.1, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
#1: Dst: 233.26.166.30, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
#2: Dst: 239.255.255.250, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
-----------------------------------------------------
RECV V2 member report from 192.168.1.130 to 225.0.71.1
Should insert group 225.0.71.1 (from: 192.168.1.130) to route table. Vif Ix : 0
Updated route entry for 225.0.71.1 on VIF #0
Current routing table (Insert Route):
-----------------------------------------------------
#0: Dst: 225.0.71.1, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
#1: Dst: 233.26.166.30, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
#2: Dst: 239.255.255.250, Age:2, St: I, OutVifs: 0x00000001, dHosts: yes
-----------------------------------------------------
About to call timeout 6 (#0)
SENT Membership query from 192.168.1.1 to 224.0.0.1
Sent membership query from 192.168.1.1 to 224.0.0.1. Delay: 10
Created timeout 7 (#0) - delay 10 secs
(Id:7, Time:10)
Created timeout 8 (#1) - delay 115 secs
(Id:7, Time:10)
(Id:8, Time:115)
RECV Membership query from 192.168.1.1 to 224.0.0.1
RECV V2 member report from 192.168.1.130 to 225.0.71.1
Should insert group 225.0.71.1 (from: 192.168.1.130) to route table. Vif Ix : 0
Updated route entry for 225.0.71.1 on VIF #0
^Z[1]+ Stopped igmpproxy -n -d -v -v /var/etc/igmpproxy.conf
network conf:
root@OpenWrt:~# cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option packet_steering '1'
option ula_prefix 'fdea:3afe:3cf6::/48'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ipv6 '0'
config interface 'wan'
option device 'wan'
option proto 'pppoe'
option username 'XXXXXXX@fiber'
option password 'XXXXXXX'
option ipv6 '0'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
option macaddr 'XXXXXXX'
option igmp_snooping '1'
config device
option name 'eth0'
option macaddr 'XXXXXXX'
config device
option name 'lan1'
option macaddr 'XXXXXXX'
config device
option name 'lan2'
option macaddr 'XXXXXXX'
config device
option name 'wan'
option macaddr 'XXXXXXX'
config device
option name 'wlan1'
option macaddr 'XXXXXXX'
config device
option type '8021q'
option ifname 'wan'
option vid '103'
option name 'wan.103'
option macaddr 'XXXXXXX'
option ipv6 '0'
config interface 'iptv'
option proto 'dhcp'
option device 'wan.103'
option defaultroute '0'
option peerdns '0'
option ipv6 '0'
config route
option interface 'iptv'
option target '172.31.128.0/19'
option gateway '100.112.84.1'
config route
option interface 'iptv'
option target '10.31.0.0/16'
option gateway '100.112.84.1'
config route
option interface 'iptv'
option target '10.63.0.0/20'
option gateway '100.112.84.1'
config route
option interface 'iptv'
option target '85.153.240.0/20'
option gateway '100.112.84.1'
config route
option interface 'iptv'
option target '176.43.0.0/24'
option gateway '100.112.84.1'
config route
option interface 'iptv'
option target '176.235.0.0/20'
option gateway '100.112.84.1'
config device
option name 'wlan0'
option macaddr 'XXXXXXX'
firewall conf:
root@OpenWrt:~# cat /etc/config/firewall
config defaults
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
option synflood_protect '1'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list network 'lan'
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option mtu_fix '1'
list network 'wan'
option masq '1'
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-MLD'
option src 'wan'
option proto 'icmp'
option src_ip 'fe80::/10'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-IPSec-ESP'
option src 'wan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option name 'Allow-ISAKMP'
option src 'wan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
config zone
option name 'iptv'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
option mtu_fix '1'
list network 'iptv'
option masq '1'
config forwarding
option src 'lan'
option dest 'iptv'
igmpproxy conf:
root@OpenWrt:~# cat /etc/config/igmpproxy
config igmpproxy
option quickleave 1
# option verbose [0-3](none, minimal[default], more, maximum)
#config phyint
# option network wan
# option zone wan
# option direction upstream
# list altnet 0.0.0.0/0
config phyint
option network lan
option zone lan
option direction downstream
config phyint
option network iptv
option zone iptv
option direction upstream
list altnet 0.0.0.0/0