Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 1999 16:15:15 +0100
From:      Cillian Sharkey <cillian@baker.ie>
To:        Sheldon Hearn <sheldonh@uunet.co.za>
Cc:        Niall Smart <niall@pobox.com>, Doug White <dwhite@resnet.uoregon.edu>, questions@freebsd.org, hackers@freebsd.org
Subject:   Re: Various Questions
Message-ID:  <37B2E503.B6A3C229@baker.ie>
References:  <2225.934453793@axl.noc.iafrica.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37B2E503.B6A3C229>