From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26088 invoked from network); 7 Dec 1999 15:09:04 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 7 Dec 1999 15:09:04 -0000 Received: from theshell.com (qmailr@arsenic.theshell.com [209.77.122.5]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id KAA12381 for ; Tue, 7 Dec 1999 10:09:04 -0500 Received: (qmail 24024 invoked by uid 584); 7 Dec 1999 15:09:30 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 7 Dec 1999 15:09:30 -0000 Date: Tue, 7 Dec 1999 07:09:30 -0800 (PST) From: Dan Frasnelli X-Sender: dfrasnel@arsenic.theshell.com To: axp-list@redhat.com Subject: libpcap fix (Re: nmap port) In-Reply-To: <19991207014211.Q19418@radicalmedia.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > It should work fine now. No more seg faults. > www.insecure.org/nmap Excellent work, Mark. I'm sure everyone here that does network security will buy you a beverage at some time in the future ;-) Few weeks back, I posted something to this list about fixing libpcap under Linux/axp. To recap, here are the issues I (and probably anyone else trying to use the redhat pcap packages) encountered: - failure to read capturefiles collected on non-Linux/axp platforms - applications linked to libpcap segfault on mmap() calls; most of my security/net analysis stuff was useless on my personal boxes. Came up with a working solution but have not found the time to determine "why". The libpcap and tcpdump sources provided with debian work with linux/axp; I've tested the snort NIDS, tcpflow, tcptrace, and some homebrew code that uses pcap - no problems as of yet. >From your local debian mirror, grab: /debian/dists/stable/main/source/libs/libpcap_0.4a6.orig.tar.gz /debian/dists/stable/main/source/libs/libpcap_0.4a6-2.1.diff.gz (and if you want a working tcpdump) /debian/dists/stable/main/source/net/tcpdump_3.4a6.orig.tar.gz /debian/dists/stable/main/source/net/tcpdump_3.4a6-3.diff.gz Alternatively, you can grab the 'alien' tool and convert the binary .deb packages to tgz/rpm/your preferred format. -- Dan Frasnelli Security Analyst