Date: Mon, 9 May 2016 17:16:32 +0200 From: Damien Fleuriot <ml@my.gd> To: Nick Hibma <nick@van-laarhoven.org> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Eitan Adler <lists@eitanadler.com> Subject: Re: PR 166255 - disable promiscuous mode warning via sysctl Message-ID: <CAE63ME4q6EP4kLuG-5ij4nt3dy4%2BE=23AP6ZKsYvZtW5uK241A@mail.gmail.com> In-Reply-To: <CAF6rxgkR828P00cXA-6q%2BTLtWF-_p=-5x1cpALD%2Boni7oAQtdQ@mail.gmail.com> References: <52FB7430-BC4D-4157-94FB-4245BA1C3066@van-laarhoven.org> <CAF6rxgkR828P00cXA-6q%2BTLtWF-_p=-5x1cpALD%2Boni7oAQtdQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9 May 2016 at 15:56, Eitan Adler <lists@eitanadler.com> wrote: > On 9 May 2016 at 02:02, Nick Hibma <nick@van-laarhoven.org> wrote: > > Folks, > > > > In PR 166255 [1] it is suggested to allow disabling =E2=80=98promiscuo= us mode > enabled=E2=80=99 warnings. It adds a sysctl to allow toggling this behavi= our. 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=3D166255#c6
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE63ME4q6EP4kLuG-5ij4nt3dy4%2BE=23AP6ZKsYvZtW5uK241A>