Forum Discussion
Irule for restricting selected ips for NOT USING TLSV1 and 1.1
- Jun 27, 2018
matchclass ...
Note: matchclass has been deprecated in v10 in favor of the new commands. The class command offers better functionality and performance than matchclass.
Inserting the appropriate class command into this iRule would look something like this:
when CLIENT_ACCEPTED { if { [class match [IP::client_addr] equals TLSV1.0_1.1_Enable ]} { SSL::profile example_profile_enable_weak_TLS } else { SSL::profile example_profile_disable_weak_TLS } }
Looks like the syntax may be slightly off. Try this:
{ if { [matchclass [IP::client_addr] contains TLSV1.0_1.1_Disable ]}
Check the following solution article for examples on referencing data groups in IRules:
- vvskaladhar_488Jun 22, 2018Nimbostratus
Thanks you so much for the help on this. i am able to add the irule as below and waiting for the confirmation form the client to say ready for testing. below is the irule by taging to the vip kaladhar.abc.com.
when CLIENT_ACCEPTED {
if { [matchclass [IP::client_addr] contains TLSV1.0_1.1_Disable ]} {
SSL::profile kaladhar.abc.com_TLS_Disable
} else {
SSL::profile kaladhar.abc.com
}
}
Recent Discussions
Related Content
* 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