IPTables U32 Match Tutorial - stearns.org
www.stearns.org › doc › archivesiptables -m u32 --u32 "3&0x20>>5=1" If I take the other approach of leaving the bit where it is, I need to be careful about the compare value on the right. If that bit is turned on, the compare value needs to be 0x20 as well. iptables -m u32 --u32 "3&0x20=0x20" Both approaches return true if the More Fragments flag is turned on. Combining tests
IPTables U32 Match Tutorial - Stearns
www.stearns.org › doc › iptables-u32IPTables U32 Match Tutorial Introduction IPTables has always been a relatively flexible and modular firewall; if it can't currently test for a particular packet characteristic, you have the option of writing a test or modifying an existing test. The catch - as with so much of open source - is that most of us aren't programmers.
IPTables U32 Match Tutorial - Stearns
www.stearns.org/doc/iptables-u32.current.htmlIPTables U32 Match Tutorial Introduction IPTables has always been a relatively flexible and modular firewall; if it can't currently test for a particular packet characteristic, you have the option of writing a test or modifying an existing test. The catch - as with so much of open source - is that most of us aren't programmers.