diff options
author | pjd <pjd@FreeBSD.org> | 2011-03-06 22:56:14 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-03-06 22:56:14 +0000 |
commit | f56b79fee1b3a270c7df9a507133ade99dc1ab2a (patch) | |
tree | 6b872900bed0ce399d58f54f1a16e39911c78e4b /sbin/hastd/hast.conf.5 | |
parent | 75dda0ff36fbb94f84d2478dec2bbe1ce89b3c1b (diff) | |
download | FreeBSD-src-f56b79fee1b3a270c7df9a507133ade99dc1ab2a.zip FreeBSD-src-f56b79fee1b3a270c7df9a507133ade99dc1ab2a.tar.gz |
Allow to checksum on-the-wire data using either CRC32 or SHA256.
MFC after: 2 weeks
Diffstat (limited to 'sbin/hastd/hast.conf.5')
-rw-r--r-- | sbin/hastd/hast.conf.5 | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sbin/hastd/hast.conf.5 b/sbin/hastd/hast.conf.5 index 87a7e35..3fd2fc6 100644 --- a/sbin/hastd/hast.conf.5 +++ b/sbin/hastd/hast.conf.5 @@ -1,5 +1,5 @@ .\" Copyright (c) 2010 The FreeBSD Foundation -.\" Copyright (c) 2010 Pawel Jakub Dawidek <pjd@FreeBSD.org> +.\" Copyright (c) 2010-2011 Pawel Jakub Dawidek <pawel@dawidek.net> .\" All rights reserved. .\" .\" This software was developed by Pawel Jakub Dawidek under sponsorship from @@ -59,6 +59,7 @@ file is following: control <addr> listen <addr> replication <mode> +checksum <algorithm> timeout <seconds> exec <path> @@ -77,6 +78,7 @@ on <node> { resource <name> { # Resource section replication <mode> + checksum <algorithm> name <name> local <path> timeout <seconds> @@ -201,6 +203,18 @@ The .Ic async replication mode is currently not implemented. .El +.It Ic checksum Aq algorithm +.Pp +Checksum algorithm should be one of the following: +.Bl -tag -width ".Ic sha256" +.It Ic none +No checksum will be calculated for the data being send over the network. +This is the default setting. +.It Ic crc32 +CRC32 checksum will be calculated. +.It Ic sha256 +SHA256 checksum will be calculated. +.El .It Ic timeout Aq seconds .Pp Connection timeout in seconds. |