laurenceman / rpms / iptables

Forked from rpms/iptables 5 years ago
Clone

Blame SOURCES/0054-extensions-libipt_realm-Document-allowed-realm-value.patch

029dc7
From 8b69d66b21f3699ee64c572bfba5df033ce768e0 Mon Sep 17 00:00:00 2001
029dc7
From: Phil Sutter <phil@nwl.cc>
029dc7
Date: Mon, 3 Dec 2018 14:52:28 +0100
029dc7
Subject: [PATCH] extensions: libipt_realm: Document allowed realm values
029dc7
029dc7
Older versions of iptables allowed for negative realm values by accident
029dc7
(they would be cast to unsigned). While this was clearly a bug, document
029dc7
the fixed behaviour.
029dc7
029dc7
Signed-off-by: Phil Sutter <phil@nwl.cc>
029dc7
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
029dc7
(cherry picked from commit 290d76b443bf24999d9caacb3fdd027d6e7112a1)
029dc7
Signed-off-by: Phil Sutter <psutter@redhat.com>
029dc7
---
029dc7
 extensions/libipt_realm.man | 2 ++
029dc7
 1 file changed, 2 insertions(+)
029dc7
029dc7
diff --git a/extensions/libipt_realm.man b/extensions/libipt_realm.man
029dc7
index a40b1adc72ba2..72dff9b2e4212 100644
029dc7
--- a/extensions/libipt_realm.man
029dc7
+++ b/extensions/libipt_realm.man
029dc7
@@ -5,3 +5,5 @@ setups involving dynamic routing protocols like BGP.
029dc7
 Matches a given realm number (and optionally mask). If not a number, value
029dc7
 can be a named realm from /etc/iproute2/rt_realms (mask can not be used in
029dc7
 that case).
029dc7
+Both value and mask are four byte unsigned integers and may be specified in
029dc7
+decimal, hex (by prefixing with "0x") or octal (if a leading zero is given).
029dc7
-- 
029dc7
2.21.0
029dc7