Ask Your Question
0

How to filter out entries from the wireshark trace

asked 2019-09-23 06:35:18 +0000

BalajiPalavalli gravatar image

I want to filter out TNS and TCP entries while i am analyzing an SSL issue. How do i do it. I tried setting under Capture->Capture Filters by specifying name of the filter and the filter options.. It didn't work. Any help on this is highly appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-09-23 06:49:09 +0000

SYN-bit gravatar image

There are two filtering engines in Wireshark:

  1. Capture filters. Capture filters are used when capturing packets from the network and will determine which packets are saved in the pcap file. Capture filters use BPF syntax (see the tcpdump manual page for more details).
  2. Display filters. Display filters are used to select which packets from the pcap file to show on the screen. Display filters have their own syntax.

As you mention capture filters, I assume you want to limit the packets saved to the pcap file. There is no tns filter in the BPF filter language, you will need to filter on ip addresses and ports. So to not capture any TNS packets, you can use not tcp port 1521. Beware that if you are capturing vlan-tagged traffic, you need to change this filter into not (vlan and tcp port 1521).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-09-23 06:35:18 +0000

Seen: 1,399 times

Last updated: Sep 23 '19