From 18e3dd40e6e01b7ba935e97f1847d8ffd470342d Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 26 Jul 2011 13:15:10 -0700 Subject: [PATCH] Add an IPv6 ipset manpage and clarify +[...] Signed-off-by: Tom Eastep --- manpages/shorewall-ipsets.xml | 6 +- manpages6/shorewall6-ipsets.xml | 125 ++++++++++++++++++++++++++++++++ 2 files changed, 129 insertions(+), 2 deletions(-) create mode 100644 manpages6/shorewall6-ipsets.xml diff --git a/manpages/shorewall-ipsets.xml b/manpages/shorewall-ipsets.xml index 35b5a83f2..70644b691 100644 --- a/manpages/shorewall-ipsets.xml +++ b/manpages/shorewall-ipsets.xml @@ -72,8 +72,10 @@ 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 '+'. For information about set lists and - exclusion, see + + For information about set lists and exclusion, see shorewall-exclusion (5). diff --git a/manpages6/shorewall6-ipsets.xml b/manpages6/shorewall6-ipsets.xml new file mode 100644 index 000000000..417cb604b --- /dev/null +++ b/manpages6/shorewall6-ipsets.xml @@ -0,0 +1,125 @@ + + + + + shorewall-ipsets + + 5 + + + + ipsets + + Specifying the name if an ipset in Shorewall6 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 '+'. When such a list of sets is + specified, matching packets must match all of the listed sets. + + For information about set lists and exclusion, see shorewall-exclusion (5). + + + + Examples + + +myset + + +myset[src] + + +myset[2] + + +[myset1,myset2[dst]] + + + + FILES + + /etc/shorewall6/accounting + + /etc/shorewall6/blacklist + + /etc/shorewall6/hosts -- Note: + Multiple matches enclosed in +[...] may not be used in this file. + + /etc/shorewall6/maclist -- Note: + Multiple matches enclosed in +[...] may not be used in this file. + + /etc/shorewall6/rules + + /etc/shorewall6/secmarks + + /etc/shorewall6/tcrules + + + + See ALSO + + shorewall6(8), shorewall6-actions(5), shorewall6-blacklist(5), + shorewall6-hosts(5), shorewall6-interfaces(5), shorewall6-maclist(5), + shorewall6-params(5), shorewall6-policy(5), shorewall6-providers(5), + shorewall6-route_rules(5), shorewall6-routestopped(5), + shorewall6-rules(5), shorewall6.conf(5), shorewall6-secmarks(5), + shorewall6-tcclasses(5), shorewall6-tcdevices(5), shorewall6-tcrules(5), + shorewall6-tos(5), shorewall6-tunnels(5), shorewall6-zones(5) + +