Subject: pkg/28481: libpcap
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <rquinn@sec.sprint.net>
List: pkgsrc-bugs
Date: 11/30/2004 20:33:00
>Number:         28481
>Category:       pkg
>Synopsis:       libpcap
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 30 20:33:00 +0000 2004
>Originator:     Rob Quinn
>Release:        pkgsrc-current on Solaris2.8
>Organization:
>Environment:
SunOS crn-sen 5.8 Generic_108528-19 sun4u sparc SUNW,Netra-T4

>Description:
 p0f and nmap hang on my Solaris2.8 boxes if they are compiled with the latest net/libpcap, 0.8.3.  truss shows they are stuck in "getmsg".  I let p0f run for a while and it did eventually see the packets, but not until several minutes after they had actually arrived.  Moving back to libpcap-0.7.2 fixes the problem.  The release notes at tcpdump.org mention a 64bit fix for gencode.c, I'm not sure if that's related or not.

 I haven't noticed this on my NetBSD/i386-current machine.  I don't have a NetBSD/sparc64 install to check anymore.
>How-To-Repeat:
Install the latest libpcap and nmap from pkgsrc, then try to nmap a host.
>Fix:
crn-sen:/usr/pkgsrc/net/libpcap #cvs -q update -D 20040927