Skip to content

(DOCS-12321): Document new TLS version logging configuration option #5956

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 28 additions & 3 deletions source/reference/configuration-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,7 @@ Core Options
allowInvalidHostnames: <boolean>
disabledProtocols: <string>
FIPSMode: <boolean>
logVersions: <string>
compression:
compressors: <string>

Expand Down Expand Up @@ -909,12 +910,16 @@ Core Options
may attach :binary:`~bin.mongos` or :binary:`~bin.mongod` to any interface. To bind to multiple
addresses, enter a list of comma-separated values.

.. example:: ``localhost,/tmp/mongod.sock``
.. example::

``localhost,/tmp/mongod.sock``

You can specify both IPv4 and IPv6 addresses, or hostnames that
resolve to an IPv4 or IPv6 address.

.. example:: ``localhost, 2001:0DB8:e132:ba26:0d5c:2774:e7f9:d513``
.. example::

``localhost, 2001:0DB8:e132:ba26:0d5c:2774:e7f9:d513``

.. note::

Expand All @@ -929,7 +934,9 @@ Core Options
`zone index <https://en.wikipedia.org/wiki/IPv6_address#Scoped_literal_IPv6_addresses_(with_zone_index)>`_
to that address (i.e. ``fe80::<address>%<adapter-name>``).

.. example:: ``localhost,fe80::a00:27ff:fee0:1fcf%enp0s3``
.. example::

``localhost,fe80::a00:27ff:fee0:1fcf%enp0s3``

.. include:: /includes/tip-hostnames.rst

Expand Down Expand Up @@ -1150,6 +1157,7 @@ Core Options
allowInvalidHostnames: <boolean>
disabledProtocols: <string>
FIPSMode: <boolean>
logVersions: <string>

.. setting:: net.tls.mode

Expand Down Expand Up @@ -1611,6 +1619,23 @@ Core Options

.. include:: /includes/note-fips-is-enterprise-only.rst

.. setting:: net.tls.logVersions

*Type*: string

Instructs :binary:`~bin.mongos` or :binary:`~bin.mongod` to log a
message when a client connects using a specified TLS version.

Specify either a single TLS version or a comma-separated list of
multiple TLS versions.

.. example::

To instruct :binary:`~bin.mongos` or :binary:`~bin.mongod` to
log a message when a client connects using either TLS 1.2 or
TLS 1.3, set :setting:`net.tls.logVersions` to
``"TLS1_2,TLS1_3"``.


.. _net-ssl-conf-options:

Expand Down