Date: Sun, 17 Nov 2002 11:37:40 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: budsz <budsz@kumprang.or.id> Cc: freebsd-questions@freebsd.org Subject: Re: question on IP alias/broadcast Message-ID: <20021117113740.GC19147@happy-idiot-talk.infracaninophi> In-Reply-To: <20021117110310.GB46956@kumprang.or.id> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021117113740.GC19147>