Forum Discussion
Shridhar_Kulkar
Mar 25, 2013Nimbostratus
The example in the Wiki link shows using the HTTP_REQUEST, for which there will be a need to enable HTTP profile to the virtual server first. Can the HSL be enabled something like below -
rule myrule {
when CLIENT_ACCEPTED {
if { [persist lookup source_addr [IP::client_addr]] eq "" } {
set hsl [HSL::open -proto UDP -pool syslog_server_pool]
HSL::send $hsl "[IP::client_addr]:[TCP::client_port]"
}
}
}
Question:
1> Is it mandatory to call the variable name as 'hsl' ?
2> What would the LTM store in this variable 'hsl', if the i-rule is executed simultaneously by 2 different virtual servers at the same time ?