Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 08:30:03 -0800 (PST)
From:      Mike Barcroft <mike@coffee.q9media.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/24707: [patch] Whois IP Address Handling
Message-ID:  <200101291630.f0TGU3W86333@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/24707; it has been noted by GNATS.

From: Mike Barcroft <mike@coffee.q9media.com>
To: Peter Pentchev <roam@orbitel.bg>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: bin/24707: [patch] Whois IP Address Handling
Date: Mon, 29 Jan 2001 11:31:26 -0500 (EST)

 > Just a little comment - I think in checking for dotted-quad IP addresses
 > you should be doing just that - check for dotted quads, not just check
 > for a starting digit.  Yes, I know that the RFC's forbid - or at least
 > express a mild disagreement - with labels starting with a digit, but
 > in the real world, your patch would break e.g. 'whois 42.com' :(
 
 Not true.  The patch checks the TLD, so 42.com works and 10.0.0.0 goes to
 ARIN.  Since a TLD is never going to be a digit, it's safe to assume that
 it's an IP address.
 
 Best regards,
 Mike Barcroft
 


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




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