From owner-freebsd-questions Fri Jun 8 7:57: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from prox.centtech.com (moat2.centtech.com [206.196.95.21]) by hub.freebsd.org (Postfix) with ESMTP id 8737237B403; Fri, 8 Jun 2001 07:56:56 -0700 (PDT) (envelope-from anderson@centtech.com) Received: (from smap@localhost) by prox.centtech.com (8.9.3+Sun/8.9.3) id JAA17207; Fri, 8 Jun 2001 09:56:55 -0500 (CDT) Received: from sprint.centtech.com(10.177.173.31) by prox via smap (V2.1+anti-relay+anti-spam) id xma017200; Fri, 8 Jun 01 09:56:36 -0500 Received: from centtech.com (proton [10.177.173.77]) by sprint.centtech.com (8.9.3+Sun/8.9.3) with ESMTP id JAA06905; Fri, 8 Jun 2001 09:56:35 -0500 (CDT) Message-ID: <3B20E7A4.21722896@centtech.com> Date: Fri, 08 Jun 2001 09:56:36 -0500 From: Eric Anderson Reply-To: anderson@centtech.com Organization: Centaur Technology X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.14-5.0smp i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Cc: freebsd-security@freebsd.org Subject: gif interfaces don't count packets? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG After setting up a few VPN's with IPSEC using the gif interfaces, I found that the gif interfaces don't always count packets/bytes to/from the interface. It appears it only counts the packets if it is destined to or has a source from an IP that has been ifconfig'ed to the gif interface (I used netstat -bi to show this data). Any data passing through the gif/IPSEC tunnel should increase the counters, right? What am I missing here? Oh, incidentally, I'm using 4.2 Release for all my FreeBSD VPN boxes at this point, with Racoon as my key exchanger. Eric -- ------------------------------------------------------------------------------- Eric Anderson anderson@centtech.com Centaur Technology (512) 418-5792 For every complex problem, there is a solution that is simple, neat, and wrong. ------------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message