<div dir="ltr">Hello,<div> I'm writing a rule like this:</div><div>alert tcp $EXTERNAL_NET $HTTP_PORTS -> $HOME_NET any (msg: "Testing Rule"; content: "200"; http_stat_code; content: "Bad Stuff."; distance: 150; within: 250; sid: 123123; rev: 1;)" <br>
</div><div><br></div><div>I'm getting this error: </div><div><div>[ERRCODE: SC_ERR_DISTANCE_MISSING_CONTENT(104)] - within needs two preceding content or uricontent options</div><div>24/3/2014 -- 16:55:28 - <Error> - [ERRCODE: SC_ERR_INVALID_SIGNATURE(39)] - error parsing signature "alert tcp $EXTERNAL_NET $HTTP_PORTS -> $HOME_NET any (msg: "Testing Rule"; content: "200"; http_stat_code; content: "Bad Stuff."; distance: 150; within: 250; sid: 123123; rev: 1;)" </div>
</div><div><br></div><div><br></div><div>Is it possible to use distance/within with HTTP keywords?</div><div><br></div><div>-Harley</div></div>