For some whois queries (e.g. whois 137.31.32.184) the referral from ARIN to RIPE does not work.
This is my attempt to fix it. Instead of "ResourceLink:" one could also use "ReferralServer:".
Details
- Reviewers
pouria
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
We should migrate to rfc9083 sooner or later...
Also please rebase it to main. I can't test it.
| usr.bin/whois/whois.c | ||
|---|---|---|
| 106 | Use ReferralServer instead, unfortunately, it's not formal but the only thing that is referenced in a RFC. Also, it's not specific to RIPE, it used by ARIN in general. whois -a 1.1.1.1 | |
| usr.bin/whois/whois.c | ||
|---|---|---|
| 104–107 | I just tested it, and I think we should remove all ReferralServer lines and add a single ReferralServer: without any prefix. This should do the job. For testing: Alternatively, we could simply add another WHOIS_REFERRAL("ReferralServer:"), below it to prioritize the ReferralServers with a specified protocol. However, that would be a bit ugly. | |
| usr.bin/whois/whois.c | ||
|---|---|---|
| 104–107 | When only using one "ReferralServer:" this breaks stuff when, for example, "rwhois://" is prepended, like "whois 146.115.106.228". | |
| usr.bin/whois/whois.c | ||
|---|---|---|
| 104–107 | Go head, I'm ok with the other one too. | |