[LEDE-DEV] [PATCH] igmpproxy: Set logopts to "-d" to prevent spamming the system log

Dmitry Tunin hanipouspilot at gmail.com
Wed May 24 03:27:44 PDT 2017


Hi Felix,

This is a very well known issue with igmpproxy, not only on LEDE/Openwrt.
Obviously there are other ways to silence these warnings. I could
patch the igmpproxy code, or do other things.
But from the point of view of a normal user who installs this package
to watch IPTV or something of this sort of things it is confusing when
syslog is full of warnings.

For instance:

My ISP streams IPTV from 78.107.196.0/22, so I added it to altnet.
There is also an internal ISP net, a part of 100.0.0.0/8, where other
computers are connected. They send SSDP packages that I do not want to
proxy, and I do not add it to altnet.
Igmpproxy warns about every received package. OK, I can add
100.0.0.0/8 to altnet, but still I get warnins about "MFT file not
found" now and then. These messages are useless.

It is quite easy to remove this option, if someone needs these
warnings to configure "altnets". It is also easy to add it there too.

The bottom line is that the default behavior should be without these
warnings to keep  it neat for an end user IMHO.
I think this is the easiest way to do it.

Regards,

Dmitry.

2017-05-24 12:52 GMT+03:00 Felix Fietkau <nbd at nbd.name>:
> On 2017-05-15 22:04, Dmitry Tunin wrote:
>> This option redirects the igmpproxy to STDERR instead of system log.
>> Without this option the system log is unusable because igmpproxy warns about
>> every SSDP package recieved from wan.
>>
>> Signed-off-by: Dmitry Tunin <hanipouspilot at gmail.com>
> I think you should reduce the debug level or fix the bogus warnings instead.
>
> - Felix



More information about the Lede-dev mailing list