summaryrefslogtreecommitdiffstats
path: root/usr.bin/whois
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-272-126/+269
| |\ | |/ |/|
| * Merge head from 7/28sjg2014-08-191-4/+6
| |\
| * | Updated dependenciessjg2014-05-161-1/+0
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Merge headsjg2014-04-282-10/+9
| |\ \
| * | | Updated dependenciessjg2013-03-111-0/+1
| | | |
| * | | Updated dependenciessjg2013-02-161-2/+0
| | | |
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+20
| | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | whois: add an option to query the PeeringDBfanf2015-05-142-2/+10
| | | |
* | | | Update whois(1) synopsis.fanf2015-05-141-1/+1
| | | |
* | | | Bump whois(1) date.fanf2015-05-141-1/+1
| | | | | | | | | | | | | | | | (Thanks to bz@ for the reminder!)
* | | | whois: alphabetize whois server listfanf2015-05-141-10/+12
| | | |
* | | | whois: do not clobber command-line flags when tweaking O_NONBLOCKfanf2015-05-141-4/+4
| | | | | | | | | | | | | | | | | | | | This can make whois fail to follow referrals when it should. The bug was introduced in r281959.
* | | | whois: try whois.nic.TLD if TLD.whois-servers.net does not existfanf2015-05-142-26/+47
| | | | | | | | | | | | | | | | Based on an idea from OpenBSD.
* | | | whois: check WHOIS_SERVER as well as RA_SERVER environment variablesfanf2015-05-142-3/+13
| | | | | | | | | | | | | | | | WHOIS_SERVER is used by Debian's whois client.
* | | | whois: code cleanupfanf2015-05-141-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | Remove deprecated options. Use pedantically correct types.
* | | | whois: special case certain query suffixesfanf2015-05-141-12/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This extends the existing support for -NORID handles to include -NICAT, -ARIN, and -RIPE handles. The suffix machinery is also used to work around a problem with lack of referrals from the Nominet server for .uk: names under .ac.uk need to be queried directly at JANET's whois server.
* | | | Clean up whois manual.fanf2015-05-141-67/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Document the RA_SERVER environment variable. Remove the obsolete -R option, and discourage people from trying to use the Network Solutions server. Describe the default behaviour in the DESCRIPTION section, not buried in the options.
* | | | Try alternate addresses more agressively.delphij2015-04-251-9/+127
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attempt to connect to alternate addresses if the connect doesn't succeed in 180ms, and cut wait time between connection attempts in half for each additional, if no connection was established. Take the first connection to succeed and close the others. This makes whois more responsive when e.g. IPv6 service took long time or fail to respond. PR: 158125 Submitted by: Mark Andrews <marka isc org> (with changes from me) MFC after: 2 weeks
* | | Introduce $RA_SERVER to set default whois server.ume2014-06-251-4/+6
| |/ |/| | | | | | | | | Requested by: nork Reviewed by: nork MFC after: 1 week
* | mdoc: minor paragraph fixes.joel2014-02-081-1/+0
| |
* | The whois() function is called in a loop so make sure we close thekevlo2014-01-041-9/+9
|/ | | | | | socket to the whois server before returning. Obtained from: OpenBSD
* 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
OpenPOWER on IntegriCloud