Forum Discussion
Leslie_South_55
Nimbostratus
Aug 14, 2007Encrypt the BIGip cookie + cookie insert
I have found some good examples of encrypting cookies with an iRule, but from what I read (if I am reading it correctly) it does not seem that anyone is encrypting the cookie inserted by the BIGIP itself? I use cookie_insert for persistence and a recent vulnerability assessment noted that the node and port number can be easily obtained by decoding the cookie value. Is it possible for me to encrypt the cookie that the BIGIP is inserting?
-L
- hoolio
Cirrostratus
The BIG-IP persistence cookie should be set before the default priority HTTP_RESPONSE event, so you should be able to use HTTP::cookie encrypt to encrypt it. You'd need to decrypt it in the request so it could be read for load selection. - bl0ndie_127134Historic F5 AccountIf you have 9.4 or later releases, you can specify the cookie name to be encrypted/decrypted in the GUI; no rules needed.
- Deb_Allen_18Historic F5 AccountCan we really manipulate the LTM-set cookie via iRules?
- hoolio
Cirrostratus
I've set the domain on a persistence cookie before. I haven't tried modifying the persistence cookie on the request though. I would have assumed it would be possible...? - Deb_Allen_18Historic F5 AccountSounds like it, given your experience.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects