From b44a35edbdf5afa8e9d811198a4ef85843732d78 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 20 Sep 2010 15:34:04 -0700 Subject: [PATCH] Add shorewall-ipsets manpage Signed-off-by: Tom Eastep --- manpages/shorewall-ipsets.xml | 121 ++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 manpages/shorewall-ipsets.xml diff --git a/manpages/shorewall-ipsets.xml b/manpages/shorewall-ipsets.xml new file mode 100644 index 000000000..e35a2cb59 --- /dev/null +++ b/manpages/shorewall-ipsets.xml @@ -0,0 +1,121 @@ + + + + + shorewall-ipsets + + 5 + + + + ipsets + + Specifying the name if an ipset in Shorewall configuration + files + + + + + +ipsetname + + + + +ipsetname[flag,...] + + + + +[ipsetname,...] + + + + + Description + + Note: In the above syntax descriptions, the square brackets ("[]") + are to be taken literally rather than as meta-characters. + + In most places where a network address may be entered, an ipset may + be substituted. Set names must be prefixed by the character "+", must + start with a letter and may be composed of alphanumeric characters, "-" + and "_". + + Whether the set is matched against the packet source or destination + is determined by which column the set name appears (SOURCE or DEST). For + those set types that specify a tupple, two alternative syntaxes are + available: + + + [number] - Indicates that 'src' or + 'dst' should repleated number times. Example: myset[2]. + + [flag,...] where + flag is or + . Example: myset[src,dst]. + + + In a SOURCE column, the following pairs are equivalent: + + + + +myset[2] and +myset[src,src] + + + + In a DEST column, the following paris are equivalent: + + + + +myset[2] and +myset[dst,dst] + + + + Beginning with Shorewall 4.4.14, multiple source or destination + matches may be specified by enclosing the set names within +[...]. The set + names need not be prefixed with '+'. + + + + Examples + + +myset + + +myset[src] + + +myset[2] + + +[myset1,myset2[dst]] + + + + FILES + + /etc/shorewall/accounting + + /etc/shorewall/blacklist + + /etc/shorewall/hosts + + /etc/shorewall/masq + + /etc/shorewall/rules + + /etc/shorewall/secmarks + + /etc/shorewall/tcrules + + + + See ALSO + + shorewall(8), shorewall-accounting(5), shorewall-actions(5), + shorewall-blacklist(5), shorewall-hosts(5), shorewall-interfaces(5), + shorewall-maclist(5), shorewall-masq(5), shorewall-nat(5), + shorewall-netmap(5), shorewall-params(5), shorewall-policy(5), + shorewall-providers(5), shorewall-proxyarp(5), shorewall-route_rules(5), + shorewall-routestopped(5), shorewall-rules(5), shorewall.conf(5), + shorewall-secmarks(5), shorewall-tcclasses(5), shorewall-tcdevices(5), + shorewall-tcrules(5), shorewall-tos(5), shorewall-tunnels(5), + shorewall-zones(5) + +