Bug 19690
| Summary: | libpcap-0.4-29.i386.rpm seems to be broken | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Nadav Har'El <nyh> |
| Component: | tcpdump | Assignee: | Harald Hoyer <harald> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | CC: | nyh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2000-10-25 16:33:56 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Linux uses a different libpcap than you are expecting. See details at bugzilla #6773 et al. |
Is something wrong with libpcap-0.4-29.i386.rpm? I wanted to use the "sting" packet-loss measurement tool from http://www.cs.washington.edu/homes/savage/sting/ This tool uses libpcap, and should work on Linux (the author said it does). Anyway, using /usr/lib/libpcap.a it didn't work (from the little debugging I did, it appears as if pcap_next does not timeout correctly, and just gets stuck). When I compiled libpcap-0.4 (which is also available in sting's tar) myself (easy - just did configure and make) and used the resulting library, sting worked perfectly. Could it be that something is wrong in the way libpcap-0.4 is compiled, or something? I know from (bad) experience that static libraries compiled in previous versions of gcc (e.g., on Redhat 6.2) no longer work correctly on Redhat 7, giving seemingly random and hard-to-detect lockups and errors. Using objdump -x on this library says that it was compiled on Aug 12 - that is way before Redhat 7 was released, so maybe you just forgot to recompile it for the new gcc?