Home | History | Annotate | Download | only in whois
History log of /src/usr.bin/whois/whois.c
RevisionDateAuthorComments
 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