Forum Discussion
Eduard_Laera_26
Nov 16, 2005Nimbostratus
bad ssl sessionid containing null byte
Hello Everybody,
We have a problem replicating the SSL Proxy feature "SLL Client Session
insertion" into http headers of a BIGIP v4 System into v9. The iRule
does work but replaces the last byte of the sessionid with a null byte which confuses the service on the members of that pool so it becomes unusable.
Example (unprintable chars made visible):
v.4 behaviour of the "Insert Client Session ID: initial"
SSLClientSessionID: 243a02c81348c645b1eadb80f3ba5767e581490e27be1eaf4b83c36f69af9c1d[13][10]
v9.1.0 behaviour of iRule:
HTTP::header insert [SSL::modssl_sessionid_headers initial]
SSLClientSessionID: 412410b6c661d935751242fbf9bf57da9ed4718a4eda68d4bfabf7266ecdf1e[0][13][10]
We also tried using the shortened version [SSL::sessionid] but
it didn't help neither.
Is this a know bug or is there another setting we overlooked?
Our version is BIG-IP 9.1.0 Build 6.2.
Thanks for any response.
Kind Regards,
Edi
- unRuleY_95363Historic F5 AccountYou could always work around the problem by using SSL::sessionid and then trimming the end off. EG:
HTTP::header insert SSLClientSessionID [string trimright [SSL::sessionid] "\0"]
HTTP::header insert SSLClientSessionID [string range [SSL::sessionid] 0 end-1]
- Eduard_Laera_26NimbostratusHi unRuleY,
- bl0ndie_127134Historic F5 AccountWhy don't you encode the data returned by SSL::sessionid using b64encode and use 'HTTP::header insert' to insert the header manually.
- Jos_52767Historic F5 AccountHi there,
- unRuleY_95363Historic F5 AccountWe've determine why the problem occurs and we now have a hotfix available for this. Reference CR57247.
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