|
lug-bg: marking packets and tc rules
- Subject: lug-bg: marking packets and tc rules
- From: lugbg@email.domain.hidden (Konstantin Ivanov)
- Date: Fri, 14 Mar 2003 10:33:13 +0200 (EET)
Markiram izhodiashtite paketi kym dadeno IP po slednia nachin:
iptables -A PREROUTING -i eth2 -t mangle -s xxx.xxx.xxx.xxx -d xxx.xxx.xxx.xxx/xx -j MARK --set-mark 1
Set mark markira TOS poleto, ako gresha me popravete.
Interesuva me kak s tc pravila da opravliavam (v sluchea da shape-na) vsichki paketi koito sa markirani s mark 1. Mislia che filtyra e tozi, popravete me ako gresha:
tc filter add dev ppp0 parent 1:0 prio 10 u32 \
match ip tos 0x10 0xff \
flowid 1:4
<p>Izobshto vsikakvi idei sa dobre doshli.
Blagodaria.
-----------------------------------------------------------------
http://www.AMSTEL.bg - Áúëãàðñêè îòáîð íà ôèíàëà íà Øàìïèîíñêàòà ëèãà!
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|