@@ -789,6 +789,7 @@ Core Options
789
789
allowInvalidHostnames: <boolean>
790
790
disabledProtocols: <string>
791
791
FIPSMode: <boolean>
792
+ logVersions: <string>
792
793
compression:
793
794
compressors: <string>
794
795
serviceExecutor: <string>
@@ -831,12 +832,16 @@ Core Options
831
832
may attach :binary:`~bin.mongos` or :binary:`~bin.mongod` to any interface. To bind to multiple
832
833
addresses, enter a list of comma-separated values.
833
834
834
- .. example:: ``localhost,/tmp/mongod.sock``
835
+ .. example::
836
+
837
+ ``localhost,/tmp/mongod.sock``
835
838
836
839
You can specify both IPv4 and IPv6 addresses, or hostnames that
837
840
resolve to an IPv4 or IPv6 address.
838
841
839
- .. example:: ``localhost, 2001:0DB8:e132:ba26:0d5c:2774:e7f9:d513``
842
+ .. example::
843
+
844
+ ``localhost, 2001:0DB8:e132:ba26:0d5c:2774:e7f9:d513``
840
845
841
846
.. note::
842
847
@@ -851,7 +856,9 @@ Core Options
851
856
`zone index <https://en.wikipedia.org/w/index.php?title=IPv6_address&oldid=877601778#Scoped_literal_IPv6_addresses>`_
852
857
to that address (i.e. ``fe80::<address>%<adapter-name>``).
853
858
854
- .. example:: ``localhost,fe80::a00:27ff:fee0:1fcf%enp0s3``
859
+ .. example::
860
+
861
+ ``localhost,fe80::a00:27ff:fee0:1fcf%enp0s3``
855
862
856
863
.. include:: /includes/tip-hostnames.rst
857
864
@@ -1058,6 +1065,7 @@ Core Options
1058
1065
allowInvalidHostnames: <boolean>
1059
1066
disabledProtocols: <string>
1060
1067
FIPSMode: <boolean>
1068
+ logVersions: <string>
1061
1069
1062
1070
.. setting:: net.ssl.sslOnNormalPorts
1063
1071
@@ -1506,6 +1514,23 @@ Core Options
1506
1514
1507
1515
.. include:: /includes/note-fips-is-enterprise-only.rst
1508
1516
1517
+ .. setting:: net.tls.logVersions
1518
+
1519
+ *Type*: string
1520
+
1521
+ Instructs :binary:`~bin.mongos` or :binary:`~bin.mongod` to log a
1522
+ message when a client connects using a specified TLS version.
1523
+
1524
+ Specify either a single TLS version or a comma-separated list of
1525
+ multiple TLS versions.
1526
+
1527
+ .. example::
1528
+
1529
+ To instruct :binary:`~bin.mongos` or :binary:`~bin.mongod` to
1530
+ log a message when a client connects using either TLS 1.2 or
1531
+ TLS 1.3, set :setting:`net.tls.logVersions` to
1532
+ ``"TLS1_2,TLS1_3"``.
1533
+
1509
1534
1510
1535
1511
1536
``net.compression`` Option
0 commit comments