Date: Fri, 30 Dec 1994 17:47:59 +0300 (????) From: Dmitry Khrustalev <dima@sunny.bog.msu.su> To: "Jonathan M. Bresler" <jmb@kryten.atinc.com> Cc: David Dawes <dawes@physics.su.oz.au>, freebsd-security@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: ifconfig -a Message-ID: <Pine.SOL.3.91.941230173419.9540A-100000@sunny> In-Reply-To: <Pine.3.89.9412300822.C23633-0100000@kryten.atinc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On suns, ifconfig finds ethernet address via /dev/nit. Then running by regular user, it fails to open nit, so it does not report link address. Same if nit is not configured into kernel. Also, you can do things like ifconfig -a up or ifconfig -a auto-revarp with sun's ifconfig. -Dima On Fri, 30 Dec 1994, Jonathan M. Bresler wrote: > > run as root on some sun's, ifconfig returns the ethernet address > in addition to the usual information. run by everyone else the ethernet > address is omitted. > > arp is NOT restricted; it has permissions of 2755. arp -a > provides the ethernet address of all machines in the cache. > > what is the point of sun's ifconfig behaviour? why should we > emulate this quirk? > > Jonathan M. Bresler jmb@kryten.atinc.com | Analysis & Technology, Inc. > | 2341 Jeff Davis Hwy > play go. | Arlington, VA 22202 > ride bike. hack FreeBSD.--ah the good life | 703-418-2800 x346 > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.91.941230173419.9540A-100000>