Subject: Re: Ifconfig
To: NetBSD-userlevel <firstname.lastname@example.org>
From: Liam J. Foy <email@example.com>
Date: 03/26/2006 19:29:04
On 17:36, Sat 25 Mar 06, firstname.lastname@example.org wrote:
> On Sat, Mar 25, 2006 at 04:31:29PM +0000, Marcin Jessa wrote:
> > The thing is most people seem to want to be able to replace
> > the old behaviour of ifconfig which requires -a flag to list all the devices
> > with just ifconfig as on most of the other open source operating systems.
> > Is there any reason we still keep this rather annoying behaviour and what
> > do you guys think about this change?
> I think the default listening of crypto keys and (in the future) CARP
> passwords should be disabled, before ifconfig -a can be the default.
> Otherwise I'd prefer that as well.
Using ifconfig -a doesn't show CARP passwords. Infact, the ifconfig code
doesn't show them at all (I'm taking about the CARP patch ifconfig).
# ifconfig -a
rtk0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu
media: Ethernet 100baseTX
inet 192.168.1.6 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::250:fcff:fe31:cde0%rtk0 prefixlen 64 scopeid 0x1
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33192
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
carp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
carp: MASTER carpdev rtk0 vhid 1 advbase 1 advskew 100
inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
(The password for your information on the CARP interface is 'carpy')
Liam J. Foy