summaryrefslogtreecommitdiff
path: root/usr.bin/whois
AgeCommit message (Collapse)Author
2014-01-03The whois() function is called in a loop so make sure we close theTodd C. Miller
socket to the whois server before returning. Adapted from a diff from Loganaden Velvindron.
2013-11-25obvious cast for isblank()Theo de Raadt
2013-03-05let whois -P do a query against peeringdb. ok deraadt phessler, feedback jmcStuart Henderson
2012-09-26last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
references into a STANDARDS section;
2012-08-22rfc 812 was obsoleted by rfc 954; 954 was obsoleted by 3912, however itJason McIntyre
does not completely replace the contents of 954, so i've put references to both in;
2012-08-12Use .Lk for HTTP hyperlinks, not .Pa.Ingo Schwarze
Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>. jmc@ agrees in principle that .Lk is the right macro to use. While here, update a few broken links, and add missing markup at a few places.
2010-03-04remove -6 from usage();Jason McIntyre
2010-03-046Bone is dead and doesn't respond to whois requests. Remove manKenneth R Westerback
page mentions and '-6' related code. Pointed out by Sebastian Rother. ok deraadt@ henning@
2007-08-29add lacnic and afrinic to the list in the -a descrHenning Brauer
2007-08-29add afrinic to the list of known whois servers so that referrals areHenning Brauer
followed, part of PR 5566 From: Frank Habicht <geier@tih.co.tz> I am not convinced we really want to add new shortcuts on teh commandline for all whois hosts. the number is increasing, do we really want to add on option for each? shouldn't we rely on the referrals (working just fine)?
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
and synopsis of commands lots of good ideas by jmc@ ok jmc@
2007-07-05Remove unused variable; Lawrence TeoTodd C. Miller
2007-05-31convert to new .Dd format;Jason McIntyre
2006-09-17when looking up ASNs (ASxxxx), select radbHenning Brauer
2006-06-01Like DENIC, DK-HOSTMASTER is requires extra attention. This makes youMichael Knudsen
actually get handle information when looking up .dk domains. While there, make the DENIC stuff use the QNICHOST_TAIL symbol. Original diff from Soeren Hansen because I was complaining about this, tweaked by me. ok beck (holding his nose).
2005-07-22for .de domains, we need to send more shit to the denic whois server soHenning Brauer
that idn domains are handled correctly...
2005-06-27 * pass -Wshadow as well (port_whois vs port)Henning Brauer
* save errno value properly * better realloc(3) All changes taken from NetBSD (partly from -r1.23 and -r1.25). From: Andrey Matveev <evol@online.ptt.ru>, thanks!
2005-06-25-Wall clean nowHenning Brauer
2005-06-25couldn't stop my fingers from doing some cleanupHenning Brauer
2005-06-25$OpenBSD$, got botchedHenning Brauer
2005-06-22slightly simplify; christos@netbsdHenning Brauer
2005-06-22deal with german stupidity... nic.de decided that it is a good idea toHenning Brauer
screw everybody trying to use whois and to require some esoteric flags to be send with the query to get the regular whois output, which is not only a pain in the ass to type, but also breaks the automatic server selection via <tld>.whois-servers.net. thus, deal with their stupidity by sending these flags unconditionally whenever we talk to their server. ok hshoexer claudio
2003-10-20typos from Jared Yanovich, slightly ammended;Jason McIntyre
2003-10-12sort options and sync usage();Jason McIntyre
from wiz@netbsd
2003-10-04whois port hack thingy; rperkins@tcsg.netTheo de Raadt
2003-09-18if length is 1, don't try to null memory that doesn't belong to us.Federico G. Schwindt
found by tedu@, ok by millert@ and him.
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-15I lied, we didn't skip blanks after WHOIS_SERVER_ID; this fixes that.Todd C. Miller
2003-04-15Remove trailing space in "Whois Server: " since not all recordsTodd C. Miller
have whitespace separating that string and the hostname of the whois server (and we strip out whitespace before the hostname anyway). Fixes lookups of .org and probably others.
2003-01-15Fixes from Andrey Matveev:Todd C. Miller
o Remove bogus cast to char in getopt() switch o Check for strdup() failure o Don't list -p option twice in usage()
2003-01-07Whois updates, mostly adapted from FreeBSDTodd C. Miller
o make "whois -i" go to whois.networksolutions.com o add "-p port" option (renamed old -p to -A) o add support for recursive lookups of IP numbers o remove WHOIS_INIC_FALLBACK, it is no longer useful o man page updates
2003-01-06Rename VNICHOST -> NNICHOST now that Verisign has spun off NSI.Todd C. Miller
2003-01-05Use a temp variable when cycling through ai_addr's so we don't passTodd C. Miller
freeaddrinfo() a NULL pointer if the hostname is not resolvable.
2002-12-19Recognize CORENIC handles and use CNICHOST like we do VNICHOST ones.Todd C. Miller
By request and based on a diff from Henning Brauer
2002-12-19o Add -6 and -c options from FreeBSDTodd C. Miller
o Get rid of sysexits.h from Andrey Matveev o Some simplification and cleanup by me (improved readability, less code) o Add logic to use whois.networksolutions.com if name is a handle starting with '!'
2002-12-17ANSIfu and if given multiple names, don't exit if we get an errorTodd C. Miller
looking up just one. Exit value is now the number of errors found trying to lookup all the names. Some bits from Andrey Matveev.
2002-09-05lacnic support; from Loic Tortay <loict@bougon.net>.Federico G. Schwindt
2002-05-29strlcatTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-13When you give command examples and etc., in a manual page prefix them with:Mike Pechkin
$ command or # command deraadt@ ok
2002-01-21correct usage; ok deraadt@Kevin Steves
2001-10-04Deal with whois output that lacks a final newline. This is not legalTodd C. Miller
but apparently there are broken whois servers out there.
2000-07-12make whois(1) IPv6-ready. patch from deraadt + minor tweaks.Jun-ichiro itojun Hagino
2000-03-23More pedantic man page formatting insanity, lalalaAaron Campbell
2000-03-14Finish off cleanup usr.bin/ man pages.Aaron Campbell
2000-03-04In Unix land we prefer "whitespace" to "white space" or "white-space". AtAaron Campbell
least, this is the impression I get from looking at a lot of Perl docs.
2000-01-22ie. -> i.e.,Aaron Campbell