All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] About HTB , bandwidth limiting for ftp port...
Date: Fri, 14 Mar 2003 02:37:33 +0000	[thread overview]
Message-ID: <marc-lartc-104760952809225@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104759525429091@msgid-missing>

Hi there Dhirendra,

 : Okay now I put on a rule for FTP port 21 for 100Kbps. Now when I am
 : retriving data from ftp server I think the port is different when doing
 : passive ftp transfer. If I am not wrong then a new dynamic port is sent
 : by the ftp server to the client.. and then client initiates a new
 : connection on that port and then the real ftp data transfer happens.

Yes.  I think FTP should be summarily executed.  It has been plaguing us
since the beginnings of firewalls and NAT.  Sadly, another spiritually
impoverished but well-known operating system has two basic options for
file transfer:  HTTP ("the Internet", of course!), and FTP (for experts!).
Of course, on the other side of the divide, people (ab)use ssh for all
sorts of nefarious purposes.......  (anybody remember a recent article in
some print periodical detailing NFS over ssh?)

There has been discussion on the question of FTP (port/passive) and
shaping on this list in the past.  Here are some links.

See the following threads:

  http://mailman.ds9a.nl/pipermail/lartc/2001q3/001473.html
  http://mailman.ds9a.nl/pipermail/lartc/2002q1/002388.html
  http://mailman.ds9a.nl/pipermail/lartc/2003q1/007498.html

See also Eric Leblond's description of usage:

  http://home.regit.org/connmark.html

 : My Question is : Now when limiting the bandwidht will htb limit that
 : data transfer(i.e. the real file transfer) also under 100Kbps or will
 : that data transfer be not at all affected by the rule..?

That depends entirely on how you use the tools above.  Take a look at Eric
Lelond's description, and let us know if you are successful.

 : Just a novice question.. but please guide me...

This question is in exactly the right forum, and I'm quite sure I wouldn't
call it a novice question....though it might well belong in that rumoured
FAQ.

Good luck,

-Martin

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com

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

  reply	other threads:[~2003-03-14  2:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-13 22:55 [LARTC] About HTB , bandwidth limiting for ftp port Dhirendra Pal Singh
2003-03-14  2:37 ` Martin A. Brown [this message]
2003-03-14  3:00 ` Jack Bowling
2003-03-14  4:19 ` Dhirendra Pal Singh
2003-03-14 21:52 ` Stef Coene
2003-03-15  0:16 ` Dhirendra Pal Singh
2003-03-15 10:41 ` Stef Coene

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-104760952809225@msgid-missing \
    --to=mabrown-lartc@securepipe.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.