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

I have a complex folder structure that gets copied via SMB2 by a custom application that has a very limited logging functionality. The transfer seems to be breaking somewhere in the middle and I suspect one of the file or folder names to be the problem.

Is there a way to specify a wildcard in the filter that would show only packets that have a value in the filename filed ?

As a workaround I added Filename as a column and set up a filter for smb.create_options == 0x00200021, which does the trick, I am just wondering what I am doing wrong when I use the following filter?

smb2.filename matches "C_\\SHARENAME\\SAMPLEFOLDER\\SUBFOLDER\\$"

asked 09 Sep '14, 13:14

net_tech's gravatar image

accept rate: 13%

edited 09 Sep '14, 13:16

I think "matches" is the regex version, maybe using "contains" helps?

permanent link

answered 09 Sep '14, 13:19

Jasper's gravatar image

Jasper ♦♦
accept rate: 18%

both matches and contains seem to work, but once I get to the 1st slash and reapply the filter no packets are displayed

smb2.filename matches "C_"

(09 Sep '14, 13:40) net_tech

I guess it has to do with regex using some characters as special commands. You'd have to check regex syntax to see what the slashes mean.

(09 Sep '14, 13: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



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: 09 Sep '14, 13:14

question was seen: 6,647 times

last updated: 09 Sep '14, 13:43

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