Bug 243862 - [patch] whois(1) does not recurse to servers that include a port number
Summary: [patch] whois(1) does not recurse to servers that include a port number
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2020-02-04 07:15 UTC by ben
Modified: 2020-02-12 22:54 UTC (History)
1 user (show)

See Also:


Attachments
fix patch (821 bytes, patch)
2020-02-04 07:15 UTC, ben
no flags Details | Diff
better patch (3.73 KB, patch)
2020-02-04 22:00 UTC, ben
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ben 2020-02-04 07:15:18 UTC
Created attachment 211337 [details]
fix patch

ARIN and possibly other whois servers sometimes append a port number to the hostname in a referral, which whois(1) does not recognize.

This can be seen with one of freebsd.org's addresses, which includes a referral to NYI's whois servers on an alternate port:

% whois 96.47.72.84
Comment 1 ben 2020-02-04 22:00:43 UTC
Created attachment 211359 [details]
better patch