P4G_TLS_ALERT_WARNING_COUNTERS#

# get
<module-index>/<port-index> P4G_TLS_ALERT_WARNING_COUNTERS [<group_index>] ?

Description#

Returns a list of TLS warning counters. The counters returned corresponds the following TLS warnings:
  • close_notify

  • unexpected_message

  • bad_record_mac

  • record_overflow

  • decompression_failure

  • handshake_failure

  • bad_certificate

  • unsupported_certificate

  • certificate_revoked

  • certificate_expired

  • certificate_unknown

  • illegal_parameter

  • unknown_ca

  • access_denied

  • decode_error

  • decrypt_error

  • protocol_version

  • insufficient_security

  • internal_error

  • user_canceled

  • no_renegotiation

  • unsupported_extension

  • unknown.

Actions#

get

Parameters#

current_time: long integer, a list of TLS warning counters

ref_time: long integer, a list of TLS warning counters

close_notify: long integer, a list of TLS warning counters

unexpected_message: long integer, a list of TLS warning counters

bad_record_mac: long integer, a list of TLS warning counters

record_overflow: long integer, a list of TLS warning counters

decompression_failure: long integer, a list of TLS warning counters

handshake_failure: long integer, a list of TLS warning counters

bad_certificate: long integer, a list of TLS warning counters

unsupported_certificate: long integer, a list of TLS warning counters

certificate_revoked: long integer, a list of TLS warning counters

certificate_expired: long integer, a list of TLS warning counters

certificate_unknown: long integer, a list of TLS warning counters

illegal_parameter: long integer, a list of TLS warning counters

unknown_ca: long integer, a list of TLS warning counters

access_denied: long integer, a list of TLS warning counters

decode_error: long integer, a list of TLS warning counters

decrypt_error: long integer, a list of TLS warning counters

protocol_version: long integer, a list of TLS warning counters

insufficient_security: long integer, a list of TLS warning counters

internal_error: long integer, a list of TLS warning counters

user_canceled: long integer, a list of TLS warning counters

no_renegotiation: long integer, a list of TLS warning counters

unsupported_extension: long integer, a list of TLS warning counters

unknown: long integer, a list of TLS warning counters

Example#

# get
input:  0/1 P4G_TLS_ALERT_WARNING_COUNTERS [0] ?
output: 0/1 P4G_TLS_ALERT_WARNING_COUNTERS [0] 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123