[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] whois: Fix incorrect service name lookup
From: |
Mats Erik Andersson |
Subject: |
Re: [PATCH] whois: Fix incorrect service name lookup |
Date: |
Thu, 30 Jan 2020 22:53:21 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Dear Shahab Vahedi,
Torsdag den 30:e january 2020, klockan 09:36, skrev Shahab Vahedi detta:
> whois consults the /etc/services provided by IANA to determine the
> port number for the "whois" service. However, the "whois" service is
> not listed in that file and when you run whois you will end up with
> the following error:
>
> > whois 4.2.2.4
> getaddrinfo: Servname not supported for ai_socktype
>
> This patch makes use of "nicname" port which is the current standard
> name for "whois" service that is listed in /etc/services.
I very much doubt this information, since "nicname" is the well-known
alias for "whois". Do you care to name which system you are working with,
as well as the issue/source of your referenced services file?
The proposed patch is not acceptable as is, since "whois" defacto is the
correct service name. The patch I have intention to craft uses "nicname"
as a fallback port, nothing more.
I thank you for the report in all cases. Best regards,
Mats E Andersson