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: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to