the-tcpdump-group / libpcap

the LIBpcap interface to various kernel packet capture mechanism
https://www.tcpdump.org/
Other
2.66k stars 841 forks source link

pcap-filter man, better libpcap filter expressions intro #125

Open guyharris opened 11 years ago

guyharris commented 11 years ago

Converted from SourceForge issue 2823520, submitted by doru001

For clarity and ease of learning reasons, please change the filter expressions presentation paragraphs to include:

guyharris commented 11 years ago

Submitted by doru001

This is a follow up to: https://sourceforge.net/tracker/?func=detail&aid=2813234&group_id=53066&atid=469573 which is going to be closed, as advised by: http://thread.gmane.org/gmane.network.tcpdump.devel/3997/focus=3999

guyharris commented 11 years ago

Submitted by doru001

You may add that tcpdump works "outside" iptables. That is, it sees incoming packets stopped by iptables and it does not see outgoing packets stopped by iptables.

infrastation commented 2 years ago

The original issue was opened on 2009-07-18. The only immediately actionable work item I can tell here is to make the error messages consistent with the man page.

infrastation commented 2 years ago

On the note of Linux BPF placed "outside of" iptables, on FreeBSD this used to be exactly the opposite: tcpdump never sees incoming packets rejected by ipfw.