Commit d922b64a authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Document the HMAC options in manual page.

parent 0c4afc22
...@@ -312,6 +312,22 @@ This specifies the name of the file to which ...@@ -312,6 +312,22 @@ This specifies the name of the file to which
.B babeld .B babeld
writes out its process id, and is equivalent to the command-line option writes out its process id, and is equivalent to the command-line option
.BR \-I . .BR \-I .
.TP
.BI "key id" " id" " type" " type" " value" " value"
Configure a key for use with the
.B hmac
interface option. The
.B type
is one of
.B hmac-sha256
or
.BR blake2s .
The
.B value
is a hexadecimal string (up to 64 bytes for
.BR hmac-sha256 ,
exactly 16 bytes for
.BR blake2s ).
.SS Interface configuration .SS Interface configuration
An interface is configured by a line with the following format: An interface is configured by a line with the following format:
.IP .IP
...@@ -404,11 +420,6 @@ otherwise. ...@@ -404,11 +420,6 @@ otherwise.
Send multiple copies of TLVs other than Hellos to all neighbours rather Send multiple copies of TLVs other than Hellos to all neighbours rather
than sending a single multicast packet. The default is false. than sending a single multicast packet. The default is false.
.TP .TP
.BR no_hmac_verify " {" true | false }
Do not check packet signatures, accept unsigned or incorrectly signed packets
even if one or more keys are configured on the interface. The default is
.BR false .
.TP
.BR rfc6126\-compatible " {" true | false } .BR rfc6126\-compatible " {" true | false }
Disable some features that are incompatible with RFC 6126 (the older Disable some features that are incompatible with RFC 6126 (the older
version of the Babel protocol), such as source-specific routing and RTT version of the Babel protocol), such as source-specific routing and RTT
...@@ -447,6 +458,16 @@ if the interface is of type ...@@ -447,6 +458,16 @@ if the interface is of type
and and
.BR 0 .BR 0
otherwise. otherwise.
.TP
.BI hmac " id"
Enable HMAC security on this interface, and use the key
.IR id .
.TP
.BR no_hmac_verify " {" true | false }
Do not check packet signatures, accept unsigned or incorrectly signed packets
even if one or more keys are configured on the interface. The default is
.BR false .
.TP
.SS Filtering rules .SS Filtering rules
A filtering rule is defined by a single line with the following format: A filtering rule is defined by a single line with the following format:
.IP .IP
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment