PR 166255 - disable promiscuous mode warning via sysctl

Damien Fleuriot ml at my.gd
Mon May 9 15:16:36 UTC 2016


On 9 May 2016 at 15:56, Eitan Adler <lists at eitanadler.com> wrote:

> On 9 May 2016 at 02:02, Nick Hibma <nick at van-laarhoven.org> wrote:
> > Folks,
> >
> > In PR 166255 [1]  it is suggested to allow disabling ‘promiscuous mode
> enabled’ warnings. It adds a sysctl to allow toggling this behaviour. I
> have a number of questions before I commit the patch:
>
> I don't any concern with a sysctl, but I wonder if some better ore
> more generic mechanism could be built (like syslog.conf).
>
>
>
Hello Nick, Eitan,


@Nick
WRT security, I have to agree with borjam's comment [1] about making this a
loader-time tunable.
WRT different values, I would think it a shore to implement "warn again
after X minutes".
Certainly for the needs referenced by PR 166255, this would be overkill.


@Eitan
The problem with adjusting this at syslog (or rsyslog)'s level is that you
effectively generate the message, then have to expand even more work to
actually suppress it, making your machine work twice for no reason.


[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166255#c6


More information about the freebsd-net mailing list