From owner-freebsd-stable Fri Jan 28 6:33:24 2000 Delivered-To: freebsd-stable@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id B7929158B0 for ; Fri, 28 Jan 2000 06:33:18 -0800 (PST) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id GAA81327; Fri, 28 Jan 2000 06:33:10 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <200001281433.GAA81327@gndrsh.dnsmgr.net> Subject: Re: Odd DoS In-Reply-To: <20000128061520.A80597@mushhaven.net> from Jamie Norwood at "Jan 28, 2000 06:15:20 am" To: mistwolf@mushhaven.net (Jamie Norwood) Date: Fri, 28 Jan 2000 06:33:09 -0800 (PST) Cc: freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 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 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