From owner-freebsd-questions Thu Aug 12 3:24:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from relay04.indigo.ie (relay04.indigo.ie [194.125.133.228]) by hub.freebsd.org (Postfix) with SMTP id CF4C514D46 for ; Thu, 12 Aug 1999 03:24:17 -0700 (PDT) (envelope-from niall@pobox.com) Received: (qmail 26143 messnum 46410 invoked from network[194.125.220.174/ts06-047.dublin.indigo.ie]); 12 Aug 1999 10:24:22 -0000 Received: from ts06-047.dublin.indigo.ie (HELO pobox.com) (194.125.220.174) by relay04.indigo.ie (qp 26143) with SMTP; 12 Aug 1999 10:24:22 -0000 Message-ID: <37B2BC13.ECA642D0@pobox.com> Date: Thu, 12 Aug 1999 12:20:35 +0000 From: Niall Smart X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 3.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Sheldon Hearn Cc: Cillian Sharkey , Doug White , questions@freebsd.org, hackers@freebsd.org Subject: Re: Various Questions References: <1789.934451267@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 Sheldon Hearn wrote: > > On Thu, 12 Aug 1999 11:29:47 GMT, Niall Smart wrote: > > > Or is the test for IFF_PROMISC made earlier in the code? You > > should only print a disabled message when it has previously > > been enabled so that log file watchers can always match up > > the up/down pairs. > > I've been using if.c modified exactly as suggested for a few months now > and have experienced the intended results without apparent problems. 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? Time to start reading some code methinks Niall + To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message