Forum Discussion
nitass
Nov 23, 2011Employee
e.g.
[root@ve1023:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.19.79:80
ip protocol 6
rules myrule
profiles {
http {}
tcp {}
}
}
[root@ve1023:Active] config b rule myrule list
rule myrule {
when HTTP_RESPONSE {
foreach acookie [HTTP::header values "Set-Cookie"] {
log local0. "$acookie"
}
}
}
[root@ve1023:Active] config curl -I http://172.28.19.79
HTTP/1.1 200 OK
Date: Wed, 23 Nov 2011 14:57:09 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Fri, 11 Nov 2011 14:48:14 GMT
ETag: "4183e4-3e-9c564780"
Accept-Ranges: bytes
Content-Length: 62
Set-Cookie: ASP.NET_SessionId=edfozx45o40stpfgnbtue045; path=/; HttpOnly
Set-Cookie: EPowerV4Users=carrefourvoyagesb2b=13_user; path=/
Set-Cookie: EPowerV4UsersCorporates=carrefourvoyagesb2b=agencyantibes; path=/
Set-Cookie: VisitorID=1703234c-e2be-45a4-a9c3-29183aa09fde; expires=Fri, 23-Nov-2012 07:55:38 GMT; path=/
Connection: close
Content-Type: text/html; charset=UTF-8
[root@ve1023:Active] config
Nov 23 06:56:55 local/tmm info tmm[23027]: Rule myrule : ASP.NET_SessionId=edfozx45o40stpfgnbtue045; path=/; HttpOnly
Nov 23 06:56:55 local/tmm info tmm[23027]: Rule myrule : EPowerV4Users=carrefourvoyagesb2b=13_user; path=/
Nov 23 06:56:55 local/tmm info tmm[23027]: Rule myrule : EPowerV4UsersCorporates=carrefourvoyagesb2b=agencyantibes; path=/
Nov 23 06:56:55 local/tmm info tmm[23027]: Rule myrule : VisitorID=1703234c-e2be-45a4-a9c3-29183aa09fde; expires=Fri, 23-Nov-2012 07:55:38 GMT; path=