ipsets - Specifying the name if an ipset in Shorewall6 configuration files
+ipsetname +ipsetname[flag,...] +[ipsetname,...]
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 tuple, two alternative syntaxes are available: [number] - Indicates that 'src' or 'dst' should repeated number times. Example: myset[2]. [flag,...] where flag is src or dst. Example: myset[src,dst]. In a SOURCE or SPORT column, the following pairs are equivalent: * +myset[2] and +myset[src,src] In a DEST or DPORT column, the following pairs 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 shorewall6-exclusion[1] (5). Beginning with Shorewall 4.5.16, you can increment one or more nfacct objects each time a packet matches an ipset. You do that by listing the objects separated by commas within parentheses. Example: +myset[src](myobject) In that example, when the source address of a packet matches the myset ipset, the myobject nfacct counter will be incremented. Beginning with Shorewall 4.6.0, an ipset name (and src/dst list, if any) can be immediately be followed by a list of match options. Important These additional match options are not available in shorewall6-tcfilters(5)[2]. Available options are: nomatch If the set type supports the nomatch flag, then the matching is reversed: a match with an element flagged with nomatch returns true, while a match with a plain element returns false. This option requires the 'Ipset Match nomatch' capability in your kernel and ip[6]tables. no-update-counters The packet and byte counters of the matching element in the set won't be updated. By default, the packet and byte counters are updated. This option and those that follow require the 'Ipset Match counters' capability in your kernel and ip[6]tables. no-update-subcounters The packet and byte counters of the matching element in the member set of a list type of set won't be updated. Default the packet and byte counters are updated. packets=value If the packet is matched an element in the set, match only if the packet counter of the element matches the given value also. packets<value If the packet is matched an element in the set, match only if the packet counter of the element is less than the given value as well. packets>value If the packet is matched an element in the set, match only if the packet counter of the element is greater than the given value as well. packets!=value If the packet is matched an element in the set, match only if the packet counter of the element does not match the given value also. bytes=value If the packet is matched an element in the set, match only if the byte counter of the element matches the given value also. bytes<value If the packet is matched an element in the set, match only if the byte counter of the element is less than the given value as well. bytes>value If the packet is matched an element in the set, match only if the byte counter of the element is greater than the given value as well. bytes<>value If the packet is matched an element in the set, match only if the byte counter of the element does not match the given value also.
+myset +myset[src] +myset[2] +[myset1,myset2[dst]] +myset[src,nomatch,packets>100] +myset[nomatch,no-update-counters](myObject)
/etc/shorewall6/accounting /etc/shorewall6/blrules /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/mangle
shorewall6(8), shorewall6-actions(5), shorewall6-blacklist(5), shorewall6-hosts(5), shorewall6-interfaces(5), shorewall6-maclist(5), shorewall6-netmap(5),shorewall6-params(5), shorewall6-policy(5), shorewall6-providers(5), shorewall6-rtrules(5), shorewall6-routestopped(5), shorewall6-rules(5), shorewall6.conf(5), shorewall6-secmarks(5), shorewall6-tcclasses(5), shorewall6-tcdevices(5), shorewall6-mangle(5), shorewall6-tos(5), shorewall6-tunnels(5), shorewall6-zones(5)
1. shorewall6-exclusion http://www.shorewall.net/manpages6/shorewall6-exclusion.html 2. shorewall6-tcfilters(5) http://www.shorewall.netshorewall6-tcfilters.html
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.