Forum Discussion

Michael_Omaljev's avatar
Michael_Omaljev
Icon for Nimbostratus rankNimbostratus
Sep 21, 2005

[iRule 9.0] Redirect on weak encryption

I found the Irule which will perform what I want it do..

 

 

However, Is there a way to provide the redirect url or error directly from the iRUle ?

 

As opposed to redirecting to an un-encypted url. Can you reference a local file on the bigip ?

 

 

thanks

 

MO

 

 

 

rule ssl_weak_redir {

 

when HTTP_REQUEST {

 

check for at least 128 bits of encryption

 

if { [SSL::cipher bits] < 128 }{

 

when browser cannot do at least 128 bits of encryption redirect

 

to a un-encrypted page with an informational error

 

HTTP::redirect http://10.10.10.10/error/sslerr.html

 

}

 

}

 

}
No RepliesBe the first to reply