|
Re: lug-bg: Re: TOS matching
- Subject: Re: lug-bg: Re: TOS matching
- From: g_yanev@xxxxxxxxxxx (George YaneV)
- Date: Tue, 8 Oct 2002 11:17:25 +0300
On Saturday 05 October 2002 13:58, you wrote:
> On 05 10 2002 10:54, g_yanev@xxxxxxxxxxx wrote:
> > Zdraweite ...
> >
> > ima li nqkakuw nachin da se machwat nestandartno TOS bitowe zashtoto
> > kogato probwam s :
> >
> > iptables -I INPUT -m tos --tos 40 -j LOG
>
> e maj nqma takava (40) TOS value.
> iptables -m tos -h
> Match Type of Service field from one of the
> following numeric or descriptive values:
> Minimize-Delay 16 (0x10)
> Maximize-Throughput 8 (0x08)
> Maximize-Reliability 4 (0x04)
> Minimize-Cost 2 (0x02)
> Normal-Service 0 (0x00)
>
> > mi gurmi
> >
> > iptables v1.2.6a: Bad TOS value `40'
>
> maj drugoto beshe da match-vash DSCP bitovete.
> --dscp value
> Match against a numeric (decimal or hex) value [0-32].
>
> Vsystnost hajde match-vaneto e OK, no setvaneto na slu4ajni TOS values ne e
> li opasno, e.g. vse ste se nameri router/switch koito da prati IP paketite
> s ramdom tos values v header-a kym /dev/null ?
chelta mi e da machna paketi koito otgowarqt na towa :
--------
Oct 7 09:48:46 lion kernel: IN=eth1 OUT=
MAC=00:02:44:2f:0e:c2:00:50:04:08:cf:6b:08:00 SRC=66.218.71.198
DST=10.10.10.1 LEN=84 TOS=0x10 PREC=0x20 TTL=230 ID=54747 PROTO=ICMP TYPE=0
CODE=0 ID=59953 SEQ=11008
--------
(tos=0x10 prec=0x20)
ideqta e da moga da si otdelqm bg traficka ot internationala za wutreshni
nuzdi a taka go markira dostawchika mi ...
tuku sto si pachnah kernela za DSCP podruzka no pri opita da machna za 0x30
nishto ne stana ... probwah i razni drugi kombinachii ... no ili neshto s
pachwaneto ne e kakto trqbwa ili TOS ne e edno kum edno rawen na DSCP bits...
nqkakwi predlozeniq
============================================================================
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
============================================================================
|
|
|