Your message dated Sat, 12 May 2007 21:43:13 +1000
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #423499,
regarding portmap: Fails to find local interfaces on Debian/kFreeBSD
to be marked as having been forwarded to the upstream software
author(s) Neil Brown <[EMAIL PROTECTED]>.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Hello Neil,
I'm forwarding this bug report to you as upstream author.
Please preserve the CC to [EMAIL PROTECTED] when you
reply, so that the bug tracking system will file your reply with the
original report.
Best Regards,
AnĂbal Monsalve Salazar
--
http://v7w.com/anibal
On Sat, May 12, 2007 at 01:18:55PM +0200, Andrea Tacchetti wrote:
> Package: portmap
> Version: 6.0-0
> Severity: grave
> Justification: renders package unusable
>
> Hi,
> portmap fails to find local interfaces, i get these errors in
> /var/log/syslog:
>
> May 12 13:04:14 max portmap[28154]: cannot find any active local network
> interfaces
> May 12 13:04:15 max portmap[28200]: cannot find any active local network
> interfaces
> May 12 13:04:15 max portmap[28207]: connect from 127.0.0.1 to
> set(portmapper): request from non-local host
> May 12 13:04:15 max portmap[28200]: cannot find any active local network
> interfaces
> May 12 13:04:15 max portmap[28208]: connect from 127.0.0.1 to
> set(portmapper): request from non-local host
>
> Although $ sudo ifconfig -a looks like:
>
> [EMAIL PROTECTED]:~$ sudo ifconfig -a
> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> options=8<VLAN_MTU>
> inet6 fe80::210:a7ff:fe0d:b80b%rl0 prefixlen 64 scopeid 0x1
> inet 192.168.0.8 netmask 0xffffff00 broadcast 192.168.0.255
> ether 0:10:a7:d:b8:b
> media: Ethernet autoselect (100baseTX <full-duplex>)
> status: active
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
> inet 127.0.0.1 netmask 0xff000000
> tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
> inet6 fe80::210:a7ff:fe0d:b80b%tun0 prefixlen 64 scopeid 0x3
> inet 10.8.0.1 --> 10.8.0.2 netmask 0xffffffff
> Opened by PID 587
>
> I tryed to do some debugging by putting some printf in from_local.c
> I could see the :
> for (ifr = ifc.ifc_req; ifr < the_end; ifr++)
> is executed 16 times (even if only 3 interfaces are up).
> program flow never gets in :
> if (ifr->ifr_addr.sa_family == AF_INET)
> I even tryed to put an AF_INET6 branch to see if IPv6 was messing up
> portmap, but i never get into that branch either.
>
> If I put an if(1) in place of
> if (ifr->ifr_addr.sa_family == AF_INET)
> and I add this printf:
> printf("Loop : %d Interface : %d Address :
> %s\n",count_loop++,ifr->ifr_addr.sa_family,inet_ntoa(((struct sockaddr_in *)
> & ifreq.ifr_addr)->sin_addr));
> just below that if, this is the output i get:
> [EMAIL PROTECTED]:~/takke/portmap/portmap-6.0$ ./from_local
> Loop : 0 Interface : 18 Address : 128.234.191.191
> Loop : 1 Interface : 0 Address : 192.168.0.8
> SIOCGIFFLAGS: No such device or address
> Loop : 2 Interface : 0 Address : 0.0.0.0
> SIOCGIFFLAGS: No such device or address
> Loop : 3 Interface : 0 Address : 0.0.0.0
> SIOCGIFFLAGS: No such device or address
> Loop : 4 Interface : 0 Address : 114.108.48.0
> SIOCGIFFLAGS: No such device or address
> Loop : 5 Interface : 0 Address : 108.111.48.0
> SIOCGIFFLAGS: No such device or address
> Loop : 6 Interface : 0 Address : 0.0.0.0
> SIOCGIFFLAGS: No such device or address
> Loop : 7 Interface : 0 Address : 0.0.0.0
> SIOCGIFFLAGS: No such device or address
> Loop : 8 Interface : 0 Address : 0.0.0.0
> SIOCGIFFLAGS: No such device or address
> Loop : 9 Interface : 0 Address : 0.0.0.0
> SIOCGIFFLAGS: No such device or address
> Loop : 10 Interface : 0 Address : 108.111.48.0
> SIOCGIFFLAGS: No such device or address
> Loop : 11 Interface : 0 Address : 116.117.110.48
> SIOCGIFFLAGS: No such device or address
> Loop : 12 Interface : 0 Address : 0.0.0.0
> SIOCGIFFLAGS: No such device or address
> Loop : 13 Interface : 0 Address : 0.0.0.0
> SIOCGIFFLAGS: No such device or address
> Loop : 14 Interface : 0 Address : 254.128.0.3
> SIOCGIFFLAGS: No such device or address
> Loop : 15 Interface : 0 Address : 0.0.0.0
> SIOCGIFFLAGS: No such device or address
> 0.0.0.0
>
> Some times last line looks like 192.168.0.2,
> Interface type 18 is AF_LINK, link layer interface, while 0
> is AF_UNSPEC .
>
> I hope these infos are useful sorry if I could not provide a more
> structured debug session but gdb is not doing properly on that machine.
>
> Greetings
> Takke
>
>
>
>
> -- System Information:
> Debian Release: lenny/sid
> Architecture: kfreebsd-i386 (i686)
>
> Kernel: kFreeBSD 6.2-1-486
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages portmap depends on:
> ii debconf [debconf-2.0] 1.5.13 Debian configuration management
> sy
> ii libc0.1 2.5-7 GNU C Library: Shared libraries
> ii libwrap0 7.6.dbs-13 Wietse Venema's TCP wrappers
> libra
> ii lsb-base 3.1-23.1 Linux Standard Base 3.1 init
> scrip
>
> portmap recommends no packages.
>
> -- debconf information:
> portmap/loopback: false
>
signature.asc
Description: Digital signature
--- End Message ---