Home | History | Annotate | only in /src/usr.bin/whois
History log of /src/usr.bin/whois
RevisionDateAuthorComments
 1.8 01-Mar-2020  sevan RIPE definition no longer exists in source
 1.7 14-Apr-2009  lukem branches: 1.7.46;
Enable WARNS=4 by default for usr.bin, except for:
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
 1.6 28-May-2007  tls branches: 1.6.20;
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
 1.5 09-Oct-2003  christos - enable WARNS 2
- delint (void casts, shadow warning on port)
- always cast to unsigned char for isfoo() macros, not sometimes.
- save errno to avoid reporting random error value.
- use warnx() when the error is indeed unknown.
- use getprogname() instead of __progname.
- make all locals static.
 1.4 18-May-1999  tron - Resolve conflicts from import.
- Fix compilation problems.
- Use "whois.internic.net" as default server for backward compatibility.
- Reformat manual page.
 1.3 14-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 30-Jul-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 14-Nov-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6.20.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.7.46.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.28 01-Jan-2025  htodd Fix capitalization.
 1.27 01-Mar-2020  sevan branches: 1.27.10;
Merge in changes from OpenBSD 6.6 whois(1).
This improves recursion support and querying whois servers.
 1.26 15-Mar-2012  njoly branches: 1.26.32;
Use Lk macro when dealing with URLs. While here update or remove some
dead URL links. Another part of PR/29238.
 1.25 04-May-2009  wiz branches: 1.25.6;
Punctuation.
 1.24 09-Sep-2007  christos branches: 1.24.14;
PR/36957: sm: whois does not follow AfriNIC referral
 1.23 21-Oct-2003  wiz branches: 1.23.24;
Fix typos, from Jared Yanovich. Forwarded by jmc@openbsd.
 1.22 11-Oct-2003  wiz Sort options.
 1.21 09-Oct-2003  jrf christos@netbsd.org suggested we replace whois
with one that is KNF, has ipv6, better error
handling, and recursion. I settled on OpenBSDs.
Christos found some nits and had me commit as
is. Christos will follow up with fixes shortly.
 1.20 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.19 06-Apr-2003  wiz NFSNET. From Igor Sobrado in PR 19691.
 1.18 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.17 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.16 13-Jan-2002  wiz Drop some .Pp, sort sections.
 1.15 13-Jan-2002  fair Extensive revamp of this man page to both answer PR 11116 and deal
with a wide variety of other problems in what came over from RIPE.
 1.14 08-Dec-2001  wiz Use .Pp instead of empty lines.
 1.13 01-Dec-2001  wiz Whitespace cleanup.
 1.12 05-Oct-1999  matthias make this actually display the flag descriptions and examples.
 1.11 03-Sep-1999  itojun branches: 1.11.2;
IPv6-ready whois client.

PR: 8281
 1.10 18-May-1999  tron - Resolve conflicts from import.
- Fix compilation problems.
- Use "whois.internic.net" as default server for backward compatibility.
- Reformat manual page.
 1.9 22-Mar-1999  garbled More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
 1.8 24-Nov-1998  kim Allow port number for the server to be specified ("-h server:port").
This makes it possible to query rwhois servers at non-standard ports.
 1.7 20-Oct-1997  lukem deprecate register, fix .Nm, use err.h, use ANSI string.h
 1.6 19-Oct-1997  mrg WARNSify; deprecate register; clean up .Nm
 1.5 31-Aug-1995  jtc Sync with 4.4lite2.
 1.4 14-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.3 01-Aug-1993  mycroft Add RCS indentifiers.
 1.2 27-Jul-1993  jtc Fix formatting bug.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.4 18-May-1999  tron Updated "whois" client from RIPE WHOIS Tools 2.4 distribution.
 1.1.1.3 31-Aug-1995  jtc imported from 44lite2
 1.1.1.2 14-Nov-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.11.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.23.24.1 06-Nov-2007  matt sync with HEAD
 1.24.14.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.25.6.1 17-Apr-2012  yamt sync with head
 1.26.32.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.27.10.1 02-Aug-2025  perseant Sync with HEAD
 1.38 01-Mar-2020  sevan Order caps first
 1.37 01-Mar-2020  sevan Merge in changes from OpenBSD 6.6 whois(1).
This improves recursion support and querying whois servers.
 1.36 20-Feb-2013  ws branches: 1.36.30;
It helps to separate arguments from the query.
While still suboptimal (you cannot use all the queries specified for .DE),
at least this way we don't get cryptic error messages for standard queries.
 1.35 17-Aug-2011  christos branches: 1.35.2; 1.35.8;
fix non-literal string format
 1.34 14-Apr-2009  lukem fix -Wcast-qual issues
 1.33 21-Jul-2008  lukem branches: 1.33.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.32 15-Dec-2007  perry branches: 1.32.6;
convert __attribute__s to applicable cdefs.h macros
 1.31 09-Sep-2007  christos PR/36957: sm: whois does not follow AfriNIC referral
 1.30 02-May-2006  christos branches: 1.30.12;
Coverity CID 1736: close files before returning.
 1.29 30-Apr-2006  liamjfoy remove an unused variable

