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

display filter to catch HTTP requests that don’t have “Referer” header

0

I need to find all the HTTP requests that don't have "Referer" header. I tried the following but it didn't catch such a HTTP request.

http.referer == ""

Wonder if there is a display filter for it.

Thanks.

asked 03 Jun '15, 20:26

pktUser1001's gravatar image

pktUser1001
201495054
accept rate: 12%


One Answer:

2

Your headline translates to the following display filter.

http.request == 1 and !http.referer

Does this do what you want ?

answered 03 Jun '15, 22:19

mrEEde's gravatar image

mrEEde
3.9k152270
accept rate: 20%

Yes, it works great. Thanks!

(04 Jun '15, 06:35) pktUser1001