From: Mark Abene <phiber@radicalmedia.com>
To: axp-list@redhat.com
Subject: Re: libpcap fix (Re: nmap port)
Date: Tue, 7 Dec 1999 12:24:27 -0500 [thread overview]
Message-ID: <19991207122427.R19418@radicalmedia.com> (raw)
In-Reply-To: <Pine.LNX.4.10.9912070646120.19887-100000@arsenic.theshell.com>; from Dan Frasnelli on Tue, Dec 07, 1999 at 07:09:30AM -0800
On Tue, Dec 07, 1999 at 07:09:30AM -0800, Dan Frasnelli wrote:
> Excellent work, Mark. I'm sure everyone here that does network security
> will buy you a beverage at some time in the future ;-)
Thanks! Really, it was no biggie. Just needed to be done.
>
> 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
Ditto.
"tcpdump: pcap_loop: bogus savefile header"
> - 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
>
...
The stock redhat tcpdump worked fine for me. There was still the
non-portability of dump files problem, but I still have that same problem
even using the above debian sources. FWIW, after looking at their diff files,
they didn't do anything to any of the sources. The only really notable
changes are to the configure scripts. But libpcap still has the dumpfile
problem, which I'll be looking into shortly. I can read sparc/linux dumpfiles
just fine on freebsd/x86, and vice versa. No reason it shouldn't work on
Alpha. Just some silliness on someone's part, probably more 64-bit
unfriendliness.
-Mark
next prev parent reply other threads:[~1999-12-07 17:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-05 19:15 3DFX - it works!! Dave Gilbert
1999-12-05 19:57 ` Rich Payne
1999-12-05 21:19 ` Dave Gilbert
1999-12-05 21:30 ` Rich Payne
1999-12-06 2:34 ` Rich Payne
1999-12-06 3:21 ` nmap port Mark Abene
1999-12-06 14:53 ` Dan Frasnelli
1999-12-07 6:42 ` Mark Abene
1999-12-07 15:09 ` libpcap fix (Re: nmap port) Dan Frasnelli
1999-12-07 17:24 ` Mark Abene [this message]
1999-12-07 18:10 ` Larry Creech
1999-12-07 0:48 ` nmap port Bill Beers
1999-12-06 9:47 ` 3DFX - it works!! Dr. David Gilbert
1999-12-06 14:16 ` Adam K Kirchhoff
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox