Hi Simon, hi all

> slow - with a default setup my ftp server went from 40-43 K/s to
> 8-12 K/s.

How are you connecting to your FTP server? Is this server located on your
LAN, your DMZ or on the internet?
You wrote that you "portforward to an internal box". Is this internal box
the FTP server? If yes, where is your client then?
Looks your setup like this:
My client --> internet --> Leaf box which is running my script --> FTP
server
?

Are you always talking about KBits/s if you write "K/s"?

If yes, I assume that you're using a dial-up connection!?
Well, I'm not sure if my script runs well with PPP (dial-up) connections
becaus of the different MTU values.

Please tell me more about your setup and what exactly goes wrong, and in
which direction (up- or download)?

I'm sure we can fix your problems.

BTW: I didn't notice ANY problems yet and I'm even running a DMZ.

---
Sandro Minola           | LEAF Developer (http://leaf.sourceforge.net)
mailto:[EMAIL PROTECTED] | mailto:[EMAIL PROTECTED]
http://www.minola.ch    | http://leaf.sourceforge.net/devel/sminola

> -----Original Message-----
> From: Simon Bolduc [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 26, 2002 3:56 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Leaf-user] Traffic Shaping using TC
>
>
> I installed the script - and certain parts work - but somethings
> got really
> slow - with a default setup my ftp server went from 40-43 K/s to
> 8-12 K/s.
> While that doesn't really concern me it is a little frustrating.  I also
> tried (to no avail) to add rules that would govern traffic that uses both
> UDP and TCP port 412 (thats the port I'm sending from internally and
> receiving to internally)  which are both port forwarded to an
> internal box.
> This box also runs other 'net services so I can't just throw the
> IP into the
> filter and make it work that way.  The rules I added were (just as I test
> setup - I know it'd be abismally slow - but they should indicate
> that I have
> set things up correctly) are:
>
> tc class add dev $EXTERN_IF parent 1:1 classid 1:30 cbq rate 40kbit   /
> allot 1600 prio 3 avpkt 1000 bounded
>
> tc qdisc add dev $EXTERN_IF parent 1:30 handle 30: sfq perturb 10
>
> tc filter add dev $EXTERN_IF parent 1:0 protocol ip prio 25 u32 match /
> ip dport 0x019c 0xffff flowid 1:30
>
> and I moved the bulk class/filter to 1:40
>
> I'm afraid I may have done this on the wrong interface - and I'm not sure
> whether this rule actually has to come before the high priority
> class or not
> as I think the first filter/class that applies to a packet is used.  Also
> I'm unsure of how to specify a group of ports like the passive
> ones used for
> ftp would be setup.  Through your script I've learned a lot more about
> Traffic shaping but obviously not enough.
>
> S
>
>
>


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to