Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Nov 2010 21:28:32 -0500
From:      Tom Judge <tom@tomjudge.com>
To:        freebsd-net@freebsd.org, ask@develooper.com
Subject:   Re: "kernel: carp_input: received len 20 < sizeof(struct carp_header)" messages
Message-ID:  <4CD36BD0.4040409@tomjudge.com>
In-Reply-To: <17903237-CBF6-4CC3-8CA3-29D9BB65538F@develooper.com>
References:  <17903237-CBF6-4CC3-8CA3-29D9BB65538F@develooper.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/11/2010 18:02, Ask Bjørn Hansen wrote:
> Hi,
>
> On a network segment we have both Linux boxes with keepalived (some sort of vrrp implementation) and FreeBSD boxes with carp enabled.
>
> The FreeBSD logs have a gazillion "kernel: carp_input: received len 20 < sizeof(struct carp_header)" messages.
>
> The carp man page makes it seem like we can disable any carp logging with net.inet.carp.log=0; but that doesn't seem to make a difference.
>
> The system is running 7.2-RELEASE-p5 (the distribution is pfSense 1.2.x).
>
> Is there another toggle I can use to get rid of the (to us) useless log messages?
>
> I checked that we don't have any overlapping vhid/vrid IDs.  Any idea for how to either just suppress the log message from the kernel or getting it to log some more details so we can try to make the underlying problem go away?
>   

Take a look at the following page:

http://www.tomjudge.com/index.php/FreeBSD/CARP_vs_VRRP

It contains a patch to change the CARP protocol ID to something that is
not used so these messages go away.

Tom




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CD36BD0.4040409>