First time here? Check out the FAQ!

Ask Your Question
0

Capture Filter - Exclude URL Containing Certain String

asked Mar 28 '19

burritoman gravatar image

Is it possible to use a capture filter to exclude traffic to a given path? The problem I'm faced with is trying to determine hits to a web server but only for certain web applications, excluding a particular one.

Ex.

I want to see traffic on google.com/blah I do not want to see traffic on google.com/bloop

I understand capture filters are more limited than display filters but I'd like to limit the size and overhead of the initial capture by only capturing traffic I want to see. The endgoal is to determine individual IPs making requests to this website, excluding traffic to a given X-Original-URL path.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered Mar 29 '19

Ross Jacobs gravatar image

updated Mar 30 '19

Capture filters will not be able to do this unless you can specify a different IP address for the server. The problem is that capture filters use a more limited syntax. Capture filters can differentiate source/dest IP and name based on different subdomains/IP addresses. google.com/blah and google.com/bloop; however, both point to the same server. More info can be found on this Stackoverflow question. If somehow there is a different server involved (let's say google.com/drive redirects to drive.google.com), then you can use a capture filter like dst drive.google.com.

Edited: To limit the scope to capture filters

Preview: (hide)
link

Comments

This is a Display filter, not a capture filter.

Jaap gravatar imageJaap ( Mar 30 '19 )

Thanks for the catch @Jaap. Edited question to reflect this.

Ross Jacobs gravatar imageRoss Jacobs ( Mar 30 '19 )
1

In particular, they're limited not to be able to do anything involving a loop (so no arbitrary string pattern-matching) or involving string pattern-matching.

Guy Harris gravatar imageGuy Harris ( Mar 30 '19 )

Your Answer

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

Add Answer

Question Tools

Stats

Asked: Mar 28 '19

Seen: 1,377 times

Last updated: Mar 30 '19