From owner-freebsd-net@FreeBSD.ORG Fri Nov 5 02:45:32 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FAA6106564A for ; Fri, 5 Nov 2010 02:45:32 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from tomjudge.vm.bytemark.co.uk (tomjudge.vm.bytemark.co.uk [80.68.91.100]) by mx1.freebsd.org (Postfix) with ESMTP id D2A958FC08 for ; Fri, 5 Nov 2010 02:45:31 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by tomjudge.vm.bytemark.co.uk (Postfix) with ESMTP id B1923DCB3B; Fri, 5 Nov 2010 02:28:36 +0000 (GMT) X-Virus-Scanned: Debian amavisd-new at tomjudge.vm.bytemark.co.uk Received: from tomjudge.vm.bytemark.co.uk ([127.0.0.1]) by localhost (tomjudge.vm.bytemark.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fr+0ivuiC0uj; Fri, 5 Nov 2010 02:28:33 +0000 (GMT) Received: from Tom-Judges-MacBook-Pro.local (unknown [192.168.204.117]) by tomjudge.vm.bytemark.co.uk (Postfix) with ESMTP id D333148C40; Fri, 5 Nov 2010 02:28:32 +0000 (GMT) Message-ID: <4CD36BD0.4040409@tomjudge.com> Date: Thu, 04 Nov 2010 21:28:32 -0500 From: Tom Judge User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10 MIME-Version: 1.0 To: freebsd-net@freebsd.org, ask@develooper.com References: <17903237-CBF6-4CC3-8CA3-29D9BB65538F@develooper.com> In-Reply-To: <17903237-CBF6-4CC3-8CA3-29D9BB65538F@develooper.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: "kernel: carp_input: received len 20 < sizeof(struct carp_header)" messages X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2010 02:45:32 -0000 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