Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: [Re: lug-bg: TOS v ipchains]


  • Subject: Re: [Re: lug-bg: TOS v ipchains]
  • From: teodor@xxxxxxxxxx (Teodor Georgiev)
  • Date: Tue, 17 Apr 2001 10:28:44 +0200



sheib@xxxxxxx wrote:

> 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

tova go znam az :)))       Ama problema mi beshe drug. Nqkoi subekti izpolzwat
TOS i precendence poletata, za da delqt trafik (peering i mezhdunaroden
naprimer). I ako poglednesh v route map'a na cisco IOS-a shte vidish che
kato TOS mozhe da se zadade chislo ot 0 do 15... A standarten TOS ne e
nai-udachno da si slagash, shtoto naprimer ako nqkoi drug pyk si markira
peering paketite sys syshtiq TOS, seti se kvo she stane kato ti vlezat v mrezhata
:)))

ipchains -A output -i eth0 -p tcp -d 0/0 -t 0x01 0x10

taka mai e po-malko pisaneto :)))

A i malko me symnqva tvoqta komanda po-gore da proraboti ;-)

zaradi 0x12 :)

>
>
> 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


--

 "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




 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.