Wonder if it is possible to use regular expression in display filter, for example, I need to find all HTTP requests whose "Host" headers are followed by an IP address instead of host name. Something like the following PCRE (not perfect, I know):
Thanks. asked 07 May '15, 06:43 pktUser1001 |
One Answer:
The "matches" operator offers PCRE matching. See the filters man page. answered 07 May '15, 07:05 grahamb ♦ |
Thanks for the tip. I used
http.host matches "^[\\d\\.\\:]+$" and tcp
and it worked well.