Skip to contentSkip to conversation

shaping passive ftp traffic

LARTC nix4me 4 participants 5 messages Jul 21, 2004

lore
Share & tools
lore

nix4me

author
#0 lore raw

Hi,

I have tried unsuccesfully to limit my ftp server send speed in linux. I have an ipcop linux firewall/router with 2 nics. 1 nic (eth1) is connected to a 3mbit/384Kbit cable connection and the other (eth0) a switch. Behind it i have a suse linux box and a windows box.

On the suse box i run proftpd. I need to shape my passive ftp send speed to 34KBytes because if it is maxed out at 45K it slows down all surfing on the entire network.

I have tried running wondershaper-htb on the ipcop firewall and it limits my upload speed, but it still seems to slow down everything else
a little bit. I notice a slow www experience however my ping times are
good.

Is there a simple way to just put a limit on the traffic coming from the passive ports (50000-51000) from my proftpd computer? I just want to set a limit on ftp and not affect anything else.

I have looked at all the documentation and I must admit that I dont understand any of it. It all seems to be too complicated for my needs.

I hope someone out there is doing what I am trying to do.

Thanks,
Mark
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

I coud possibly help but I'm using tc + htb and dont know anything about wondershaper. If you want a script I could do it for you. ----- Original Message -----
From: "nix4me" <[email protected]>
To: <[email protected]>
Sent: Wednesday, July 21, 2004 2:42 AM
Subject: [LARTC] shaping passive ftp traffic

Quoted 23 lines

Hi,

I have tried unsuccesfully to limit my ftp server send speed in linux. I have an ipcop linux firewall/router with 2 nics. 1 nic (eth1) is connected to a 3mbit/384Kbit cable connection and the other (eth0) a switch. Behind it i have a suse linux box and a windows box.

On the suse box i run proftpd. I need to shape my passive ftp send speed to 34KBytes because if it is maxed out at 45K it slows down all surfing on the entire network.

I have tried running wondershaper-htb on the ipcop firewall and it limits my upload speed, but it still seems to slow down everything else
a little bit. I notice a slow www experience however my ping times are
good.

Is there a simple way to just put a limit on the traffic coming from the passive ports (50000-51000) from my proftpd computer? I just want to set a limit on ftp and not affect anything else.

I have looked at all the documentation and I must admit that I dont understand any of it. It all seems to be too complicated for my needs.

Quoted 7 lines

I hope someone out there is doing what I am trying to do.

Thanks,
Mark
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to nix4me

Have you tried limiting the maximum outgoing bandwidth in proftpd itself?

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Wednesday, July 21, 2004 10:25 AM
To: lartc; nix4me
Subject: Re: [LARTC] shaping passive ftp traffic

I coud possibly help but I'm using tc + htb and dont know anything about wondershaper. If you want a script I could do it for you. ----- Original Message -----
From: "nix4me" <[email protected]>
To: <[email protected]>
Sent: Wednesday, July 21, 2004 2:42 AM
Subject: [LARTC] shaping passive ftp traffic

Quoted 7 lines

Hi,

I have tried unsuccesfully to limit my ftp server send speed in linux. I have an ipcop linux firewall/router with 2 nics. 1 nic (eth1) is connected to a 3mbit/384Kbit cable connection and the other (eth0) a switch. Behind it i have a suse linux box and a windows box.

Quoted 6 lines

On the suse box i run proftpd. I need to shape my passive ftp send speed to 34KBytes because if it is maxed out at 45K it slows down all surfing on the entire network.

I have tried running wondershaper-htb on the ipcop firewall and it limits my upload speed, but it still seems to slow down everything

else

Quoted 1 line

a little bit. I notice a slow www experience however my ping times

are

Quoted 3 lines

good.

Is there a simple way to just put a limit on the traffic coming from

the

Quoted 5 lines

passive ports (50000-51000) from my proftpd computer? I just want to set a limit on ftp and not affect anything else.

I have looked at all the documentation and I must admit that I dont understand any of it. It all seems to be too complicated for my

needs.

Quoted 8 lines

I hope someone out there is doing what I am trying to do.

Thanks,
Mark
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to nix4me

Am Mittwoch, 21. Juli 2004 02:42 schrieb nix4me:

Quoted 10 lines

Hi,

I have tried unsuccesfully to limit my ftp server send speed in linux. I have an ipcop linux firewall/router with 2 nics. 1 nic (eth1) is connected to a 3mbit/384Kbit cable connection and the other (eth0) a switch. Behind it i have a suse linux box and a windows box.

On the suse box i run proftpd. I need to shape my passive ftp send speed to 34KBytes because if it is maxed out at 45K it slows down all surfing on the entire network.

you can use a ftp-proxy (for example jftpgw)
A feature of this proxy is limiting speed for ftp-connections.

the url:
http://www.mcknight.de/jftpgw

I'm using it as transparent-proxy only to limit the download-speed of my little powerdownloaders ;) and don't cache the downloaded files.

Quoted 10 lines

I have tried running wondershaper-htb on the ipcop firewall and it limits my upload speed, but it still seems to slow down everything else
a little bit. I notice a slow www experience however my ping times are
good.

Is there a simple way to just put a limit on the traffic coming from the passive ports (50000-51000) from my proftpd computer? I just want to set a limit on ftp and not affect anything else.

Quoted 7 lines

I have looked at all the documentation and I must admit that I dont understand any of it. It all seems to be too complicated for my needs.

I hope someone out there is doing what I am trying to do.

Thanks,
Mark

Toni

Quoted 3 lines

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#4 lore raw
In reply to nix4me

No i didnt but I've seen that is possible to get ftp into one class and rest traffic to the other class while using tc + htb.
My traffic shaping is done by ip.

Quoted 2 lines

Have you tried limiting the maximum outgoing bandwidth in proftpd itself?

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Wednesday, July 21, 2004 10:25 AM
To: lartc; nix4me
Subject: Re: [LARTC] shaping passive ftp traffic

I coud possibly help but I'm using tc + htb and dont know anything about wondershaper. If you want a script I could do it for you. ----- Original Message -----
From: "nix4me" <[email protected]>
To: <[email protected]>
Sent: Wednesday, July 21, 2004 2:42 AM
Subject: [LARTC] shaping passive ftp traffic

Quoted 7 lines

Hi,

I have tried unsuccesfully to limit my ftp server send speed in linux. I have an ipcop linux firewall/router with 2 nics. 1 nic (eth1) is connected to a 3mbit/384Kbit cable connection and the other (eth0) a switch. Behind it i have a suse linux box and a windows box.

Quoted 6 lines

On the suse box i run proftpd. I need to shape my passive ftp send speed to 34KBytes because if it is maxed out at 45K it slows down all surfing on the entire network.

I have tried running wondershaper-htb on the ipcop firewall and it limits my upload speed, but it still seems to slow down everything

else

Quoted 1 line

a little bit. I notice a slow www experience however my ping times

are

Quoted 3 lines

good.

Is there a simple way to just put a limit on the traffic coming from

the

Quoted 5 lines

passive ports (50000-51000) from my proftpd computer? I just want to set a limit on ftp and not affect anything else.

I have looked at all the documentation and I must admit that I dont understand any of it. It all seems to be too complicated for my

needs.

Quoted 8 lines

I hope someone out there is doing what I am trying to do.

Thanks,
Mark
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/