Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: DLG <lartc@duen.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] newbie question - how to downgrade ftp-data traffic
Date: Fri, 18 Jan 2002 13:13:26 +0000	[thread overview]
Message-ID: <marc-lartc-101135982016739@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101134351014385@msgid-missing>

On Fri, Jan 18, 2002 at 12:39:58AM -0800, Troy Rockwood wrote:
>    I'm new to the list and to traffic shaping, however I understand the
> idea behind it I believe.  My home computer is connected via DSL.  I
> run an ftp server and I have a home network behind the machine so that
> it acts as the router/gateway for that network.
>    I get a lot of ftp traffic, sometimes so much that traffic from the
> home network is too slow to be useful.  What is the easiest way to give
> all other traffic priority over ftp-data traffic so that it doesn't eat
> up all my bandwidth and starve my wife's web browsing?  Here is what I
> have tried:
> 
> I have tried to use iptables to change the TOS bits such that traffic
> other than that to port 20 is given priority:
> 
> [some commands deleted] 
> This does not seem to move ftp-data packets into the lowest priority
> bin.  I'm not sure what syntax to use to move all BUT ftp-data packets
> to the high priority bin or how to move only ftp-data packets into the
> lower priority bin.
> 
> This is probably something stupid and easy but it's not clear to me
> right now.  Any help would be greatly appreciated.  What I'm looking
> for is the simplest way to give other traffic higher priority than the
> traffic to/from the ftp-data port (20).  Thanks in advance and thanks
> for your patience.
> 

Depending on the ftp mode clients use, data-port may not be the port 20.
In passive mode, the client choose himself the data port.
Maybe it is your case.

> ==> Troy Rockwood - troyrock@rocketmail.com
> 

--
Michael Strauss

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

  reply	other threads:[~2002-01-18 13:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-18  8:39 [LARTC] newbie question - how to downgrade ftp-data traffic Troy Rockwood
2002-01-18 13:13 ` DLG [this message]
2002-01-18 16:32 ` Troy Rockwood
2002-01-19 20:13 ` Martin Josefsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-101135982016739@msgid-missing \
    --to=lartc@duen.org \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox