Bug 16789

Summary: fingerd logging not IPv6 aware
Product: Base System Reporter: Ben Smithurst <ben>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Ben Smithurst 2000-02-17 18:00:01 UTC
fingerd's -l option is not IPv6 aware, which can cause problems attempting
to obtain the hostname for an IPv6 connection.

Fix: simple patch, may not be perfect:
How-To-Repeat: 
change "tcp" to "tcp46" on the "finger" line in /etc/inetd.conf, add
fingerd's -l option, and connect to the finger service via an IPv6
address.
Comment 1 Yoshinobu Inoue 2000-02-18 07:16:05 UTC
> >Synopsis:       fingerd logging not IPv6 aware
> >Description:
> 
> fingerd's -l option is not IPv6 aware, which can cause problems attempting
> to obtain the hostname for an IPv6 connection.

Thanks, I applied the patch (with variable name change), and
confirmed it locally with updated finger command.  So I
committed it. 
(I also made finger IPv6 update to confirm it but not yet
committed it, because the change is small but not very
trivial, and seems not so essential as to commit it in this
code freeze phase. Maybe you tried it from another platform?)

Please also check if it also fixed in your environment.

Thanks,
Yoshinobu Inoue
Comment 2 Ben Smithurst 2000-02-20 13:31:55 UTC
Yoshinobu Inoue wrote:

>> fingerd's -l option is not IPv6 aware, which can cause problems attempting
>> to obtain the hostname for an IPv6 connection.

...

> Please also check if it also fixed in your environment.

yes, fixed now, PR can be closed.

-- 
Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D
Comment 3 shin freebsd_committer freebsd_triage 2000-03-02 15:32:25 UTC
State Changed
From-To: open->closed

The patch had been already committed and confirmed to be fixed. 
(This was confirmed 2 weeks ago. Sorry I forgot to close this.)