From owner-freebsd-questions Sun Nov 17 3:37:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 616C937B401 for ; Sun, 17 Nov 2002 03:37:50 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD8B443E6E for ; Sun, 17 Nov 2002 03:37:48 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gAHBbkx2020411; Sun, 17 Nov 2002 11:37:46 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gAHBbeGu020410; Sun, 17 Nov 2002 11:37:40 GMT Date: Sun, 17 Nov 2002 11:37:40 +0000 From: Matthew Seaman To: budsz Cc: freebsd-questions@freebsd.org Subject: Re: question on IP alias/broadcast Message-ID: <20021117113740.GC19147@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , budsz , freebsd-questions@freebsd.org References: <058f01c28d76$22296230$020aa8c0@morpheous> <5.2.0.9.2.20021116082511.00b26508@molson.wixb.com> <20021116162134.GB12726@happy-idiot-talk.infracaninophi> <20021117070457.GB45577@kumprang.or.id> <20021117081620.GA19147@happy-idiot-talk.infracaninophi> <20021117110310.GB46956@kumprang.or.id> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021117110310.GB46956@kumprang.or.id> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-0.1 required=5.0 tests=IN_REP_TO,NUMERIC_HTTP_ADDR,REFERENCES,SPAM_PHRASE_03_05, TO_LOCALPART_EQ_REAL,USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Nov 17, 2002 at 06:03:10PM +0700, budsz wrote: > Thank you for your explaination, But it's valid if I use > [http/ftp/mailto/https]://interger_decimal ?, What part RFC explain this is? It's application dependent. Most modern web browsers (Netscape 6, Mozilla, probably the latest IE) won't accept IPv4 addresses in URLs as anything other than a dotted quad, and web servers also may not respond in the way you expect. Eg. happy-idiot-talk:~:% lynx -dump http://0x7f000001/ If you can see this, it means that the installation of the [1]Apache web server software on this system was successful. You may now add content to this directory and replace this page. [...etc...] Hexadecimal works fine... happy-idiot-talk:~:% lynx -dump http://2130706433/ Bad Request Your browser sent a request that this server could not understand. _________________________________________________________________ Apache/2.0.43 Server at 2130706433 Port 80 ... whereas decimal doesn't. Note: this is being rejected by the apache2 server: lynx itself is quite happy to use a decimal as a web server address. Many other programs that can take an IPv4 address as an argument will also accept it in an alternate format --- ping(8) is a good example. Nowadays, using a decimal integer as a server address in a URL is unlikely to work It used to be a fairly common trick used by spammers and other undesirables to attempt to hide their identity or try get around some filtering software. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message