FUNCS += functions/gnutls_handshake_get_last_out.short
FUNCS += functions/gnutls_handshake_get_last_in
FUNCS += functions/gnutls_handshake_get_last_in.short
+FUNCS += functions/gnutls_heartbeat_ping
+FUNCS += functions/gnutls_heartbeat_ping.short
+FUNCS += functions/gnutls_heartbeat_ping_rnd
+FUNCS += functions/gnutls_heartbeat_ping_rnd.short
FUNCS += functions/gnutls_record_send
FUNCS += functions/gnutls_record_send.short
FUNCS += functions/gnutls_record_recv
FUNCS += functions/gnutls_server_name_set.short
FUNCS += functions/gnutls_server_name_get
FUNCS += functions/gnutls_server_name_get.short
+FUNCS += functions/gnutls_heartbeat_enable
+FUNCS += functions/gnutls_heartbeat_enable.short
+FUNCS += functions/gnutls_heartbeat_allowed
+FUNCS += functions/gnutls_heartbeat_allowed.short
+FUNCS += functions/gnutls_heartbeat_timeout
+FUNCS += functions/gnutls_heartbeat_timeout.short
FUNCS += functions/gnutls_safe_renegotiation_status
FUNCS += functions/gnutls_safe_renegotiation_status.short
FUNCS += functions/gnutls_supplemental_get_name
The TLS extension which allows to request response from the peer in a
way similar to ping command described in @xcite{RFC6520}. This
extension is disabled by default - user have to call
-@funcref{gnutls_heartbeat_allow} to enable it. Note: this will set
+@funcref{gnutls_heartbeat_enable} to enable it. Note: this will set
local policy affecting HeartBeat messages coming from the peer - the policy
-could be checked via @funcref{gnutls_heartbeat_enabled_local}. The
-same policy set by the peer for our messages could be checked via
-@funcref{gnutls_heartbeat_enabled_remote}. The requests coming from
-peer are answered automatically (if policy permits) inside
-@funcref{record_add_to_buffers}, requests to peer could be send via
+could be checked via @funcref{gnutls_heartbeat_allowed}.
+The requests coming from peer are answered automatically (if policy permits)
+inside @funcref{gnutls_record_recv}, requests to peer could be send via
@funcref{gnutls_heartbeat_ping} or
@funcref{gnutls_heartbeat_ping_rnd}. Each request triggers timeout
which could be checked and manipulated with @funcref{gnutls_heartbeat_timeout}.
Policy-related functions:
-@showfuncB{gnutls_heartbeat_allow,gnutls_heartbeat_deny}, @showfuncB{gnutls_heartbeat_enabled_local,gnutls_heartbeat_enabled_remote}
+@showfuncB{gnutls_heartbeat_allowed,gnutls_heartbeat_enable}
Operational functions:
-@showfuncB{gnutls_heartbeat_timeout},@showfuncB{gnutls_heartbeat_ping,gnutls_heartbeat_ping_rnd}
+@showfuncC{gnutls_heartbeat_timeout,gnutls_heartbeat_ping,gnutls_heartbeat_ping_rnd}
@node Safe renegotiation
@subsection Safe renegotiation
#
# DO NOT EDIT THIS FILE (invoke-gnutls-cli.texi)
#
-# It has been AutoGen-ed June 6, 2012 at 09:11:09 PM by AutoGen 5.16
+# It has been AutoGen-ed September 1, 2012 at 11:10:28 AM by AutoGen 5.16
# From the definitions ../src/cli-args.def
# and the template file agtexi-cmd.tpl
@end ignore
--ocsp Enable OCSP certificate verification
- disabled as --no-ocsp
-r, --resume Establish a session and resume
+ -b, --heartbeat Activate heartbeat support
-e, --rehandshake Establish a session and rehandshake
--noticket Don't accept session tickets
-s, --starttls Connect, establish a plain session and start TLS.
#
# DO NOT EDIT THIS FILE (invoke-gnutls-serv.texi)
#
-# It has been AutoGen-ed May 9, 2012 at 08:06:12 PM by AutoGen 5.16
+# It has been AutoGen-ed September 1, 2012 at 11:10:28 AM by AutoGen 5.16
# From the definitions ../src/serv-args.def
# and the template file agtexi-cmd.tpl
@end ignore
0 to 17000
-a, --disable-client-cert Do not request a client certificate
-r, --require-client-cert Require a client certificate
+ -b, --heartbeat Activate heartbeat support
--x509fmtder Use DER format for certificates to read from
--priority=str Priorities string
--dhparams=file DH params file to use
This is the ``enable debugging.'' option.
This option takes an argument number.
Specifies the debug level.
+@anchor{gnutls-serv heartbeat}
+@subheading heartbeat option (-b)
+@cindex gnutls-serv-heartbeat
+
+This is the ``activate heartbeat support'' option.
+Regularly ping client via heartbeat extension messages
@anchor{gnutls-serv priority}
@subheading priority option
@cindex gnutls-serv-priority
APIMANS += gnutls_handshake_set_private_extensions.3
APIMANS += gnutls_handshake_get_last_out.3
APIMANS += gnutls_handshake_get_last_in.3
+APIMANS += gnutls_heartbeat_ping.3
+APIMANS += gnutls_heartbeat_ping_rnd.3
APIMANS += gnutls_record_send.3
APIMANS += gnutls_record_recv.3
APIMANS += gnutls_record_recv_seq.3
APIMANS += gnutls_prf_raw.3
APIMANS += gnutls_server_name_set.3
APIMANS += gnutls_server_name_get.3
-APIMANS += gnutls_heartbeat_policy_set.3
+APIMANS += gnutls_heartbeat_enable.3
+APIMANS += gnutls_heartbeat_allowed.3
+APIMANS += gnutls_heartbeat_timeout.3
APIMANS += gnutls_safe_renegotiation_status.3
APIMANS += gnutls_supplemental_get_name.3
APIMANS += gnutls_session_ticket_key_generate.3