Forum Discussion

Amin_Ferdous_14's avatar
Amin_Ferdous_14
Icon for Nimbostratus rankNimbostratus
Apr 05, 2017

iRule to gather client TLS version

I am an iRule rookie and I need help please. I am trying to write an iRule that will capture TLS version as it traverses a VIP and append as a HTTP header to the forwarded request. Really appreciate your time.

 

  • JG's avatar
    JG
    Icon for Cumulonimbus rankCumulonimbus

    Try this one:

    when HTTP_REQUEST {
        HTTP::header insert "X-TLS-Version" [SSL::cipher version]
    }
    

    .