can use iptables to match 802.1Q P bits?
Hi,All
I'd like to use iptables to set TOS according to the 802.1Q P bits in ethernet header,but I got no idea.You know,we can use this to match mac:iptables -A FORWARD -m mac --mac-source 00:e0:4c:3b:b6:d5 -j DROP.So can iptables supply commands to match P bits in ethernet header?(If so,I can set:iptables -A FORWARD -p pbits --pbits 0x5 -j TOS --set-tos 0xb8.) Any suggestion is highly appreciated!
¡¡¡¡Best regards.
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡swcims
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡[email protected]
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2004-06-10
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿË™¨¥Šx%ŠË,SùšŠYšŸ÷lõ¯ç–m§ÿÿ™¨¥™©ÿvÏZþy™¨¥™©ÿ–+-ŠwèþV«µÁÎY3ÿ†Ûiÿÿåj»\þŠà