Forum Discussion
Philip_Jonsson_
Altocumulus
Feb 19, 2019iRule TCL error - no such variable
Hey everyone!
I have a previous thread regarding an iRule used to exclude TLS 1.3 cipher suites and certain FQDNs and IP addresses. In that thread we managed to get the iRule fully functioning.
...
Andy_McGrath
Cumulonimbus
Feb 20, 2019Your variable
content is set inside of the if statement starting on line 25, so if the if statement returns false for one of the 5 elements you are checking then the line binary scan [TCP::payload] H300 content will now be executed and so no content variable.
You can check to see if the
content variable exists before the class match command by using the following line for your ifstatement on line 67:
if {($tls_servername equals "") || ([class match $tls_servername contains "DG_SWG_SSL_Passthrough_Clients_FQDN"]) || ([info exists content] && [class match $content contains "DG_TLS_1_3_Hex_List"] == 0)} {
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
