Forum Discussion
Andy_McGrath
Feb 20, 2019Cumulonimbus
Your 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 if
statement 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)} {