From owner-freebsd-net@FreeBSD.ORG Wed Oct 19 21:57:55 2011 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 730291065678 for ; Wed, 19 Oct 2011 21:57:55 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) by mx1.freebsd.org (Postfix) with ESMTP id 4613A8FC12 for ; Wed, 19 Oct 2011 21:57:54 +0000 (UTC) Received: from [209.249.190.124] (helo=gnnmac.hudson-trading.com) by vps.hungerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1RGccl-00034G-6M for net@freebsd.org; Wed, 19 Oct 2011 16:20:27 -0400 From: George Neville-Neil Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 19 Oct 2011 16:20:27 -0400 Message-Id: <00C1A678-1654-40D2-9ADD-1857C2ECCA04@neville-neil.com> To: net@freebsd.org Mime-Version: 1.0 (Apple Message framework v1251.1) X-Mailer: Apple Mail (2.1251.1) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - neville-neil.com Cc: Subject: Patch to enable our tcpdump to handle CARP 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: Wed, 19 Oct 2011 21:57:55 -0000 Howdy, I've been trying to debug CARP problems of late. I noticed that our = tcpdump didn't have CARP support. I took and fixed some code from OpenBSD so that our tcpdump = can work with=20 CARP. Unlike OpenBSD you have to specify -T carp to read carp packets. = In their version you specify -T VRRP, because they don't like VRRP. I decided that we = should go with what most of the industry cares about rather than what OpenBSD cares = about. Patch is here: http://people.freebsd.org/~gnn/tcpdump-carp.diff Technical comments welcome. Best, George