Forum Discussion
Adrien_Legros_1
Altostratus
Oct 16, 2008Encrypt-Decrypt all the cookies on the fly
Our applications use a lot of cookies so I wanted to secure it via an Irule inspired by these i can find in this forum but nothing is working. When I use my Irule or another one, my website doesn't wo...
Adrien_Legros_1
Altostratus
Oct 16, 2008First request :
GET / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language: fr-be,nl-be;q=0.5
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; custom; EmbeddedWB 14,52 from: http://www.bsalsa.com/ EmbeddedWB 14,52; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; InfoPath.2; custom; custom)
Host: www-test.be
Connection: Keep-Alive
Cookie: cook1_wlf_%2X%2Ebe_%2F=d2NvX3dlYnNpdGU_?0190f8a8f762916c71a08f02dbd1eedf; __utma=137988534.2036467364596942600.1224164176.1224164176.1224164176.1; __utmb=137988534.1.10.1224164176; __utmz=137988534.1224164176.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
response:
....
Set-Cookie: cook1=1e1bcc1010b6de32734c584317443b31.00.b4c9d0e1eeb6a643fa3704930bcce80d; domain=.X.be; path=/
....
Second request with the cookies on my client:
....
Cookie: nbbrpid_wlf_%2X%2Ebe_%2F=d2NvX3dlYnNpdGU_?0190f8a8f762916c71a08f02dbd1eedf; cook1=1e1bcc1010b6de32734c584317443b31.00.a25aec8bff1a72dd30e197dd08f85656; __utma=137988534.2036467364596942600.1224164176.1224164176.1224164297.2; __utmb=137988534.1.10.1224164297; __utmz=137988534.1224164176.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ns_cookietest=true; ns_session=true; __utmc=137988534
Response:
Set-Cookie: cook1_wat_%2X%2Ebe_%2F=QVNQLk5FVF9TZXNzaW9uSWQ_?f44df5b292c91c84cf313fd96395178f; domain=.X.be; path=/
Cook1 is well encrypted - decrypted but nothing happens with the others.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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