OpenBSD CVS

CVS log for src/usr.bin/whois/whois.c


[BACK] Up to [local] / src / usr.bin / whois

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.64 / (download) - annotate - [select for diffs], Mon Mar 25 19:11:52 2024 UTC (7 weeks, 5 days ago) by op
Branch: MAIN
CVS Tags: HEAD
Changes since 1.63: +1 -2 lines
Diff to previous 1.63 (colored)

remove possibly bogus length check

len is initially the line length, but then the two go out of sync.
ok millert@

Revision 1.63 / (download) - annotate - [select for diffs], Mon Mar 25 15:52:39 2024 UTC (7 weeks, 5 days ago) by millert
Branch: MAIN
Changes since 1.62: +9 -20 lines
Diff to previous 1.62 (colored)

whois: use getline(3) instead of fgetln(3)
This simplifies the code and fixes a potential out of bounds read.
OK op@ mbuhl@

Revision 1.62 / (download) - annotate - [select for diffs], Sun Mar 24 19:51:47 2024 UTC (7 weeks, 6 days ago) by millert
Branch: MAIN
Changes since 1.61: +5 -13 lines
Diff to previous 1.61 (colored)

whois: remove obsolete handle support

Contact handles have been obsolete for some time now.  The "!handle"
InterNic syntax no longer works and core COCO handle queries seems
to only return empty records.  OK sthen@ job@

Revision 1.61 / (download) - annotate - [select for diffs], Sat Mar 16 06:29:36 2024 UTC (2 months ago) by jmc
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

add -S to usage();

Revision 1.60 / (download) - annotate - [select for diffs], Sat Mar 16 02:00:31 2024 UTC (2 months ago) by millert
Branch: MAIN
Changes since 1.59: +51 -30 lines
Diff to previous 1.59 (colored)

whois: trim output after ">>> Last update of WHOIS database:"
Currently, whois(1) displays the full output it receives from the
server.  With this change, any text after a line starting with ">>>
Last update of WHOIS database:" is dropped.  This trims a lot of
useless text that would otherwise cause the data you care about to
scroll off the screen.  From FreeBSD.  OK deraadt@

Revision 1.59 / (download) - annotate - [select for diffs], Tue Mar 5 16:06:32 2024 UTC (2 months, 2 weeks ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

whois: use whois.internic.net for -i option
Revert revision 1.22 which changed -i to use whois.networksolutions.com.
Network Solutions no longer runs InterNic so we must use
whois.internic.net for looking up nameserver or registrar records.
OK deraadt@

Revision 1.58 / (download) - annotate - [select for diffs], Tue Jun 19 11:28:11 2018 UTC (5 years, 11 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.57: +6 -4 lines
Diff to previous 1.57 (colored)

Plug getaddrinfo(3) memory leak

choose_server() calls getaddrinfo(3) but never frees the result.
Minimal fix that relies on getaddrinfo(3) only updating the "res"
pointer if the call was successful.

While here, call freeaddrinfo(3) earlier in whois(), less code and less
overall memory used since whois() can recurse.

ok millert@ tb@ benno@

Revision 1.57 / (download) - annotate - [select for diffs], Sun Jun 17 15:34:54 2018 UTC (5 years, 11 months ago) by florian
Branch: MAIN
Changes since 1.56: +5 -2 lines
Diff to previous 1.56 (colored)

Add heuristic for IPv6 addresses.
From Mikolaj Kucharski <mikolaj at kucharski.name>, thanks!
OK job, kn

Revision 1.56 / (download) - annotate - [select for diffs], Wed Jul 26 15:48:38 2017 UTC (6 years, 9 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

Teach whois(1) to use the new whois referral field name which has now gone
live on at least .com/.net servers. Changes to this and other fields mentioned
in https://www.icann.org/resources/pages/rdds-labeling-policy-2017-02-01-en.
ok millert@

Revision 1.55 / (download) - annotate - [select for diffs], Fri Mar 17 14:59:01 2017 UTC (7 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.54: +9 -7 lines
Diff to previous 1.54 (colored)

choose_server() does not always return malloc'd memory so pass
in a pointer that gets filled in when there is something to free.
Noticed by sthen@ when looking up a numeric address.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Mar 15 16:45:25 2017 UTC (7 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.53: +15 -16 lines
Diff to previous 1.53 (colored)

There's no need to realloc() a chunk of memory when you don't care
about the old contents, we don't want have to memcpy() the old
contents to the new chunk only to throw it away.
While here, use asprintf() to simplify things.  OK deraadt@

Revision 1.53 / (download) - annotate - [select for diffs], Wed Dec 9 19:29:49 2015 UTC (8 years, 5 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.52: +2 -3 lines
Diff to previous 1.52 (colored)

Remove NULL-checks before free(). ok tb@

Revision 1.52 / (download) - annotate - [select for diffs], Mon Nov 2 20:39:37 2015 UTC (8 years, 6 months ago) by sthen
Branch: MAIN
Changes since 1.51: +7 -3 lines
Diff to previous 1.51 (colored)

add support for whois -I, to use whois.iana.org (root zone database).
ok millert@, tweak/"everything else looks fine" jmc@

Revision 1.51 / (download) - annotate - [select for diffs], Mon Nov 2 17:16:35 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Cast isdigit()'s argument to unsigned char.

ok millert@

Revision 1.50 / (download) - annotate - [select for diffs], Fri Oct 9 01:37:09 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

Change all tame callers to namechange to pledge(2).

Revision 1.49 / (download) - annotate - [select for diffs], Sat Oct 3 01:33:20 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.48: +4 -1 lines
Diff to previous 1.48 (colored)

whois uses dns to lookup whois servers, and then opens sockets to them.
it does not need to open any files, so we can tame with "stdio dns inet".
i think florian and i did this about 2 months ago.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Aug 17 10:48:10 2015 UTC (8 years, 9 months ago) by sthen
Branch: MAIN
Changes since 1.47: +12 -13 lines
Diff to previous 1.47 (colored)

Fix whois server detection for new TLDs using whois.nic.<domain> where
<domain> has an old TLD as a substring. Specifically, fixes .network lookups.
While there, simplify a strlcpy+strlcat to snprintf. ok millert@ phessler@

Revision 1.47 / (download) - annotate - [select for diffs], Thu Apr 9 19:29:53 2015 UTC (9 years, 1 month ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.46: +34 -3 lines
Diff to previous 1.46 (colored)

If looking up a string which looks like a gTLD, doesn't match a known set of
existing ones not using the new standard hostnames, and whois.nic.TLD exists,
head straight there for lookups rather than using whois-servers.net (who have
been a bit variable in their speed of picking up new zones). Bug spotted by
giovanni@ and jasper@, ok giovanni@

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jan 3 15:25:18 2014 UTC (10 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.45: +8 -8 lines
Diff to previous 1.45 (colored)

The whois() function is called in a loop so make sure we close the
socket to the whois server before returning.  Adapted from a diff
from Loganaden Velvindron.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Nov 25 18:06:32 2013 UTC (10 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

obvious cast for isblank()

Revision 1.44 / (download) - annotate - [select for diffs], Tue Mar 5 16:09:10 2013 UTC (11 years, 2 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.43: +7 -3 lines
Diff to previous 1.43 (colored)

let whois -P do a query against peeringdb.  ok deraadt phessler, feedback jmc

Revision 1.43 / (download) - annotate - [select for diffs], Thu Mar 4 21:37:56 2010 UTC (14 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

remove -6 from usage();

Revision 1.42 / (download) - annotate - [select for diffs], Thu Mar 4 18:17:03 2010 UTC (14 years, 2 months ago) by krw
Branch: MAIN
Changes since 1.41: +2 -6 lines
Diff to previous 1.41 (colored)

6Bone is dead and doesn't respond to whois requests. Remove man
page mentions and '-6' related code. Pointed out by Sebastian Rother.

ok deraadt@ henning@

Revision 1.41 / (download) - annotate - [select for diffs], Wed Aug 29 08:59:18 2007 UTC (16 years, 8 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.40: +4 -2 lines
Diff to previous 1.40 (colored)

add afrinic to the list of known whois servers so that referrals are
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)?

Revision 1.40 / (download) - annotate - [select for diffs], Mon Aug 6 19:16:06 2007 UTC (16 years, 9 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

the ellipsis is not an optional argument; while here, sync the usage
and synopsis of commands

lots of good ideas by jmc@

ok jmc@

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jul 5 02:12:28 2007 UTC (16 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

Remove unused variable; Lawrence Teo

Revision 1.38 / (download) - annotate - [select for diffs], Sun Sep 17 17:07:16 2006 UTC (17 years, 8 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.37: +6 -3 lines
Diff to previous 1.37 (colored)

when looking up ASNs (ASxxxx), select radb

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jun 1 18:17:35 2006 UTC (17 years, 11 months ago) by mk
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.36: +5 -2 lines
Diff to previous 1.36 (colored)

Like DENIC, DK-HOSTMASTER is requires extra attention.  This makes you
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).

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jul 22 14:23:13 2005 UTC (18 years, 10 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

for .de domains, we need to send more shit to the denic whois server so
that idn domains are handled correctly...

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jun 27 21:01:43 2005 UTC (18 years, 10 months ago) by henning
Branch: MAIN
Changes since 1.34: +13 -7 lines
Diff to previous 1.34 (colored)

        * pass -Wshadow as well (port_whois vs port)
        * 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!

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jun 25 14:27:36 2005 UTC (18 years, 10 months ago) by henning
Branch: MAIN
Changes since 1.33: +16 -33 lines
Diff to previous 1.33 (colored)

couldn't stop my fingers from doing some cleanup

Revision 1.33 / (download) - annotate - [select for diffs], Sat Jun 25 14:21:34 2005 UTC (18 years, 10 months ago) by henning
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

$OpenBSD$, got botched

Revision 1.32 / (download) - annotate - [select for diffs], Wed Jun 22 16:50:49 2005 UTC (18 years, 11 months ago) by henning
Branch: MAIN
Changes since 1.31: +11 -14 lines
Diff to previous 1.31 (colored)

slightly simplify; christos@netbsd

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jun 22 10:29:57 2005 UTC (18 years, 11 months ago) by henning
Branch: MAIN
Changes since 1.30: +15 -6 lines
Diff to previous 1.30 (colored)

deal with german stupidity... nic.de decided that it is a good idea to
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

Revision 1.30 / (download) - annotate - [select for diffs], Sun Oct 12 13:26:09 2003 UTC (20 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

sort options and sync usage();
from wiz@netbsd

Revision 1.29 / (download) - annotate - [select for diffs], Sat Oct 4 03:18:38 2003 UTC (20 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.28: +6 -3 lines
Diff to previous 1.28 (colored)

whois port hack thingy; rperkins@tcsg.net

Revision 1.28 / (download) - annotate - [select for diffs], Thu Sep 18 22:16:15 2003 UTC (20 years, 8 months ago) by fgsch
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

if length is 1, don't try to null memory that doesn't belong to us.
found by tedu@, ok by millert@ and him.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jun 10 22:20:54 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

mostly ansi cleanup; pval ok

Revision 1.26 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:23 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.25: +3 -7 lines
Diff to previous 1.25 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Apr 15 23:30:33 2003 UTC (21 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.24: +4 -2 lines
Diff to previous 1.24 (colored)

I lied, we didn't skip blanks after WHOIS_SERVER_ID; this fixes that.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Apr 15 23:24:45 2003 UTC (21 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

Remove trailing space in "Whois Server: " since not all records
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.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jan 15 23:16:29 2003 UTC (21 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.22: +6 -4 lines
Diff to previous 1.22 (colored)

Fixes from Andrey Matveev:
o Remove bogus cast to char in getopt() switch
o Check for strdup() failure
o Don't list -p option twice in usage()

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jan 7 17:24:08 2003 UTC (21 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.21: +53 -48 lines
Diff to previous 1.21 (colored)

Whois updates, mostly adapted from FreeBSD
 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

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jan 6 20:47:19 2003 UTC (21 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

Rename VNICHOST -> NNICHOST now that Verisign has spun off NSI.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jan 5 00:27:55 2003 UTC (21 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.19: +6 -7 lines
Diff to previous 1.19 (colored)

Use a temp variable when cycling through ai_addr's so we don't pass
freeaddrinfo() a NULL pointer if the hostname is not resolvable.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Dec 19 21:34:28 2002 UTC (21 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.18: +18 -8 lines
Diff to previous 1.18 (colored)

Recognize CORENIC handles and use CNICHOST like we do VNICHOST ones.
By request and based on a diff from Henning Brauer

Revision 1.18 / (download) - annotate - [select for diffs], Thu Dec 19 20:37:24 2002 UTC (21 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.17: +78 -101 lines
Diff to previous 1.17 (colored)

o Add -6 and -c options from FreeBSD
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 '!'

Revision 1.17 / (download) - annotate - [select for diffs], Tue Dec 17 20:17:49 2002 UTC (21 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.16: +47 -41 lines
Diff to previous 1.16 (colored)

ANSIfu and if given multiple names, don't exit if we get an error
looking up just one.  Exit value is now the number of errors found
trying to lookup all the names.  Some bits from Andrey Matveev.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Sep 5 17:22:16 2002 UTC (21 years, 8 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.15: +6 -2 lines
Diff to previous 1.15 (colored)

lacnic support; from Loic Tortay <loict@bougon.net>.

Revision 1.15 / (download) - annotate - [select for diffs], Wed May 29 18:33:40 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +10 -9 lines
Diff to previous 1.14 (colored)

strlcat

Revision 1.14 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:59 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jan 21 00:55:55 2002 UTC (22 years, 4 months ago) by stevesk
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

correct usage; ok deraadt@

Revision 1.12 / (download) - annotate - [select for diffs], Thu Oct 4 19:28:58 2001 UTC (22 years, 7 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.11: +12 -4 lines
Diff to previous 1.11 (colored)

Deal with whois output that lacks a final newline.  This is not legal
but apparently there are broken whois servers out there.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jul 12 18:01:57 2000 UTC (23 years, 10 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.10: +62 -47 lines
Diff to previous 1.10 (colored)

make whois(1) IPv6-ready.  patch from deraadt + minor tweaks.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Nov 19 03:57:14 1999 UTC (24 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

When eearching for the string: No match for "FOO".
verify that the length of the quoted string == length of the name we
are looking up.  Inspired but not based on a FreeBSD change.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Nov 19 03:50:49 1999 UTC (24 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.8: +8 -4 lines
Diff to previous 1.8 (colored)

o Add -Q option to usage string
o Add SOCKS support from FreeBSD

Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 15 19:41:00 1999 UTC (24 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.7: +128 -44 lines
Diff to previous 1.7 (colored)

o Make -q option the default
o When invoked with no arguments and the record contains 'Whois Server: foo'
  also do the lookup using foo as the whois server.
o If an entry BAR is not found (No match for "BAR"), fall back on
  whois.internic.net.  This makes internic handle lookups work again.
o Fix lookup of multiple entries
o Add -Q (quick) option to turn off double lookup
Note:
Double lookups will not work properly until {com,net,org}.whois-servers.net
has been changed to point to whois.crsnic.net (in progress).
Man page still needs a bit of work.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Nov 15 01:46:41 1999 UTC (24 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.6: +22 -10 lines
Diff to previous 1.6 (colored)

From FreeBSD:
o Change default nic host to whois.crsnic.net to also get hosts registered
  by registrars other than NSI.
o -i option to use NSI's nic host (whois.internic.net)
o -g option to use .gov nic host
o -R option to use .ru nic host

Revision 1.6 / (download) - annotate - [select for diffs], Sun Oct 3 00:42:34 1999 UTC (24 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.5: +32 -4 lines
Diff to previous 1.5 (colored)

whois-servers.net and whois.ra.net support; jabley@patho.gen.nz

Revision 1.5 / (download) - annotate - [select for diffs], Mon Aug 16 20:24:36 1999 UTC (24 years, 9 months ago) by art
Branch: MAIN
Changes since 1.4: +4 -2 lines
Diff to previous 1.4 (colored)

fix includes

Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 24 10:09:50 1998 UTC (26 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.3: +49 -38 lines
Diff to previous 1.3 (colored)

add new flags for global NIC access; wollman

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jan 15 23:43:39 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

getopt(3) returns -1 when out of args, not EOF, whee!

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:43:02 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

rcsid

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:46:53 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:46:53 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.