@@ -868,6 +868,7 @@ Core Options
868
868
allowInvalidHostnames: <boolean>
869
869
disabledProtocols: <string>
870
870
FIPSMode: <boolean>
871
+ logVersions: <string>
871
872
compression:
872
873
compressors: <string>
873
874
@@ -909,12 +910,16 @@ Core Options
909
910
may attach :binary:`~bin.mongos` or :binary:`~bin.mongod` to any interface. To bind to multiple
910
911
addresses, enter a list of comma-separated values.
911
912
912
- .. example:: ``localhost,/tmp/mongod.sock``
913
+ .. example::
914
+
915
+ ``localhost,/tmp/mongod.sock``
913
916
914
917
You can specify both IPv4 and IPv6 addresses, or hostnames that
915
918
resolve to an IPv4 or IPv6 address.
916
919
917
- .. example:: ``localhost, 2001:0DB8:e132:ba26:0d5c:2774:e7f9:d513``
920
+ .. example::
921
+
922
+ ``localhost, 2001:0DB8:e132:ba26:0d5c:2774:e7f9:d513``
918
923
919
924
.. note::
920
925
@@ -929,7 +934,9 @@ Core Options
929
934
`zone index <https://en.wikipedia.org/wiki/IPv6_address#Scoped_literal_IPv6_addresses_(with_zone_index)>`_
930
935
to that address (i.e. ``fe80::<address>%<adapter-name>``).
931
936
932
- .. example:: ``localhost,fe80::a00:27ff:fee0:1fcf%enp0s3``
937
+ .. example::
938
+
939
+ ``localhost,fe80::a00:27ff:fee0:1fcf%enp0s3``
933
940
934
941
.. include:: /includes/tip-hostnames.rst
935
942
@@ -1150,6 +1157,7 @@ Core Options
1150
1157
allowInvalidHostnames: <boolean>
1151
1158
disabledProtocols: <string>
1152
1159
FIPSMode: <boolean>
1160
+ logVersions: <string>
1153
1161
1154
1162
.. setting:: net.tls.mode
1155
1163
@@ -1611,6 +1619,23 @@ Core Options
1611
1619
1612
1620
.. include:: /includes/note-fips-is-enterprise-only.rst
1613
1621
1622
+ .. setting:: net.tls.logVersions
1623
+
1624
+ *Type*: string
1625
+
1626
+ Instructs :binary:`~bin.mongos` or :binary:`~bin.mongod` to log a
1627
+ message when a client connects using a specified TLS version.
1628
+
1629
+ Specify either a single TLS version or a comma-separated list of
1630
+ multiple TLS versions.
1631
+
1632
+ .. example::
1633
+
1634
+ To instruct :binary:`~bin.mongos` or :binary:`~bin.mongod` to
1635
+ log a message when a client connects using either TLS 1.2 or
1636
+ TLS 1.3, set :setting:`net.tls.logVersions` to
1637
+ ``"TLS1_2,TLS1_3"``.
1638
+
1614
1639
1615
1640
.. _net-ssl-conf-options:
1616
1641
0 commit comments