noje_224243
Apr 04, 2016Nimbostratus
Solved
iRule rejects connections but there is no reject command
Hi all,
We have a VS with several SSL sites. There is an iRule which looks like:
when SERVER_CONNECTED {
if { $doSSL == 1 }{
SSL::profile Server-profile1 }
elseif { $doS...
- Apr 05, 2016
Add a logging statement to the SERVER_CONNECTED event before the
command to determine whether the exception is being raised from there. If so, place it in theif
clause before and after theelseif
command the determine whether that is the cause. I suspect that BIG-IP doesn't want to connect the profile for one reason or another.SSL::profile
Incidentally, in the SERVER_CONNECTED you can also use a
:switch
when SERVER_CONNECTED { log local0. "-- In SERVER_CONNECTED --" switch $doSSL { "1" { SSL::profile Server-profile1 } "2" { SSL::profile Server-profile2 } ... "9" { log local0. " -- doSSL == 9 --" SSL:profile Server-profile9 log local0. " -- after SSL::profile --" } } }