Forum Discussion
Chris_Miller
Aug 12, 2010Altostratus
Posted By naladar on 08/12/2010 07:02 AM
You might try something like this:
when HTTP_REQUEST {
if { [HTTP::uri] eq "/sample" and !( [HTTP::header "True-Client-IP"] eq 1.1.1.1 } ) and !([TCP::client_port==80]) {
reject } }
Edit - just tested, client_port is the random source port for the user. Looks like "local_port" will do what I want!