Le Wed, Sep 01, 2021 at 06:42:54PM +0100, Jason McIntyre a écrit :
> On Wed, Sep 01, 2021 at 06:15:04PM +0200, Denis Fondras wrote:
> > I was searching for the sampling command of tcpdump but could not find it 
> > in the
> > manual. In fact it is missing some primitives compared to pcap-filter 
> > manual.
> > 
> 
> hi.
> 
> it looks like there's a whole heap of duplication going on here. does
> tcpdump support just a subset of the syntax in pcap-filter(3), or are
> they exactly the same?
> 
> i wonder if we can whack all the tcpdump text, or just inline the exact
> text of pcap-filter.3 if it really needs to be there (or vice-versa if
> tcpdump.8 is more authorative).
> 
> or do they differ?
> 

tcpdump uses libpcap to decode the filter so as far as I can tell, they are the
same.

I would find it good to have only a pointer to pcap-filter manual in tcpdump
manual instead of the full list of primitives.

Reply via email to