summaryrefslogtreecommitdiffstats
path: root/usr.bin/whois
Commit message (Collapse)AuthorAgeFilesLines
* Use `The .Nm utility'charnier2002-04-201-1/+2
|
* Leave the `copyright' variable exposed, since the main purpose of itmike2002-03-071-2/+2
| | | | | | is to put a copyright in the object file. Submitted by: bde
* Mark a function as __printflike()kris2002-02-041-1/+1
| | | | MFC after: 1 week
* Use new ID scheme.mike2002-02-031-25/+20
| | | | | | | | 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
* Fix a typo. Don't call options flags. Remove some documentation thatmike2001-12-161-21/+6
| | | | is no longer applicable to whois. Bump document date.
* Remove WARNS=2 as this is to be the default.markm2001-12-111-1/+0
|
* Add support for Brazilian IP Addresses. Example `whois 200.236.70.0'.mike2001-12-081-1/+2
| | | | PR: 30676
* Remove some EOL whitespace. Update usage() to current reality.mike2001-10-171-5/+5
|
* Use whois.example.com rather than non-existent.host in an example.mike2001-10-171-2/+2
|
* o Treat a buffer as a non-NUL terminated string, because the whoismike2001-10-121-34/+24
| | | | | | | | | | | | | | 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
* Remove a trailing space at the end of a line.mike2001-09-041-1/+1
| | | | | Forgotten by: mike Submitted by: ru
* o Remove examples from throughout the manual.mike2001-09-041-11/+65
| | | | | | | o Create an EXAMPLES section. o In some places change "ru" to "RU" to be consistent. Reviewed by: ru
* Take maintainership of whois(1).mike2001-08-211-0/+2
|
* mdoc(7) police: bump document date for the previous delta.ru2001-08-071-2/+2
|
* o Move APNIC flag from -p to -A. Since, -p is usually associatedmike2001-08-052-25/+51
| | | | | | | | | | | | | | | 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
* Fix a bug I introduced in Rev. 1.21 that prevented 'whois test' frommike2001-07-221-0/+2
| | | | | | | working. Reviewed by: des Approved by: des
* o Add phantom's gethostinfo() function to reduce duplicated code.mike2001-07-201-49/+56
| | | | | | | | | | 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
* Re-write the logic that finds the whois server to query.mike2001-07-171-16/+30
| | | | | | | | [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
* Minor grammar cleanup.dd2001-06-271-6/+5
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Implement recursive IP address searches based on the results of add2001-06-272-8/+29
| | | | | | | query to ARIN. PR: 28426 Submitted by: Mike Barcroft <mike@q9media.com>
* Stylify, ANSIfy, silence warnings, plug a memory leak, don't assume thedes2001-06-222-90/+70
| | | | | | | server is well-behaved wrt. line endings. PR: bin/28082 Submitted by: Mike Barcroft <mike@q9media.com>
* Do retry next entry in addrinfo during connect.ume2001-06-011-5/+10
| | | | MFC after: 1 week
* Direct queries for IP numbers to ARIN. It would be nice if we couldphk2001-05-282-6/+19
| | | | | | | | | | | 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
* mdoc(7) police: fix markup.ru2001-05-221-40/+57
| | | | Submitted by: roam, ru
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Enable whois queries over IPv6kris2000-07-071-43/+39
| | | | Obtained from: KAME
* Tell people how to look up NIC handle information these days (for the twoobrien2000-03-021-0/+10
| | | | cases I know about -- Netsol and ARIN).
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-3/+6
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Fix typosru1999-12-311-2/+2
|
* Mention the '6' flag in the flags summary. (Forgotten in the last commit).joe1999-12-061-1/+1
|
* Add braces ({}) to all the places that they're missing.joe1999-12-061-18/+34
|
* Rewrite of the manual page to make it clear that NSI and InterNICjoe1999-12-061-2/+8
| | | | | | are no longer the same organisation. Submitted by: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
* Added a -6 option to lookup information using the whois.6bone.netjoe1999-12-052-2/+10
| | | | | | database. PR: misc/10803 misc/10804
* Change -i host to whois.networksolutions.comache1999-12-031-1/+1
|
* purity change for name length checking codeache1999-11-171-1/+1
|
* Merge with OpenBSD whois (with bugfixes missed there)ache1999-11-173-38/+173
| | | | | | | | | | | 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
* Change default to whois.crsnic.net - new Central Shared Registry for domainsache1999-11-092-5/+20
| | | | Move InterNIC to -i option
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Add -R for .RU domainsache1999-02-022-5/+15
|
* Update the -d flag to use the new .MIL NIC address (from PR 9802)wollman1999-02-012-10/+23
| | | | | | | 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)
* #include <arpa/inet.h>peter1998-06-121-1/+2
|
* Make it more convenient to query NICs other than InterNIC. Explain in thewollman1998-02-192-34/+81
| | | | man page what each database contains.
* Use err(3).charnier1997-08-262-19/+22
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Fix default whois server.markm1997-02-181-1/+1
|
* Add support for SOCKS if enabled.pst1996-04-232-4/+11
| | | | Remove a useless bind() call (why did that ever get in there?)
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-273-0/+216
OpenPOWER on IntegriCloud