Skip to content

Commit 7e427e3

Browse files
committed
Refs #23653 Documentation debt: TCP socket configuration and extensions CA configuration example
1 parent 76a3e66 commit 7e427e3

File tree

3 files changed

+34
-1
lines changed

3 files changed

+34
-1
lines changed

docs/fastdds/security/auth_plugin/auth_plugin.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ However, all other commands are only compatible with Linux OS.
179179
#default_keyfile = privkey.pem
180180
distinguished_name= req_distinguished_name
181181
#attributes = req_attributes
182-
#x509_extensions = v3_ca # The extentions to add to the self signed cert
182+
x509_extensions = root_ca_extensions # The extensions to add to the self signed cert
183183
string_mask = utf8only
184184
185185
[ req_distinguished_name ]
@@ -190,6 +190,12 @@ However, all other commands are only compatible with Linux OS.
190190
commonName = eProsima Main Test CA
191191
emailAddress = mainca@eprosima.com
192192
193+
[root_ca_extensions]
194+
basicConstraints = critical, CA:true
195+
196+
.. note::
197+
For a self-signed **root CA**, the X.509 extension ``basicConstraints = CA:true`` is **required**. Without it, stacks might not recognize the certificate as a CA.
198+
193199
After writing the configuration file, next commands generate the certificate using the
194200
Elliptic Curve Digital Signature Algorithm (ECDSA).
195201

docs/fastdds/use_cases/large_data/large_data.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,25 @@ For receiving sockets, the command is:
124124
125125
$> sudo sysctl -w net.core.rmem_max=12582912
126126
127+
Linux also defines per-socket TCP buffer sizes as triplets:
128+
129+
net.ipv4.tcp_wmem = <min> <default> <max> (TCP send buffer)
130+
net.ipv4.tcp_rmem = <min> <default> <max> (TCP receive buffer)
131+
132+
The middle value is the default used for most connections. If only the global maxima are raised, sockets may still
133+
use a small default and saturate during bursts.
134+
Set the current values for sending sockets with:
135+
136+
.. code-block:: bash
137+
138+
$> sudo sysctl -w net.ipv4.tcp_wmem="4096 12582912 12582912"
139+
140+
For receiving sockets, the command is:
141+
142+
.. code-block:: bash
143+
144+
$> sudo sysctl -w net.ipv4.tcp_rmem="4096 12582912 12582912"
145+
127146
Windows
128147
.......
129148

docs/spelling_wordlist.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ backport
3131
backported
3232
backports
3333
benchmarking
34+
basicConstraints
3435
bitfield
3536
Bitfields
3637
bitflags
@@ -169,6 +170,7 @@ interprocess
169170
intra
170171
Intra
171172
invokations
173+
ipv
172174
IPv
173175
json
174176
kB
@@ -266,6 +268,7 @@ representable
266268
requesters
267269
RETCODE_OK
268270
retransmission
271+
rmem
269272
rnd
270273
roadmap
271274
rosbag
@@ -301,10 +304,14 @@ submodules
301304
subnet
302305
suboptimal
303306
superset
307+
sysctl
304308
takeNextData
305309
targetting
310+
tcp
306311
TCP
307312
tcpdump
313+
tcp_rmem
314+
tcp_wmem
308315
thirdparty
309316
timeout
310317
tinyxml
@@ -343,6 +350,7 @@ whitelist
343350
whitelists
344351
WiFi
345352
Wireshark
353+
wmem
346354
worskspace
347355
WString
348356
Xcode

0 commit comments

Comments
 (0)