diff options
author | Olga <olyasib12@gmail.com> | 2012-08-28 00:12:56 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-08-30 20:04:18 +0200 |
commit | 3f2e9a0d1231f2555626305b752f73c87afbe6f2 (patch) | |
tree | b903ca9de4bf9dd613627382b6f429e50551ee71 /doc/cha-internals.texi | |
parent | 23934e9fe103c3026491b25255467637cc1df89f (diff) | |
download | gnutls-3f2e9a0d1231f2555626305b752f73c87afbe6f2.tar.gz |
Added Heartbeat extension support.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'doc/cha-internals.texi')
-rw-r--r-- | doc/cha-internals.texi | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/cha-internals.texi b/doc/cha-internals.texi index 69ac8fa13d..e6a01a4846 100644 --- a/doc/cha-internals.texi +++ b/doc/cha-internals.texi @@ -421,6 +421,31 @@ typedef enum @} gnutls_supplemental_data_format_type_t; @end example +@subsubheading Heartbeat extension. + +One such extension is HeartBeat protocol (RFC6520: +@url{https://tools.ietf.org/html/rfc6520}) implementation. To enable +it use option --heartbeat with example client and server supplied with +gnutls: + +@example +./doc/credentials/gnutls-http-serv --priority "NORMAL:-CIPHER-ALL:+NULL" -d 100 --heartbeat --echo +./src/gnutls-cli --priority "NORMAL:-CIPHER-ALL:+NULL" -d 100 localhost -p 5556 --insecure --heartbeat +@end example + +After that pasting +@example +**HEARTBEAT** +@end example +command into gnutls-cli will trigger corresponding command on the server and it will send HeartBeat Request with random length to client. + +Another way is to run capabilities check with: + +@example +./doc/credentials/gnutls-http-serv -d 100 --heartbeat +./src/gnutls-cli-debug localhost -p 5556 +@end example + @node Cryptographic Backend @section Cryptographic Backend Today most new processors, either for embedded or desktop systems |