From: Vladimír Čunát Date: Fri, 17 May 2019 17:29:09 +0000 (+0200) Subject: fixup! add FORCE_PADDING option for requests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f615b80739279c473c0820976a2d29b3030b74f8;p=thirdparty%2Fknot-resolver.git fixup! add FORCE_PADDING option for requests --- diff --git a/daemon/bindings/net.rst b/daemon/bindings/net.rst index fe3ed374b..a3269e296 100644 --- a/daemon/bindings/net.rst +++ b/daemon/bindings/net.rst @@ -342,8 +342,9 @@ by a trusted CA. This is done using function :c:func:`net.tls()`. answer will have size of a multiple of 64 (64, 128, 192, ...). If set to `false` (or a number < 2), it will disable padding entirely. - You may force padding even on unencrypted answers via ``policy.FLAGS('FORCE_PADDING')``, - e.g. in conditioned on the request coming from a TLS-stripping proxy. + You may force padding even on unencrypted answers via ``policy.FLAGS('FORCE_PADDING')`` + action, e.g. conditioned on the request coming from a TLS-stripping proxy; + see :ref:`mod-policy` for details. .. function:: net.tls_sticket_secret([string with pre-shared secret])