Mantis - libpcap1
Viewing Issue Advanced Details
4859 regular use major always 2011-11-10 13:54 2011-11-10 14:31
damjan  
dam  
normal  
closed  
no change required  
none    
none  
0004859: iftop does not work with libpcap
iftop does not work with the new libpcap. If I revert libpcap to version 1.0.0 version then iftop works again. See issue #[4557].

Working version:

root@ra:~# pkginfo -l CSWlibpcap
   PKGINST: CSWlibpcap
      NAME: libpcap - System-independent interface for user-level packet capture
  CATEGORY: application
      ARCH: sparc
   VERSION: 1.0.0,REV=2009.10.01
   BASEDIR: /
    VENDOR: http://www.tcpdump.org/release/ [^] packaged for CSW by Dagobert Michelsen
    PSTAMP: dam@build8s-20091001215534
  INSTDATE: Jan 12 2010 18:50
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: dam@opencsw.org
    STATUS: completely installed
     FILES: 13 installed pathnames
                   2 shared pathnames
                   3 directories
                   3 executables
                1684 blocks used (approx)
related to 0004557closed laurent iftop iftop displays zeroes for all values 
Issue History
2011-11-10 13:54 damjan New Issue
2011-11-10 14:04 dam Relationship added related to 0004557
2011-11-10 14:30 dam Status new => assigned
2011-11-10 14:30 dam Assigned To => dam
2011-11-10 14:31 dam Note Added: 0009399
2011-11-10 14:31 dam Status assigned => closed
2011-11-10 14:31 dam Resolution open => no change required

Notes
(0009399)
dam   
2011-11-10 14:31   
The problem is that the old iftop linked against SONAME-unspecific libpcap.so leading to wrong linkage:

unstable9s% ldd /opt/csw/sbin/iftop
        /usr/lib/secure/s9_preload.so.1
        libpthread.so.1 => /usr/lib/libpthread.so.1
        libpcap.so => /opt/csw/lib/sparcv8plus/libpcap.so
        libnsl.so.1 => /usr/lib/libnsl.so.1
...

The issue has long been fixed in libpcap. iftop needs a rebuild against the current libpcap.so.1.