P4G_TLS_ALERT_FATAL_COUNTERS#

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

Description#

Returns a list of TLS error counters. The counters returned corresponds the 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 error counters

ref_time: long integer, a list of TLS error counters

stats: long integer, a list of TLS error counters

unexpected_message: long integer, a list of TLS error counters

bad_record_mac: long integer, a list of TLS error counters

record_overflow: long integer, a list of TLS error counters

decompression_failure: long integer, a list of TLS error counters

handshake_failure: long integer, a list of TLS error counters

bad_certificate: long integer, a list of TLS error counters

unsupported_certificate: long integer, a list of TLS error counters

certificate_revoked: long integer, a list of TLS error counters

certificate_expired: long integer, a list of TLS error counters

certificate_unknown: long integer, a list of TLS error counters

illegal_parameter: long integer, a list of TLS error counters

unknown_ca: long integer, a list of TLS error counters

access_denied: long integer, a list of TLS error counters

decode_error: long integer, a list of TLS error counters

decrypt_error: long integer, a list of TLS error counters

protocol_version: long integer, a list of TLS error counters

insufficient_security: long integer, a list of TLS error counters

internal_error: long integer, a list of TLS error counters

user_canceled: long integer, a list of TLS error counters

no_renegotiation: long integer, a list of TLS error counters

unsupported_extension: long integer, a list of TLS error counters

unknown: long integer, a list of TLS error counters

Example#

# get
input:  0/1 P4G_TLS_ALERT_FATAL_COUNTERS [0] ?
output: 0/1 P4G_TLS_ALERT_FATAL_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