<br><br><div class="gmail_quote">On Fri, Jan 25, 2013 at 4:23 PM, Will Metcalf <span dir="ltr"><<a href="mailto:william.metcalf@gmail.com" target="_blank">william.metcalf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
While we are talking about having len and endswith would be really<br>
useful for at least http_uri, http_user_agent, and http_host_header.<br>
The first for performing exact matches i.e.<br>
<br>
content:"Mozilla"; http_user_agent; http_user_agent_len:7;<br>
<br>
to match<br>
<br>
User-Agent: Mozilla\r\n<br>
<br>
or<br>
<br>
content:".exe"; http_uri; endswith;<br>
<br>
to match<br>
<br>
GET /blah/blat/foo.exe HTTP/1.1\r\n<br>
<br>
<br>
etc... Want a feature request? :)<br>
</blockquote></div>yes !<br><br>