ok christos
 1.28 22-Jul-2005  christos add more crap for denic. From OpenBSD.
 1.27 22-Jun-2005  christos Deal with nic.de stupidity. Idea from OpenBSD, but simplified.
 1.26 05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.25 16-Oct-2003  itojun safer use of realloc
 1.24 11-Oct-2003  wiz Sort options.
 1.23 09-Oct-2003  christos - enable WARNS 2
- delint (void casts, shadow warning on port)
- always cast to unsigned char for isfoo() macros, not sometimes.
- save errno to avoid reporting random error value.
- use warnx() when the error is indeed unknown.
- use getprogname() instead of __progname.
- make all locals static.
 1.22 09-Oct-2003  jrf christos@netbsd.org suggested we replace whois
with one that is KNF, has ipv6, better error
handling, and recursion. I settled on OpenBSDs.
Christos found some nits and had me commit as
is. Christos will follow up with fixes shortly.
 1.21 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.20 14-Jul-2003  itojun use bounded string op
 1.19 23-Jun-2003  agc Add NetBSD RCS Ids.
 1.18 13-Jun-2002  wiz Remove some STDC ifdefs, and some code that's for non-NetBSD systems.
ANSIfy.
 1.17 06-Apr-2001  wiz Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
 1.16 27-Jan-2001  joda don't know when the TOPDOMAIN compile-time option might be useful, but
doing strcat on a string literal is not a very good idea
 1.15 04-Oct-2000  mjl getopt(3) returns -1 not EOF.
 1.14 30-Sep-2000  jhawk Return to whois.internic.net.
whois.networksolutions.com is just wrong -- it only returns information
for Network Solutions domains.
whois.opensrs.net is a bit better -- it returns information for OpenSRS
domains, and otherwise recurses to the correct whois server for other
domains -- unfortunately it is not canonical, and cannot be construed as
"correct." Other recursing proxies include whois.geektools.com and pallas.
eruditorum.org, neither of which is "official" either.

For good or for ill, we go back to whois.internic.net, which is the canonical
source for this information.
 1.13 19-Sep-2000  tv Until whois supports proper recursion and/or the rwhois protocol, use
whois.opensrs.net, which does internal recursion for domain data.
Network Solutions' server recurses on only _some_ registries, and has the
damned disclaimer and advertising on no-match results.
 1.12 03-Dec-1999  fair branches: 1.12.4;
The never-sufficiently-damned Network Solutions has whacked around
the WHOIS service, again. New target: whois.networksolutions.com

This program should be replaced with one that does WHOIS++ so that it
can hit all the registries for data.
 1.11 06-Sep-1999  itojun branches: 1.11.4;
fix getaddrinfo() loop.
Approved by: seirios@iri.co.jp (submitter of IPv6 whois patch)
 1.10 03-Sep-1999  itojun IPv6-ready whois client.

PR: 8281
 1.9 18-May-1999  tron - Resolve conflicts from import.
- Fix compilation problems.
- Use "whois.internic.net" as default server for backward compatibility.
- Reformat manual page.
 1.8 24-Nov-1998  kim branches: 1.8.2;
Allow port number for the server to be specified ("-h server:port").
This makes it possible to query rwhois servers at non-standard ports.
 1.7 20-Oct-1997  lukem deprecate register, fix .Nm, use err.h, use ANSI string.h
 1.6 19-Oct-1997  mrg WARNSify; deprecate register; clean up .Nm
 1.5 14-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.4 27-Aug-1993  jtc Minor tweaks: including header files to bring prototypes into scope,
explicitly declaring function return values, etc. to make gcc -Wall
shut up.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 02-Apr-1993  cgd the whois database moved
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3 18-May-1999  tron Updated "whois" client from RIPE WHOIS Tools 2.4 distribution.
 1.1.1.2 14-Nov-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.2.1 04-Dec-1999  he Pull up revision 1.12 (via patch, requested by fair):
New default whois server: whois.networksolutions.com.
 1.11.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.12.4.3 05-Apr-2001  jhawk Fix merge error from 1.12.4.2.
 1.12.4.2 30-Sep-2000  jhawk Pullup rev 1.14, approved by tv:
Return to whois.internic.net.
whois.networksolutions.com is just wrong -- it only returns information
for Network Solutions domains.
whois.opensrs.net is a bit better -- it returns information for OpenSRS
domains, and otherwise recurses to the correct whois server for other
domains -- unfortunately it is not canonical, and cannot be construed as
"correct." Other recursing proxies include whois.geektools.com and pallas.
eruditorum.org, neither of which is "official" either.

For good or for ill, we go back to whois.internic.net, which is the canonical
source for this information.
 1.12.4.1 19-Sep-2000  tv Pullup 1.13, approved by thorpej:
Until whois supports proper recursion and/or the rwhois protocol, use
whois.opensrs.net, which does internal recursion for domain data.
Network Solutions' server recurses on only _some_ registries, and has the
damned disclaimer and advertising on no-match results.
 1.30.12.2 09-Jan-2008  matt sync with HEAD
 1.30.12.1 06-Nov-2007  matt sync with HEAD
 1.32.6.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.33.6.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.35.8.1 25-Feb-2013  tls resync with head
 1.35.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.36.30.1 08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed