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


I'd like to logs all packets that containg a specific pattern (a string in my case). I want to log only thoses packets 24h/7.

Right now, I can log all packets that comes to a specified port and apply a filter, but this generate tons of data on the disk, generating too much data to be usefull.

So I'd like to be able to log using a filter (not logging everything that comes in and then applying a filter).

Is that possible with wireshark?


asked 11 Sep '14, 07:55

Snalibe's gravatar image

accept rate: 0%

Please use this String-Matching Capture Filter Generator:

As an alternative you could use ngrep.

permanent link

answered 13 Sep '14, 09:27

Roland's gravatar image

accept rate: 13%

Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 11 Sep '14, 07:55

question was seen: 1,563 times

last updated: 13 Sep '14, 09:27

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