[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#484477: marked as done (wrong result from inet_ntop)



Your message dated Thu, 05 Jun 2008 08:53:42 +0200
with message-id <48478D76.90602@aurel32.net>
and subject line Re: Bug#484477: wrong result from inet_ntop
has caused the Debian Bug report #484477,
regarding wrong result from inet_ntop
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
484477: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484477
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Subject: libc6: wrong result from inet_ntop
Package: libc6
Version: 2.7-11
Severity: normal

*** Please type your report below this line ***
Hello,
am sending this report again because i had no feedback from the 1st sending.

executing this code:
inet_ntop(AF_INET6, &farAddr.sin6_addr, ip_addr, INET6_ADDRSTRLEN);

if the client is using an ipv4 address (this program is using both IPv4
and 6) the resulting string within ip_addr will be something like:
::ffff:151.97.56.12

The inet_ntop's man page says:
AF_INET6 converts IPv6-mapped IPv4 addresses into an IPv6 format.

I don't think that the resulting string is an IPv6. It is just neither
IPv4 nor IPv6.

Goodbye


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6 depends on:
ii  libgcc1                       1:4.3.0-5  GCC support library

libc6 recommends no packages.

-- debconf information:
  glibc/upgrade: true
  glibc/restart-failed:
  glibc/restart-services:



--- End Message ---
--- Begin Message ---
Salvo Tomaselli a écrit :
> Subject: libc6: wrong result from inet_ntop
> Package: libc6
> Version: 2.7-11
> Severity: normal
> 
> *** Please type your report below this line ***
> Hello,
> am sending this report again because i had no feedback from the 1st sending.

The bug has been closed as invalid. Please check your email setup if you
don't get any answer.

> executing this code:
> inet_ntop(AF_INET6, &farAddr.sin6_addr, ip_addr, INET6_ADDRSTRLEN);
> 
> if the client is using an ipv4 address (this program is using both IPv4
> and 6) the resulting string within ip_addr will be something like:
> ::ffff:151.97.56.12
> 
> The inet_ntop's man page says:
> AF_INET6 converts IPv6-mapped IPv4 addresses into an IPv6 format.
> 
> I don't think that the resulting string is an IPv6. It is just neither
> IPv4 nor IPv6.

As already answered, this is an IPv6 address, see RFC4291. Closing the bug.


-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net


--- End Message ---

Reply to: