Bug 1169322
| Summary: | pcap-ng timestamp fraction calculation is wrong | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Georg Müller <georgmueller> |
| Component: | libpcap | Assignee: | Michal Sekletar <msekleta> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 21 | CC: | msekleta, thozza |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libpcap-1.6.2-2.fc21 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-28 10:21:30 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Georg Müller
2014-12-01 10:38:00 UTC
A patch for the issue is now in upstream master. https://github.com/the-tcpdump-group/libpcap/commit/6a9c2cb19cb7eebdab8d2fa7a592d39130f8bf61.patch It would be nice to backport this for fedora 21. Will do! Thank you very much for working with upstream on fix for this, much appreciated. libpcap-1.6.2-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/libpcap-1.6.2-2.fc21 Package libpcap-1.6.2-2.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libpcap-1.6.2-2.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-2467/libpcap-1.6.2-2.fc21 then log in and leave karma (feedback). I tested it and left karma. Test data was some arbitrary pcap-ng file. Test command was tcpdump -c5 -r test.pcapng Before: 09:46:24.440130816 IP 192.168.0.1.35988 > 239.255.255.250.ssdp: UDP, length 264 09:46:24.349745280 IP 192.168.0.1.35988 > 239.255.255.250.ssdp: UDP, length 273 09:46:24.349745280 IP 192.168.0.1.35988 > 239.255.255.250.ssdp: UDP, length 336 09:46:24.349745280 IP 192.168.0.1.35988 > 239.255.255.250.ssdp: UDP, length 328 09:46:24.226080748 IP 192.168.0.1.35988 > 239.255.255.250.ssdp: UDP, length 273 After: 09:46:24.017620 IP 192.168.0.1.35988 > 239.255.255.250.ssdp: UDP, length 264 09:46:24.325620 IP 192.168.0.1.35988 > 239.255.255.250.ssdp: UDP, length 273 09:46:24.325620 IP 192.168.0.1.35988 > 239.255.255.250.ssdp: UDP, length 336 09:46:24.325620 IP 192.168.0.1.35988 > 239.255.255.250.ssdp: UDP, length 328 09:46:24.633621 IP 192.168.0.1.35988 > 239.255.255.250.ssdp: UDP, length 273 The new Timestamps are correct. Thanks for testing. libpcap-1.6.2-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |