History log of /freebsd-10.0-release/usr.bin/whois/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


235211 10-May-2012 gjb

General mdoc(7) and typo fixes.

PR: 167696
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days


227246 06-Nov-2011 ed

Mark global functions and/or variables in whois(1) static where possible.

This allows compilers and static analyzers to more thorough analysis.


216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


202281 14-Jan-2010 edwin

Make whois capable of searching for IPv6 addresses just like it can
do for IPv4 addresses without having to explicetly specify that the
ARIN server should be used to get the initial information

PR: bin/128725
Submitted by: "Matt D. Harris" <mdh_lists@yahoo.com>
MFC after: 1 week


202280 14-Jan-2010 edwin

Remove -d option, whois.nic.mil doesn't exist anymore.

PR: bin/142507
Submitted by: Dan Mahoney <danm@prime.gushi.org>
MFC after: 1 week


197725 03-Oct-2009 dougb

The 6bone was decommissioned on 6/6/06, so remove references to it.


168721 14-Apr-2007 ache

Use proper type cast for ctype macro


166103 19-Jan-2007 phk

Make DK-HOSTMASTER show contact info for .dk domains.

Submitted by: Søren Hansen <shan@soeren-hansen.dk>


162792 29-Sep-2006 ru

Markup fixes.


154710 23-Jan-2006 jhay

Add AfriNIC as a RIR.

PR: 80421
Submitted by: Adrian Frith <adrian at frith.homelinux.org>
MFC after: 6 days


146752 29-May-2005 charnier

Reduce compiler warning: variable might be used uninitialized, by giving
an initial value.


138682 11-Dec-2004 ceri

Bump document date before ru gets me.


138681 11-Dec-2004 ceri

Add a -k flag for querying whois.krnic.net (the National Internet
Development Agency of Korea) which hold details of IP address
allocations within Korea.

Approved by: bms


134294 25-Aug-2004 mbr

Add special case for the german whois nameserver. Without the
'-T dn,ace -C US-ASCII' option one does only get:

$ whois nic.de

domain: nic.de
status: connect

More information available on:

http://www.denic.de/en/domains/technik/denic_whois-server/index.html

MFC: 3 days


130487 14-Jun-2004 bms

Add -b to usage.

Pointed out by: ceri
Pointy hat to: bms


130479 14-Jun-2004 bms

Add whois.abuse.net to whois(1).

Submitted by: ceri (with cleanups)


130471 14-Jun-2004 bms

Date bump.

Nudged by: ru
Pointy hat: bms


130466 14-Jun-2004 bms

Add whois.iana.org to the whois(1) utility, under the -I option.

PR: bin/48914
Submitted by: James Raftery


117050 29-Jun-2003 ache

Back out .SU workaround - people at whois-servers.net set up
su.whois-servers.net


116783 24-Jun-2003 ache

While there is no su.whois-servers.net, use fallback to
ru.whois-servers.net for su domain or country


116229 12-Jun-2003 mike

Drop maintainership of whois(1). If someone needs a review they can
find me in the whois.c revision history.


112617 25-Mar-2003 eivind

Add support for identifying NORID (norwegian top level registry) handles.

Reviewed by: mike (with slight changes based on feedback afterwards)


111430 24-Feb-2003 mike

Fix style bugs in previous commit.


110159 31-Jan-2003 roberto

The newly appointed .org registrar has a pecular output format so
whois doesn't follow the link to the authoritative registrar. Fix it.

PR: bin/47770
Submitted by: Alain Thivillon <at@rominet.net>
MFC after: 7 days


107276 26-Nov-2002 ru

mdoc(7) police: markup polishing.

Approved by: re


106735 10-Nov-2002 mike

Add support for the Latin American and Caribbean IP address Regional
Registry (LACNIC) with the -l option and support for recursive IP
address searches.

PR: 44448
Submitted by: David Wolfskill <david@catwhisker.org>
MFC after: 1 week


103530 18-Sep-2002 mike

ARIN has annoyingly started using caps when referencing
whois.apnic.net. To properly receive hints for recursive IP searches,
we convert a buffer to lowercase before searching for magic words.

PR: 42834
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> (mostly)
X-MFC-After: re approval


95124 20-Apr-2002 charnier

Use `The .Nm utility'


91792 07-Mar-2002 mike

Leave the `copyright' variable exposed, since the main purpose of it
is to put a copyright in the object file.

Submitted by: bde


90163 04-Feb-2002 kris

Mark a function as __printflike()

MFC after: 1 week


90131 03-Feb-2002 mike

Use new ID scheme.

Fix a bug that caused .br domains to be queried twice, by only
recursively following ARIN referrals when querying ARIN.

PR: 34291
MFC after: 7 days


88005 16-Dec-2001 mike

Fix a typo. Don't call options flags. Remove some documentation that
is no longer applicable to whois. Bump document date.


87680 11-Dec-2001 markm

Remove WARNS=2 as this is to be the default.


87536 08-Dec-2001 mike

