문제

i have to filter out the "IRC request" packet form the list of capture packet

in wireshark the filter expression is "irc.request",but i am not able to write the same filter expression for lipcap

so please provide me the filter expression for libpcap

Thank you

도움이 되었습니까?

해결책

The libpcap filter syntax is documented at: http://www.tcpdump.org/manpages/pcap-filter.7.html

Unfortunately, it does not directly recognize the IRC protocol. However, Wireshark determines whether an IRC message is a request or response by looking at the tcp port (is the message to or from port 6667) and we can do that with libpcap.

So you probably want "tcp dst port 6667" for your filter.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top