RE: [LARTC] shaping passive ftp traffic

2004-07-21 Thread Piszcz, Justin Michael
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


 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 (5-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/

___
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/


RE: [LARTC] Problem with multiple N/W cards

2004-07-15 Thread Piszcz, Justin Michael
Yup.

I had the same problem.

Soltuion: use nameif

You can call any interface anything you want.
Turning off auto negotiation and flow control may be an option when you
load the moadule (check docs)-- example: if it is a 3com 100mbps 905b -
you may be able to use ethtool to change it.




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of anupam chomal
Sent: Thursday, July 15, 2004 3:51 AM
To: [EMAIL PROTECTED]
Subject: [LARTC] Problem with multiple N/W cards

Hi,

I am trying to set up a linux box with 5 N/W cards of which one is
10/100/1000T and the others are 10/100T. I connected all the cards and
turned on the machine. I wanted to force eth0 to be the 1000T cards but
the cards get allotted eth0 to eth4 randomly. Is there some way wherein
I
can force my 1000T  card to be eth0.

Also I want to turn off auto negotation  flow control on the 1000T
card.
How can I do this.

Can someone please help.


___
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/