@@ -866,6 +866,7 @@ Core Options
866
866
allowInvalidHostnames: <boolean>
867
867
disabledProtocols: <string>
868
868
FIPSMode: <boolean>
869
+ logVersions: <string>
869
870
compression:
870
871
compressors: <string>
871
872
serviceExecutor: <string>
@@ -908,12 +909,16 @@ Core Options
908
909
may attach :binary:`~bin.mongos` or :binary:`~bin.mongod` to any interface. To bind to multiple
909
910
addresses, enter a list of comma-separated values.
910
911
911
- .. example:: ``localhost,/tmp/mongod.sock``
912
+ .. example::
913
+
914
+ ``localhost,/tmp/mongod.sock``
912
915
913
916
You can specify both IPv4 and IPv6 addresses, or hostnames that
914
917
resolve to an IPv4 or IPv6 address.
915
918
916
- .. example:: ``localhost, 2001:0DB8:e132:ba26:0d5c:2774:e7f9:d513``
919
+ .. example::
920
+
921
+ ``localhost, 2001:0DB8:e132:ba26:0d5c:2774:e7f9:d513``
917
922
918
923
.. note::
919
924
@@ -928,7 +933,9 @@ Core Options
928
933
`zone index <https://en.wikipedia.org/w/index.php?title=IPv6_address&oldid=877601778#Scoped_literal_IPv6_addresses>`_
929
934
to that address (i.e. ``fe80::<address>%<adapter-name>``).
930
935
931
- .. example:: ``localhost,fe80::a00:27ff:fee0:1fcf%enp0s3``
936
+ .. example::
937
+
938
+ ``localhost,fe80::a00:27ff:fee0:1fcf%enp0s3``
932
939
933
940
.. include:: /includes/tip-hostnames.rst
934
941
@@ -1149,6 +1156,7 @@ Core Options
1149
1156
allowInvalidHostnames: <boolean>
1150
1157
disabledProtocols: <string>
1151
1158
FIPSMode: <boolean>
1159
+ logVersions: <string>
1152
1160
1153
1161
.. setting:: net.tls.mode
1154
1162
@@ -1591,6 +1599,23 @@ Core Options
1591
1599
1592
1600
.. include:: /includes/note-fips-is-enterprise-only.rst
1593
1601
1602
+ .. setting:: net.tls.logVersions
1603
+
1604
+ *Type*: string
1605
+
1606
+ Instructs :binary:`~bin.mongos` or :binary:`~bin.mongod` to log a
1607
+ message when a client connects using a specified TLS version.
1608
+
1609
+ Specify either a single TLS version or a comma-separated list of
1610
+ multiple TLS versions.
1611
+
1612
+ .. example::
1613
+
1614
+ To instruct :binary:`~bin.mongos` or :binary:`~bin.mongod` to
1615
+ log a message when a client connects using either TLS 1.2 or
1616
+ TLS 1.3, set :setting:`net.tls.logVersions` to
1617
+ ``"TLS1_2,TLS1_3"``.
1618
+
1594
1619
1595
1620
.. _net-ssl-conf-options:
1596
1621
0 commit comments