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

Search for HTTP requests that don’t have User-Agent header

0

How to find all the HTTP requests that don't have "User-Agent" field. I tried the following two filters but neither worked:

http.user_agent == ""

! http.user_agent

Any ideas?

asked 26 Aug ‘15, 16:16

pktUser1001's gravatar image

pktUser1001
201495054
accept rate: 12%


One Answer:

0

http.request.method && !http.user_agent

answered 26 Aug '15, 17:02

Jim%20Aragon's gravatar image

Jim Aragon
7.2k733118
accept rate: 24%

Thanks @jim-aragon. It works. http.request && !http.user_agent works too.

(26 Aug '15, 18:48) pktUser1001