Add support for Brazilian IP Addresses. Example `whois 200.236.70.0'.

PR: 30676


85067 17-Oct-2001 mike

Remove some EOL whitespace. Update usage() to current reality.


85066 17-Oct-2001 mike

Use whois.example.com rather than non-existent.host in an example.


84852 12-Oct-2001 mike

o Treat a buffer as a non-NUL terminated string, because the whois
server may not return a new line character on the final line.
o Remove the whois.networksolutions.com fallback code, which is no
longer needed.
o Instead of determining a hostname by terminating it when we see
whitespace, only allow hostname characters and terminate the string
when it's not such a character.
o Add a small optimization in a for loop.

PR: 30968
Reviewed by: -audit
MFC after: 4 days


82999 04-Sep-2001 mike

Remove a trailing space at the end of a line.

Forgotten by: mike
Submitted by: ru


82993 04-Sep-2001 mike

o Remove examples from throughout the manual.
o Create an EXAMPLES section.
o In some places change "ru" to "RU" to be consistent.

Reviewed by: ru


82088 21-Aug-2001 mike

Take maintainership of whois(1).


81244 07-Aug-2001 ru

mdoc(7) police: bump document date for the previous delta.


81165 05-Aug-2001 mike

o Move APNIC flag from -p to -A. Since, -p is usually associated
with specifying a port.
o Add the -p flag for specifying a port. (PR: 28790) This is
useful for querying rwhois servers. Example:
whois -h rwhois.exodus.net -p rwhois 216.136.180.0
o Add the -c flag which allows one to get the same whois server
that would normally be determined if no arguments were specified.
(Concept based on work by phantom, requested by ache) Example:
whois -c ru TCNET-MNT-RIPN
o Deprecate -R flag in favour of -c ru.

PR: 28790
Reviewed by: -audit, ache, phantom


80155 22-Jul-2001 mike

Fix a bug I introduced in Rev. 1.21 that prevented 'whois test' from
working.

Reviewed by: des
Approved by: des


80050 20-Jul-2001 mike

o Add phantom's gethostinfo() function to reduce duplicated code.
o Increase readability by creating a wrapper for asprintf(3).
o Cast isdigit(3) argument to unsigned char for future locale
changes.

Submitted by: phantom
Reviewed by: -audit, des
Approved by: des


79835 17-Jul-2001 mike

Re-write the logic that finds the whois server to query.
[This fixes a bug where one would type 'whois foo.bar.'
and get an error because of the trailing period.]

PR: 28880
Approved by: des


78901 27-Jun-2001 dd

Minor grammar cleanup.

Submitted by: Mike Barcroft <mike@q9media.com>


78900 27-Jun-2001 dd

Implement recursive IP address searches based on the results of a
query to ARIN.

PR: 28426
Submitted by: Mike Barcroft <mike@q9media.com>


78581 22-Jun-2001 des

Stylify, ANSIfy, silence warnings, plug a memory leak, don't assume the
server is well-behaved wrt. line endings.

PR: bin/28082
Submitted by: Mike Barcroft <mike@q9media.com>


77585 01-Jun-2001 ume

Do retry next entry in addrinfo during connect.

MFC after: 1 week


77368 28-May-2001 phk

Direct queries for IP numbers to ARIN. It would be nice if we could
send them to APNIC/RIPE intelligently, but we can't at this time so
fallback to ARIN and depend on them telling the user where to look.

Maybe we need a .whoisrc file...

PR: 24707
Submitted by: Mike Barcroft mike@q9media.com
MFC after: 1 week


76979 22-May-2001 ru

mdoc(7) police: fix markup.

Submitted by: roam, ru


68963 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


62756 07-Jul-2000 kris

Enable whois queries over IPv6

Obtained from: KAME


57705 02-Mar-2000 obrien

Tell people how to look up NIC handle information these days (for the two
cases I know about -- Netsol and ARIN).


57670 01-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


55285 31-Dec-1999 ru

Fix typos


54229 06-Dec-1999 joe

Mention the '6' flag in the flags summary. (Forgotten in the last commit).


54227 06-Dec-1999 joe

Add braces ({}) to all the places that they're missing.


54217 06-Dec-1999 joe

Rewrite of the manual page to make it clear that NSI and InterNIC
are no longer the same organisation.

Submitted by: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>


54172 05-Dec-1999 joe

Added a -6 option to lookup information using the whois.6bone.net
database.

PR: misc/10803 misc/10804


54088 03-Dec-1999 ache

Change -i host to whois.networksolutions.com


53294 17-Nov-1999 ache

purity change for name length checking code


53291 17-Nov-1999 ache

Merge with OpenBSD whois (with bugfixes missed there)

New features are:
Automatic lookup using *.whois-servers.net
Recursive lookup using Registrar's name
Fallback to InterNIC for non-domains
-m for RADB database
-Q to turn recursion/fallback off

Obtained from: OpenBSD


53048 09-Nov-1999 ache

Change default to whois.crsnic.net - new Central Shared Registry for domains
Move InterNIC to -i option


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


43520 02-Feb-1999 ache

Add -R for .RU domains


43506 01-Feb-1999 wollman

Update the -d flag to use the new .MIL NIC address (from PR 9802)
and add a -g flag to use the new .GOV NIC. Also convert the
SEE ALSO reference into a proper bibliographic one.

PR: 9802 (in part)


36913 12-Jun-1998 peter

#include <arpa/inet.h>


33626 19-Feb-1998 wollman

Make it more convenient to query NICs other than InterNIC. Explain in the
man page what each database contains.


28792 26-Aug-1997 charnier

Use err(3).


24360 29-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


22888 18-Feb-1997 markm

Fix default whois server.


15359 23-Apr-1996 pst

Add support for SOCKS if enabled.
Remove a useless bind() call (why did that ever get in there?)


1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.