From owner-freebsd-questions Thu Aug 12 8:31:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from vax1.baker.ie (VAX1.baker.IE [194.125.50.91]) by hub.freebsd.org (Postfix) with SMTP id 46DF3157F0; Thu, 12 Aug 1999 08:31:34 -0700 (PDT) (envelope-from cillian@baker.ie) Received: from baker.ie ([194.125.50.55]) by vax1.baker.ie with ESMTP; Thu, 12 Aug 1999 16:34:03 +0100 Message-ID: <37B2E503.B6A3C229@baker.ie> Date: Thu, 12 Aug 1999 16:15:15 +0100 From: Cillian Sharkey X-Mailer: Mozilla 4.6 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Sheldon Hearn Cc: Niall Smart , Doug White , questions@freebsd.org, hackers@freebsd.org Subject: Re: Various Questions References: <2225.934453793@axl.noc.iafrica.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > But what happens if you write a program which does whatever ioctl is > > required to unpromiscify an interface and run it on an unpromiscuous > > interface, does it print a message to syslog even though promiscuous > > mode was never enabled in the first place? > > Like I said, I seem to get the intended behaviour. > > vty1 -> start trafshow > Aug 12 12:26:41 axl /kernel: xl0: promiscuous mode enabled > vty2 -> start trafshow > vty1 -> kill trafshow > vty2 -> kill trafshow > Aug 12 12:27:22 axl /kernel: xl0: promiscuous mode disabled > > :-) If everything works ok , howabout one of the developers commits this modification to /sys/net/if.c ? - Cillian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message