send
3 TopicsiRule to send violation data to a remote end point
Hi Guys, Using an iRule, can I send ASM data collected to a remote end point? I want to send the violation data I am capturing to an API. This would allow us to inject suitable responses back in to our custom applications when events such as malicious file uploads occur. Thank you351Views0likes7CommentsIrule to limit connections
Hi all, Hope someone can help. I am attempting to use the below irule to limit the number of connections on a virtual server in order to provide a comment to the user when they are blocked. Unfortunately it does seem to be hit but does not limit the connections. This is mostly new to me and although it appears to read correctly obviously doesn't work. when RULE_INIT { set ::active_connections 0 set ::max_connections 10 set ::html_content "Too Many Users - please try later" } when HTTP_REQUEST { set over_limit 0 if {$::active_connections > $::max_connections } { set over_limit 1 } else { incr ::active_connections 1 } if {$over_limit == 1}{ #Send a response HTTP::respond 404 content $::html_content #Close the connection TCP::close } log local0. "Over limit (current/max: $::active_connections/$::max_connections). Sent response to [IP::client_addr]" } when CLIENT_CLOSED { #A connection was closed, so decrement the global counter incr ::active_connections -1 } Thanks for any assistance anyone can give300Views0likes0Commentssend and recieve string health monitor clearification
Hey guys, I was wondering if I can some clarification on http and https health monitors. The default http and https monitors, do they just send a http request 5 seconds by default. Sending a GET / in the send string. Is the send string in the http monitor sending or is it sending a GET a string ? And is that done in the request headers ? The receive string, is that whats going to be the response headers on the monitor? Any clarification would be helpful Thanks195Views0likes1Comment