Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 2004 13:17:10 -0700
From:      Drew Tomlinson <drew@mykitchentable.net>
To:        synrat <synrat@wirewalk.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dummynet
Message-ID:  <4172D346.4070601@mykitchentable.net>
In-Reply-To: <416B29BC.6080108@wirewalk.org>
References:  <416B29BC.6080108@wirewalk.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 10/11/2004 5:47 PM synrat wrote:

> Can someone tell me about a good way to troubleshoot pipes/queues or 
> point me in the rigtt direction. I'm trying to restrict outgoing ftp 
> traffic and create some pipes for VOIP. dummynet and pipe rules load 
> fine ( and are in the kernel ) but seem to have no effect. I did read 
> the manual pages 20 times over. I tried adding pipes before doing 
> "config bw" on them, but that didn't make any difference.
> thanx a lot in advance.

I have tried using DUMMYNET also and don't see any effect.  If you find 
an answer, please let me know.  It's my goal to give highest priority to 
ssh connection, next highest priority to the traffic originating on 
machine "bigdaddy" port 8080, and then all remaining traffic gets passed 
when there's nothing else going on.  I have DSL with a 128K uplink.  
Here is my rule set in case someone can find my error:

#       Flush before we define
        $fwcmd -f queue flush
        $fwcmd -f pipe flush

        $fwcmd pipe 1 config queue 128Kbyte
        $fwcmd queue 1 config pipe 1 weight 85 queue 8Kbyte
        $fwcmd queue 2 config pipe 1 weight 1 queue 112Kbyte
        $fwcmd queue 3 config pipe 1 weight 100 queue 8Kbyte

        $fwcmd add queue 1 ip from bigdaddy 8080 to any out via $oif
        $fwcmd add queue 3 ip from any 22 to any out via $oif
        $fwcmd add queue 2 ip from not bigdaddy not 8080 to any out via $oif
        $fwcmd add queue 2 ip from bigdaddy not 8080 to any out via $oif

And I have these options compiled into my kernel:

options IPFIREWALL
options DUMMYNET
options HZ=1000

Thanks,

Drew

-- 
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!

http://www.alchemistswarehouse.com


[-- Attachment #2 --]
0	*H
010	+0	*H
0W0
.0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
040918145001Z
050918145001Z0I10UThawte Freemail Member1&0$	*H
	drew@mykitchentable.net00
	*H
0%>ԤAKijBWՏݱ(3ٔ-ʾ]#O0LI\q$בN&'LZ{v]lQS%!-d i3E.C.I}.U7[,|.Q4020"U0drew@mykitchentable.net0U00
	*H
S3N;W	uDBpT:R}9'	(
-P: 6EFNvjȯ!Y;AF|w^jܷi0~uVN
{300W0
.0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
040918145001Z
050918145001Z0I10UThawte Freemail Member1&0$	*H
	drew@mykitchentable.net00
	*H
0%>ԤAKijBWՏݱ(3ٔ-ʾ]#O0LI\q$בN&'LZ{v]lQS%!-d i3E.C.I}.U7[,|.Q4020"U0drew@mykitchentable.net0U00
	*H
S3N;W	uDBpT:R}9'	(
-P: 6EFNvjȯ!Y;AF|w^jܷi0~uVN
{300?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO100i0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
.0	+0	*H
	1	*H
0	*H
	1
041017201710Z0#	*H
	1^Tyeoh1WD00R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0x	+71k0i0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
.0z*H
	1ki0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
.0
	*H
Sǿz?GRē]7?M0RkP#5aqJ-uh]GmBA霦
1߲'XXx#r-2c罻0u̸IxvK

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4172D346.4070601>