Article View: pl.comp.os.bsd
Article #722Re: OpenBSD-3.4+pf
From: Markus Paluschek
Date: Mon, 19 Apr 2004 11:07
Date: Mon, 19 Apr 2004 11:07
32 lines
2247 bytes
2247 bytes
U�ytkownik "DM" <is...@belial.pl.eu.org> napisa� w wiadomo�ci
news:slrnc86toh.249.isaac@belial.pl.eu.org...
> In article <c5u3k2$dg2$1...@atlantis.news.tpi.pl>, Markus Paluschek wrote:
> >
> > Jesli nie w konfiguracji tkwi blad tylko w sprzecie? Mam karty sieciowe
> > realteka, na http://cvs.openbsd.org/faq/pf/pl/perf.html pisze ze karty
> > realteka sa slabej jakosci i moze dlatego nie dziala ?
> > Czekam na jakies sugestie
> >
> Wydaje mi sie ze problem tkwi w tym, ze ograniczasz ruch wychodzacy
> a najprawdopodobniej chcialbys to robic z ruchem przychodzacym.
>
> Pusc altq na interfejsie wewnetrznym.
>
> --
> DM
Zrobilem tak, ale wciaz nie ma zadnego limitu przy sciaganiu plikow.
altq on $int_if bandwidth 2Mb cbq queue { default }
queue default bandwidth 100% cbq(default) { ja, ozi, reszta }
queue ozi bandwidth 5% cbq(red)
queue ja bandwidth 90% cbq(red)
queue reszta bandwidth 10% cbq(red)
pass in on $int_if inet proto { tcp, udp } from any to 192.168.20.199 queue
ozi
pass in on $int_if inet proto { tcp, udp } from any to 192.168.20.185 queue
ja
pass in on $int_if inet proto { tcp, udp } from any to 192.168.20.0/26 queue
reszta
Technical Details
Message-ID:
<c60btf$9f0$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<c5ribl$an9$1@atlantis.news.tpi.pl> <c5s9vs$hvv$1@inews.gazeta.pl> <c5u3k2$dg2$1@atlantis.news.tpi.pl> <slrnc86toh.249.isaac@belial.pl.eu.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: "Markus Paluschek" <mama@tata.syn> Newsgroups: pl.comp.os.bsd Subject: Re: OpenBSD-3.4+pf Date: Mon, 19 Apr 2004 13:07:19 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 37 Message-ID: <c60btf$9f0$1@nemesis.news.tpi.pl> References: <c5ribl$an9$1@atlantis.news.tpi.pl> <c5s9vs$hvv$1@inews.gazeta.pl> <c5u3k2$dg2$1@atlantis.news.tpi.pl> <slrnc86toh.249.isaac@belial.pl.eu.org> NNTP-Posting-Host: ftp.tpnet.us X-Trace: nemesis.news.tpi.pl 1082372848 9696 80.48.66.12 (19 Apr 2004 11:07:28 GMT) X-Complaints-To: use...@tpi.pl NNTP-Posting-Date: Mon, 19 Apr 2004 11:07:28 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit