summaryrefslogtreecommitdiffstats
path: root/usr.bin/whois
Commit message (Collapse)AuthorAgeFilesLines
* General mdoc(7) and typo fixes.gjb2012-05-101-1/+1
| | | | | | PR: 167696 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* Mark global functions and/or variables in whois(1) static where possible.ed2011-11-061-3/+3
| | | | This allows compilers and static analyzers to more thorough analysis.
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-112-8/+0
| | | | | | | | | 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
* Make whois capable of searching for IPv6 addresses just like it canedwin2010-01-141-0/+4
| | | | | | | | | 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
* Remove -d option, whois.nic.mil doesn't exist anymore.edwin2010-01-142-12/+3
| | | | | | PR: bin/142507 Submitted by: Dan Mahoney <danm@prime.gushi.org> MFC after: 1 week
* The 6bone was decommissioned on 6/6/06, so remove references to it.dougb2009-10-032-19/+8
|
* Use proper type cast for ctype macroache2007-04-141-1/+1
|
* Make DK-HOSTMASTER show contact info for .dk domains.phk2007-01-191-0/+2
| | | | Submitted by: Søren Hansen <shan@soeren-hansen.dk>
* Markup fixes.ru2006-09-291-2/+3
|
* Add AfriNIC as a RIR.jhay2006-01-232-6/+16
| | | | | | PR: 80421 Submitted by: Adrian Frith <adrian at frith.homelinux.org> MFC after: 6 days
* Reduce compiler warning: variable might be used uninitialized, by givingcharnier2005-05-291-0/+1
| | | | an initial value.
* Bump document date before ru gets me.ceri2004-12-111-1/+1
|
* Add a -k flag for querying whois.krnic.net (the National Internetceri2004-12-112-3/+13
| | | | | | | Development Agency of Korea) which hold details of IP address allocations within Korea. Approved by: bms
* Add special case for the german whois nameserver. Without thembr2004-08-251-1/+6
| | | | | | | | | | | | | | | '-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
* Add -b to usage.bms2004-06-141-1/+1
| | | | | Pointed out by: ceri Pointy hat to: bms
* Add whois.abuse.net to whois(1).bms2004-06-142-2/+10
| | | | Submitted by: ceri (with cleanups)
* Date bump.bms2004-06-141-1/+1
| | | | | Nudged by: ru Pointy hat: bms
* Add whois.iana.org to the whois(1) utility, under the -I option.bms2004-06-142-3/+12
| | | | | PR: bin/48914 Submitted by: James Raftery
* Back out .SU workaround - people at whois-servers.net set upache2003-06-291-6/+1
| | | | su.whois-servers.net
* While there is no su.whois-servers.net, use fallback toache2003-06-241-1/+6
| | | | ru.whois-servers.net for su domain or country
* Drop maintainership of whois(1). If someone needs a review they canmike2003-06-121-2/+0
| | | | find me in the whois.c revision history.
* Add support for identifying NORID (norwegian top level registry) handles.eivind2003-03-251-0/+7
| | | | Reviewed by: mike (with slight changes based on feedback afterwards)
* Fix style bugs in previous commit.mike2003-02-241-7/+5
|
* The newly appointed .org registrar has a pecular output format soroberto2003-01-311-1/+15
| | | | | | | | 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
* mdoc(7) police: markup polishing.ru2002-11-261-2/+1
| | | | Approved by: re
* Add support for the Latin American and Caribbean IP address Regionalmike2002-11-102-6/+16
| | | | | | | | | 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
* ARIN has annoyingly started using caps when referencingmike2002-09-181-1/+3
| | | | | | | | | 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
* 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
OpenPOWER on IntegriCloud