All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank v Waveren <fvw.lartc@var.cx>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] I want to shaping FTP traffic.
Date: Wed, 23 Apr 2003 03:45:42 +0000	[thread overview]
Message-ID: <marc-lartc-105106960425617@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105106415422443@msgid-missing>

On Wed, Apr 23, 2003 at 11:14:40AM +0900, openings wrote:
> "Ftp uses random ports, so matching the data traffic is not easy. However it can done if you use iptables to mark ftp-data packets and use that mark with the fw filter. For more info see http://home.regit.org/connmark.html. "
> General information about the conntrack module can be found here.
The trick would be to mark all packets coming from the ftp daemon
using iptables with --uid-owner, --pid-owner or --cmd-owner and '-j
MARK --mark n', and then use tc filter to get the packets into the
right class.

-- 
Frank v Waveren                                      Fingerprint: 21A7 C7F3
fvw@[var.cx|stack.nl|chello.nl] ICQ#10074100            1FF3 47FF 545C CB53
Public key: hkp://wwwkeys.pgp.net/fvw@var.cx            7BD9 09C0 3AC1 6DF2
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2003-04-23  3:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-23  2:14 [LARTC] I want to shaping FTP traffic openings
2003-04-23  3:45 ` Frank v Waveren [this message]
2003-04-23 18:23 ` 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-105106960425617@msgid-missing \
    --to=fvw.lartc@var.cx \
    --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.