Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2000 06:33:09 -0800 (PST)
From:      "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
To:        mistwolf@mushhaven.net (Jamie Norwood)
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Odd DoS
Message-ID:  <200001281433.GAA81327@gndrsh.dnsmgr.net>
In-Reply-To: <20000128061520.A80597@mushhaven.net> from Jamie Norwood at "Jan 28, 2000 06:15:20 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> On Fri, Jan 28, 2000 at 06:11:08AM -0800, Rodney W. Grimes wrote:
> > > #ifconfig_ep1_alias0="inet 194.134.130.170 194.134.128.1 netmask
> > > 255.255.252.0"
> > 
> > The above won't even parse correctly by ifconfig, 2 ip's???? and
> > again, is this network SUPERNETTED?  Or is the netmask suppose to
> > actually be 255.255.255.252?
> 
> Err, yes, it will, it's not two IPs, it is IP DEST.

Not on epX it ain't!!!


> 
> >From man ifconfig:
> 
> SYNOPSIS
>      ifconfig interface address_family [address [dest_address]] [parameters]

From man ifconfig:
     dest_address
             Specify the address of the correspondent on the other end of a
             point to point link.

gndrsh:root {1327}# !1324
ifconfig de0 inet 194.134.130.170 194.134.128.1 netmask 255.255.252.0
gndrsh:root {1328}# Jan 28 06:30:34 gndrsh gated[108]: if_rtup: UP route for interface de0 194.134.130.170/255.255.252

gndrsh:root {1328}# ifconfig -a
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 194.134.130.170 netmask 0xfffffc00 broadcast 194.134.128.1
                                                          ^^^^^^^^^^^^^
        ether 00:c0:f0:04:2c:d4 
        media: autoselect (10base5/AUI) status: active
        supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP <full-duplex> 10baseT/UTP

...
That 194.134.128.1 actual screws up the broadcast address, which is what
the second argument to the underlying ioctl gets used for when it is
set!!!


-- 
Rod Grimes - KD7CAX @ CN85sl - (RWG25)               rgrimes@gndrsh.dnsmgr.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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