From owner-freebsd-hackers Fri Dec 30 06:49:10 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id GAA19029 for hackers-outgoing; Fri, 30 Dec 1994 06:49:10 -0800 Received: from terra.npi.msu.su (root@terra.npi.msu.su [158.250.20.3]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id GAA19023; Fri, 30 Dec 1994 06:49:04 -0800 Received: from sunny.bog.msu.su (sunny [158.250.20.1]) by terra.npi.msu.su (8.6.9/8.6.6) with ESMTP id RAA01304; Fri, 30 Dec 1994 17:48:01 +0300 Received: (dima@localhost) by sunny.bog.msu.su (8.6.9/8.6.5) id RAA09550; Fri, 30 Dec 1994 17:48:03 +0300 Date: Fri, 30 Dec 1994 17:47:59 +0300 (????) From: Dmitry Khrustalev X-Sender: dima@sunny To: "Jonathan M. Bresler" cc: David Dawes , freebsd-security@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: ifconfig -a In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk 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 > >