Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

karth1cksec_359's avatar
karth1cksec_359
Icon for Nimbostratus rankNimbostratus
Aug 16, 2018

Irule to rewrites all cookies being set with the domain name

Hi folks !!

 

Please find the IRULE i applied today on the private NLB, for inserting the Domain name for all JSESSIONID cookie we received from a backend application server :

 

when HTTP_RESPONSE { set cookies [HTTP::cookie names] If Persistence Cookie is there if { $cookies contains "JSESSIONID" } { rewrites all cookies being set with the domain foreach cookie_name $cookies { set cookie_value [HTTP::cookie $cookie_name] HTTP::cookie remove $cookie_name HTTP::cookie insert name $cookie_name value $cookie_value domain "zyx.abc.com" path "/" } } }

 

Now my requirment is to insert Domain name for all cookies in the response traffic.

 

Kindly assist :)