P Hennessy wrote:
Shorewall 4.0.8
3 Interface
I have setup Traffic Shaping TCCLASSES:
eth2       1     80kbit     150kbit       1       default
eth2       2     80kbit     1500kbit     2

TCDEVICES:
eth2           0                 100mbps
TCRULES:
1             eth2             0.0.0.0/0            tcp              80
2             eth2             0.0.0.0/0            tcp              21
The traffic shaping in restricting all eth2 traffic to 150kbit on port 80 and 21.
Why isn't port 21 downloading at 1500kbit.

a) You haven't told us whether eth2 is an external interface or an internal one.

b) Traffic shaping only deals with _outgoing_ traffic on eth2.

c) Port 21 is never used for FTP data transfer (see http://www.shorewall.net/FTP.html).

d) Generally, 'download' via HTTP has SOURCE port = 80; your rule has DEST port = 80.

e) The output of "shorewall show tc" is useful in understanding what is happening with the various classes.

-Tom
--
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to