From owner-freebsd-stable Sat Apr 21 6:42:59 2001 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id C08CA37B422 for ; Sat, 21 Apr 2001 06:42:56 -0700 (PDT) (envelope-from Cy.Schubert@uumail.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id GAA20319; Sat, 21 Apr 2001 06:41:54 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda20317; Sat Apr 21 06:41:36 2001 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.2/8.9.1) id f3LDfVL17981; Sat, 21 Apr 2001 06:41:31 -0700 (PDT) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdL17974; Sat Apr 21 06:40:55 2001 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.3/8.9.1) id f3LDet424503; Sat, 21 Apr 2001 06:40:55 -0700 (PDT) Message-Id: <200104211340.f3LDet424503@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdg24498; Sat Apr 21 06:40:45 2001 X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-Sender: schubert To: Alex Popa Cc: Chris Faulhaber , freebsd-stable@freebsd.org Subject: Re: more on promiscuity In-reply-to: Your message of "Sat, 21 Apr 2001 16:05:33 +0300." <20010421160533.A56321@ldc.ro> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 21 Apr 2001 06:40:45 -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20010421160533.A56321@ldc.ro>, Alex Popa writes: > On Thu, Apr 19, 2001 at 09:55:37AM -0400, Chris Faulhaber wrote: > > On Thu, Apr 19, 2001 at 08:52:50AM -0500, George.Giles@mcmail.vanderbilt.ed > u wrote: > > > Ntop, I assume, will enable ? > > > How do I disable once it is enabled ? > > > > > > > It will be disabled when the program terminates (you should have > > both enabled and disabled entries in your logs) > > When using user ppp, and tcpdump on my tun0 interface, the interface > gets into promiscuous mode, but not out of promisc mode. > (I am bit unsure, but I think it stays promisc even after quitting > ppp, not that it would be a problem I think) You and I are on the same page. I just asked for an MFC of src/sys/net/if_tun.c 1.90 for 4.4-RELEASE. If you want to fix this now, patch your system with, http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/net/if_tun.c.diff?r1=1.89& r2=1.90 Don't forget to remove the identification part of the patch, that's the first part, which is specific to -current, or the patch will fail to apply. The second part of the patch, the actual code change, patches cleanly and fixes the problem for me. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/Alpha Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message