lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 07 Mar 2007 13:37:44 +0100
From:	Tore Anderson <tore@...pro.no>
To:	"David S. Miller" <davem@...emloft.net>
Cc:	netdev@...r.kernel.org, Jarek Poplawski <jarkao2@...pl>
Subject: [PATCH] Improve cached ECMP documentation

Document that equal-cost multipath routing with caching does not work
for forwarded packets.

Signed-Off-By: Tore Anderson <tore@...pro.no>
---

* Jarek Poplawski

> It is probably one of the most often asked questions
> on the LARTC, so I'd suggest to look at its archives.
>
> [...]
> 
> Multipath with caching doesn't work with forwarding.

  Well, I did look at LARTC's archives (and again after reading your
 mail), still couldn't find anything.  Sorry for bothering you, though.
 When I disabled the support it worked just fine (no need for iptables
 CONNMARK trickery or any of Julian's patches), so thanks for your help!

  Anyway, it strikes me as a bit odd that this feature is found under
 CONFIG_IP_ADVANCED_ROUTER when it doesn't work for routers.  That
 could at least be better documented - here's a patch to do just that.

--- a/net/ipv4/Kconfig
+++ b/net/ipv4/Kconfig
@@ -124,6 +124,10 @@ config IP_ROUTE_MULTIPATH_CACHED
 	  routing cache. If you say Y here, alternative routes are cached
 	  and on cache lookup a route is chosen in a configurable fashion.
 
+	  Be warned that this feature does not work for forwarded packets,
+	  and that enabling it will break equal cost multipath routing for
+	  forwarded traffic.
+
 	  If unsure, say N.
 
 config IP_ROUTE_MULTIPATH_RR

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