This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

What should I type in filter if I want to see TCP packets and TCP SIN packets that I have sent?

asked 19 Feb '11, 23:39

baran's gravatar image

baran
1334
accept rate: 0%


For seeing only TCP packets, you can use the filter "tcp" which can be used both as a capture filter and as a display filter.

If you only want to see TCP SYN packets, you can use the display filter "tcp.flags.syn==1" and the capture filter "tcp[13]&2=2".

If you want to limit it even further to only the SYN packets that you are sending, you can and an IP filter and get "tcp.flags.syn==1 and ip.src==<YOUR_IP>" (display) and "tcp[13]&2=2 and src host <YOUR_IP>".

permanent link

answered 20 Feb '11, 00:40

SYN-bit's gravatar image

SYN-bit ♦♦
17.1k957245
accept rate: 20%

I do thank U for answering me.

(20 Feb '11, 00:58) baran

How can I see TCP packets that I am sending them?not all TCP packets.

(22 Feb '11, 09:55) baran

See my answer above in which I use a filter to select only packets which have your IP address as the source.

(22 Feb '11, 10:02) SYN-bit ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×17

question asked: 19 Feb '11, 23:39

question was seen: 2,794 times

last updated: 22 Feb '11, 10:02

p​o​w​e​r​e​d by O​S​Q​A