irules ssl
1 TopicIrule Check SSL Version and Redirect
Just to share my irule to check SSL Cypher or Bits on SSL Handshake, and redirect to another url. This working on Firefox,Chrome and IE. when CLIENTSSL_HANDSHAKE { if { ( [SSL::cipher version] <= "TLSv1" ) } { log local0. "Denegacion SSL Handshake para el Cliente [IP::client_addr]:[TCP::client_port] usando [SSL::cipher version], [SSL::cipher name] y [SSL::cipher bits]" set invalid_ssl 1 } else { set invalid_ssl 0 } } when HTTP_REQUEST { if { $invalid_ssl } then { HTTP::redirect "http://www.example.com/example" TCP::close event disable all return } } Regards.346Views0likes1Comment