From: Sebastien Buisson Date: Mon, 28 Jan 2019 16:46:49 +0000 (+0100) Subject: LUDOC-431 lnet: doc for asymmetrical route checking X-Git-Tag: 2.13.0~23 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=7e4cb54664c3643272e9233864297bdad823e621;p=doc%2Fmanual.git LUDOC-431 lnet: doc for asymmetrical route checking This patch adds documentation for the asymmetrical route checking feature, as implemented by LU-11894. This doc is added under the Configuring LNet via lnetctl section of the Configuring Lustre Networking chapter. Signed-off-by: Sebastien Buisson Change-Id: Ia3214528b2bd3ae3e62dc40c06ce1b3ed565e2f3 Reviewed-on: https://review.whamcloud.com/34120 Reviewed-by: Amir Shehata Tested-by: Jenkins Reviewed-by: Olaf Weber Reviewed-by: Joseph Gmitter --- diff --git a/ConfiguringLNet.xml b/ConfiguringLNet.xml index 80b1b81..2c450df 100755 --- a/ConfiguringLNet.xml +++ b/ConfiguringLNet.xml @@ -117,7 +117,8 @@ global: numa_range: 0 max_intf: 200 - discovery: 1 + discovery: 1 + drop_asym_route: 0
<indexterm><primary>LNet</primary> @@ -508,6 +509,37 @@ set large_buffers: set large routing buffers > lnetctl set small_buffers 0 > lnetctl set large_buffers 0</screen> </section> + <section condition='l2D' xml:id="lnet_config.asym_route"> + <title><indexterm> + <primary>LNet</primary> + <secondary>cli</secondary> + <tertiary>asymmetrical route</tertiary> + </indexterm>Asymmetrical Routes +
+ Overview + An asymmetrical route is when a message from a remote peer is + coming through a router that is not known by this node + to reach the remote peer. + Asymmetrical routes can be an issue when debugging network, and + allowing them also opens the door to attacks where hostile clients + inject data to the servers. + So it is possible to activate a check in LNet, that will detect + any asymmetrical route message and drop it. +
+
+ Configuration + In order to switch asymmetric route detection on or off, the + following command is used: + lnetctl set drop_asym_route [0 | 1] + This command works on a per-node basis. This means each node in a + Lustre cluster can decide whether it accepts asymmetrical route + messages. + To check the current drop_asym_route setting, the + lnetctl global show command can be used as shown in + . + By default, asymmetric route detection is off. +
+
<indexterm> <primary>LNet</primary>