Forum Discussion
Steve_Brockman_
Nimbostratus
Oct 19, 2005Session Lookup not working?
Hi,
Can anyone tell me why a client cert that I am adding for a session in CLIENTSSL_CLIENTCERT is not able to be found in HTTP_REQUEST ??CLIENTSSL_CLIENTCERT
session add ssl [SSL::sessionid] $ssl_cert 180
HTTP_REQUESTset cert [session lookup ssl [SSL::sessionid]]
Any help would be greatly appreciated!
Thanks,
Steve
- unRuleY_95363Historic F5 AccountAre you sure the SSL::sessionid is returning the same value? You may want to add some debugging log statements to confirm that.
- unRuleY_95363Historic F5 AccountOk, then. Are you sure you have a value in $ssl_cert when you add it to the table? Maybe you should log that next.
- Steve_Brockman_
Nimbostratus
Yea, I checked that, there is a value in $ssl_cert. - unRuleY_95363Historic F5 AccountSounds like you should open a support case as this should be working. We may want to collect some tcpdumps and configuration information for further analysis here to determine why it's not working.
- unRuleY_95363Historic F5 AccountOh, I did forget to mention, the session table is currently not mirrored between pairs, so hopefully you are getting both those connections on the same device... I had assumed those log entries where from the same device, but I don't know for sure.
- Steve_Brockman_
Nimbostratus
ok, tmm was already linked to tmm.default. By "device" you mean the F5 box itself? or interface? We have the boxes running indpendently now. (no failover cable and no virtual servers on the other box) - unRuleY_95363Historic F5 AccountYup, by device I meant the BigIP itself.
- Steve_Brockman_
Nimbostratus
Hey I got some more time to research this some more... it seems that the cert is not being retrieved within the CLIENTSSL_CLIENTCERT function itself:when CLIENTSSL_CLIENTCERT { set ssl_cert [SSL::cert 0] set id [SSL::sessionid] session add ssl $id $ssl_cert 90 set cert11 [session lookup ssl $id] if { $cert11 equals "" } { log "AAAGH - no cert in CLIENTSSL-CLIENTCERT!!!" } }
- Steve_Brockman_
Nimbostratus
Just wanted to let everyone know, that we figured out the problem. Seems as tho a patch Image that was installed on the box by our F5 rep was the cause of the problem above. - Carla_Molenda_1
Nimbostratus
We have the same problem with the session table ever since we migrated from 9.1.0 to 9.1.1. The iRules that we had in 9.1.0 stopped working and were causing the BigIP to be rebooted/reset. We determined the line causing it was the "add session". We found a problem that seemed to be related (CR57247) on Dev Central. However, even when one of the work-arounds was applied and the add session worked, the lookup always retreived nothing. It seems like the session table isn't even there - maybe the work around is just luck ? (We were thinking there was an overlay on the add causing the reboot.) Is there some setting we need to turn on (maybe we were lucky it worked before) ? Where is the session table documented ? We did not find it in the LTM config guide.
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