Strange NMAP results

Brooks Davis brooks at one-eyed-alien.net
Thu Apr 20 18:17:15 UTC 2006


On Thu, Apr 20, 2006 at 04:30:18PM +0300, Mykola Dzham wrote:
>  Derrick Edwards wrote:
> >      This is what is in my /etc/rc.conf. They are listed at the bottom of the 
> > file because I took this rc.conf from my other machines. Should that matter?
> > network_interfaces=dc0
> 
> Wrong. Remove line "network_interfaces=dc0" or change to
> network_interfaces="lo0 dc0"

In general, setting network_interfaces your self is wrong and that usage
is considered deprecated.  It is documented as such in HEAD and I will
probably MFC that documentation after the 6.1 release.  Use the NOAUTO
keyword or simply don't create ifconfig_<if> variables instead.

-- Brooks

> > ifconfig_dc0="inet 192.168.1.109 netmask 0xffffff00"
> > ifconfig_lo0="dhcpinet 127.0.0.1 netmask 0xff000000"
> 
> Wrong. In /etc/defaults/rc.conf ifconfig_lo0 is set to "inet 127.0.0.1" .
> Do not reset this value.
> 
> > v/r 
> > Derrick
> > 
> > On Monday 17 April 2006 22:23, Mike Edenfield wrote:
> > > Derrick Edwards wrote:
> > > > focus# ifconfig -a
> > > > dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> > > >         options=8<VLAN_MTU>
> > > >         inet6 fe80::250:2cff:fe07:937d%dc0 prefixlen 64 scopeid 0x1
> > > >         inet 192.168.1.109 netmask 0xffffff00 broadcast 192.168.1.255
> > > >         ether 00:50:2c:07:93:7d
> > > >         media: Ethernet autoselect (100baseTX <full-duplex>)
> > > >         status: active
> > > > plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
> > > > lo0: flags=8008<LOOPBACK,MULTICAST> mtu 16384
> > >
> > > This is odd.  Your loopback adapter has no IP addresses
> > > bound to it.  That would explain why you can't send to
> > > localhost, but not how it ended up in this condition.
> > >
> > > I suspect there is something in your /etc/rc.conf that is
> > > preventing the default ifconfig_lo0 settings from being
> > > applied.  First guess: do you have network_interfaces="" set
> > > in /etc/rc.conf, and if so, did you forget to include lo0 in
> > > the list?
> > _______________________________________________
> > freebsd-ports at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> > 
> 
> -- 
> Mykola Dzham, LEFT-(UANIC|RIPE)
> JID: levsha at jabber.net.ua
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060420/553ca5a6/attachment.pgp


More information about the freebsd-ports mailing list