Re: [Re: lug-bg: TOS v ipchains]
- Subject: Re: [Re: lug-bg: TOS v ipchains]
- From: sheib@xxxxxxx (sheib@xxxxxxx)
- Date: 15 Apr 2001 02:42:36 EET DST
toka,
chrez TOS opciata na ipchains mojesh da slagash opredelen prioritet
na razlichnite vidove packeti. Mojesh da namaliavash ili uvelichavash
stoinostite s cel uskoriavane/zabaviane na connections. Tova moje bi
si go prochel veche. Eto primer:
ipchains -A output -p TCP -j ACCEPT -i eth0 -d \
0.0.0.0/0 ftp-data -t 0x01 0x12
/sh
Teodor Georgiev <teodor@xxxxxxxxxx> wrote:
Vasil Kolev wrote:
> On Sat, 14 Apr 2001, Teodor Georgiev wrote:
>
> >
> >
> > znachi, iskam da setna tochno opredelena stoinost (da rechem 12) na TOS
> > poleto v edin paket.
> > i to s ipchains, zamestvane s ip-route i iptables ne mi wyrshi rabota. V
> > dokumentaciqta
> > na ipchains pishe, che sled opciq -t se pishat dve HEX chisla, kato
> > pyrvoto se AND-va,
> > a vtoroto XOR-va s tekushtata stoinost na TOS. E da, ama kak da mu setna
> > tvyrda stoinost na TOS?
> >
> >
>
> TOS poleto mozhe da ima setnat samo 1 bit, taka che ako iskash da setnesh
> samo edin bit, s malko matematika se izmislq...
> naprimer tos-a ti iskash da e 0010 , andvash s 0010 i xor-vash sus
> 0010(ako obache si siguren che predi TOS-a ne e bil 0010) ... mislq che
> chovek mozhe sam da si izvede formulite za celta bez seriozen problem.
>
tam e problema, che iskam da setna poveche ot 1 bit. T.e. da zapisha stoinost
"15" v TOS poleto... koeto mi se struva himera...
>
> ===========================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
--
"Trust noone"
=========================
Teodor Georgiev
System Administrator
Netplus OOD - Sofia
phone: ++359-2-9633298
e-mail: teodor@xxxxxxxxxx
ICQ: 33741477
=========================
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|