Bug 7569
Summary: | tcpdump options dont work. | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | musman |
Component: | tcpdump | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0 | ||
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: | 1999-12-22 14:49:57 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: |
There appears to be a getservbyname call that has been taken out, probably to speed up tcpdump performance. Meanwhile try putting the port number in numerically (use "111" instead of "sunrpc"). I suspect that will work ... Your command works in tcpdump-3.4-17 from Raw Hide. If it still doesn't work for you, check your /etc/nsswithc.conf setup. |
I have identified a problem trying to use tcpdump. The following command works just fine under redhat 5.x, Solaris, IRIX, etc. but fails under several different installations of redhat 6.0. I haven't yet had a chance to replicate it under redhat 6.1. >tcpdump '(icmp[0] == 8 ) or (port sunrpc)' tcpdump: unknown port 'sunrpc' I compiled the same version of tcpdump source under both releases of redhat, and the redhat 5.x version even runs under 6.0, but I get the same error as above.