AFAIK there is no way to turn off those messages in the default kernel. You
could try to write a patch if you care: take a look at
src/sys/netinet/if_ether.c, line #625.

Regards!


2017-11-09 9:14 GMT+01:00 OpenBSD <open...@me.com>:

> Torsten,
>
> Thanks for responding to my question.
> I know about this specific sysctl on FreeBSD. Used this one on pfSense as
> well. The issue is that this one, or functional similar seems not available
> on OpenBSD.
>
> Maybe someone else has run into this before and found a way?
>
> Marco PC
>
> > Op 8 nov. 2017, om 16:44 heeft torsten <tors...@cnc-london.net> het
> volgende geschreven:
> >
> >
> >> -----Original Message-----
> >> From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf
> >> Of OpenBSD
> >> Sent: 08 November 2017 15:44
> >> To: misc@openbsd.org
> >> Subject: Suppessing logging of arp movement messages
> >>
> >> hello all,
> >>
> >> I have finally build an internet gateway with OpenBSD 6.2 (AMD64),
> >> including pf and IPSec. Great stuff.
> >> Now I am seeing a lot of arp movement, that I know are caused by
> >> Apple's Bonjour Sleep Proxy.
> >>
> >> Nov  8 00:00:27 gatekeeper /bsd: arp info overwritten for 192.168.20.99
> >> by 00:46:ab:ba:19:87 on vmx0 Nov  8 00:00:58 gatekeeper /bsd: arp info
> >> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0 Nov  8
> >> 00:01:57 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by
> >> 00:46:ab:ba:19:87 on vmx0 Nov  8 00:02:04 gatekeeper /bsd: arp info
> >> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0 Nov  8
> >> 00:02:35 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by
> >> 00:46:ab:ba:19:87 on vmx0 Nov  8 00:03:28 gatekeeper /bsd: arp info
> >> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0 Nov  8
> >> 00:03:42 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by
> >> 00:46:ab:ba:19:87 on vmx0 Nov  8 00:04:27 gatekeeper /bsd: arp info
> >> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0
> >>
> >> These messages are repeating every 15-30 seconds for Apple devices like
> >> laptops that are in standby (sleep mode).
> >>
> >> On pfSense and FreeBSD you have a sysctl:
> >> net.link.ether.inet.log_arp_movements
> >> when set to zero it will no longer log the messages.
> >>
> >> Discussions can be found on internet dating back to 2010, but no
> >> solution has been provided for what I could find.
> >> I have not yet found any sysctl in OpenBSD to do the same. Did I miss
> >> something or does OpenBSD have any trick to not log these messages.
> >> Currently these messages are filling up the logs /var/run/dmesg.boot
> >> and /var/log/messages.
> >>
> >> Marco PC
> >
> > Mi Marco
> > In freebsd is is usually done with
> > sysctl net.link.ether.inet.log_arp_movements=0
> >
> > and I guess this applies to openbsd too.
> > T
> >
>
>

Reply via email to