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

A dumb question to understand how Wireshark works: if I monitor my inbound traffic and someone send me a packet directed to a closed port, will I see this packet in wireshark?

asked 29 Oct '15, 10:32

rok's gravatar image

rok
26446
accept rate: 0%


Yes, unless you have a local firewall running that blocks the packet before Wireshark can record it. But without, a closed port will result in an reset packet, which you should see.

permanent link

answered 29 Oct '15, 10:36

Jasper's gravatar image

Jasper ♦♦
23.8k551284
accept rate: 18%

could you tell me more about the reset packet? Is it the reply I send once I receive a packet directed to my closed port? I mean, if you send me a tcp packet directed to my ip:port where port is closed.. I will see it normally in wireshark, and you'll get a reset packet as response.. am I right? Thank you

(29 Oct '15, 10:41) rok
1

Yes, if a packet arrives for a closed port your TCP stack will reply with an reset packet. You should see both in Wireshark.

(29 Oct '15, 10:43) Jasper ♦♦
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:

×86
×69
×4
×1

question asked: 29 Oct '15, 10:32

question was seen: 2,040 times

last updated: 29 Oct '15, 10:43

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