Forum Discussion
Drew_Garner_111
Nimbostratus
Feb 15, 2006Enforcing SSL Ciphers from target external IP's?
Is it possible with iRules for me to enforce a SSL cipher level for a select group of external IP's that are accessing a shared website?
Thanks for anyone that can spare some advice or if possible a starting point.
- Sure it's possible. The questions is how many external IPs are you looking at. Is it a list of addresses, or subnets.
*** Begin Data Group *** class valid_addresses { "10.10.10.10" "10.10.10.11" "10.10.10.12" } *** Begin iRule *** when HTTP_REQUEST { if { [matchclass [IP::client_addr] equals $::valid_addresses] } { 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 } } }
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