Opened 6 years ago

Last modified 3 years ago

#10324 accepted enhancement

Whitelist option for igmpproxy

Reported by: Pilot6 <hanipouspilot@…> Owned by: jogo
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


Igmpproxy forwards all igmp membership queries from lam to wan. It is not good in many cases. For instance, it forwards uPnP packets ( to wan. A couple of years ago a patch was made to let whitelist multicast groups on upstream and downstream interfaces. This patch is widely used already and it is commeted to igmpproxy git. But the project is not being developed any more for a long time and we will not get a release soon.

I tested the patch with Openwrt. It works quite well.

Attachments (1)

020-whitelist.patch (8.0 KB) - added by Pilot6 <hanipouspilot@…> 6 years ago.
Whitelist patch

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by Pilot6 <hanipouspilot@…>

Whitelist patch

comment:1 Changed 5 years ago by jogo

  • Owner changed from developers to jogo
  • Status changed from new to accepted

The whitelisting patches are already added, all that is needed is updating the init/uci config parse script to handle it.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:3 Changed 3 years ago by anonymous

Could this work?

igmp_add_phyint() {
        local network direction altnets whitelists

        config_get network $1 network
        config_get direction $1 direction
        config_get altnets $1 altnet
        config_get whitelists $1 whitelist

        device=$(uci_get_state network "$network" ifname "$network")
        echo -e "\nphyint $device $direction ratelimit 0 threshold 1" >> /var/etc/igmpproxy.conf

        if [ -n "$altnets" ]; then
                local altnet
                for altnet in $altnets; do
                        echo -e "\taltnet $altnet" >> /var/etc/igmpproxy.conf

        if [ -n "$whitelists" ]; then
                local whitelist
                for whitelist in $whitelists; do
                        echo -e "\twhitelist $whitelist" >> /var/etc/igmpproxy.conf

Add Comment

Modify Ticket

as accepted .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.