flower - flow based traffic control filter
tc filter ... flower [ MATCH_LIST ] [ action ACTION_SPEC ] [ classid CLASSID ] MATCH_LIST := [ MATCH_LIST ] MATCH MATCH := { indev ifname | { dst_mac | src_mac } mac_address | eth_type { ipv4 | ipv6 | ETH_TYPE } | ip_proto { tcp | udp | IP_PROTO } | { dst_ip | src_ip } { ipv4_address | ipv6_address } | { dst_port | src_port } port_number }
The flower filter matches flows to the set of keys specified and assigns an arbitrarily chosen class ID to packets belonging to them. Additionally (or alternatively) an action from the generic action framework may be called.
action ACTION_SPEC Apply an action from the generic actions framework on matching packets. classid CLASSID Specify a class to pass matching packets on to. CLASSID is in the form X:Y, while X and Y are interpreted as numbers in hexadecimal format. indev ifname Match on incoming interface name. Obviously this makes sense only for forwarded flows. ifname is the name of an interface which must exist at the time of tc invocation. dst_mac mac_address src_mac mac_address Match on source or destination MAC address. eth_type ETH_TYPE Match on layer three protocol. ETH_TYPE may be either ipv4,ipv6 or an unsigned 16bit value in hexadecimal format. ip_proto IP_PROTO Match on layer four protocol. IP_PROTO may be either tcp,udp or an unsigned 8bit value in hexadecimal format. dst_ip ADDRESS src_ip ADDRESS Match on source or destination IP address. ADDRESS must be a valid IPv4 or IPv6 address, depending on ether_type, which has to be specified in beforehand. dst_port NUMBER src_port NUMBER Match on layer 4 protocol source or destination port number. Only available for ip_proto values udp and tcp, which has to be specified in beforehand.
As stated above where applicable, matches of a certain layer implicitly depend on the matches of the next lower layer. Precisely, layer one and two matches ( indev,dst_mac,src_mac and eth_type) have no dependency, layer three matches ( ip_proto,dst_ip and src_ip) require eth_type being set to either ipv4 or ipv6, and finally layer four matches ( dst_port and src_port) depend on ip_proto being set to either tcp or udp. There can be only used one mask per one prio. If user needs to specify different mask, he has to use different prio.
tc(8), tc-flow(8)
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.