yes you are correct. I have checked the i rule but unable to understand clearly. Can I copy and paste the the below rule , will this ok? or so i need to edit anything?
It'll really help me a lot!
01 rule cookie_persist_http_plus_s {
02 Check if there is a cookie and lookup persistence table
03 if the entry does not exist, loadbalance and save record
04 when HTTP_REQUEST {
05 if { [HTTP::cookie exists "bIPs"] } { ------------>What is "bIPs" ?
06 persist uie [HTTP::cookie value "bIPs"]
07 }
08 }
09 For initial requests, we have to calculate MD5
10 checksum of the server's IP, convert it to hex,
11 then finally store it as a cookie and create persistence record
12 when HTTP_RESPONSE {
13 if { ![HTTP::cookie exists "bIPs"] } {
14 binary scan [md5 [IP::server_addr]] H* md5var junk -------------> what this line will do?
15 HTTP::cookie insert name "bIPs" value $md5var -------------> what this line will do?
16 persist add uie [HTTP::cookie value "bIPs"]
17 }
18 }
19 }