All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@lists.netfilter.org
Subject: Re: common FTP+NAT problem
Date: Mon, 31 Jul 2006 20:19:24 +0200	[thread overview]
Message-ID: <44CE49AC.6000505@plouf.fr.eu.org> (raw)
In-Reply-To: <44CE4784.3090909@ort.edu.uy>

Ernesto Silva a écrit :
> I wrote the "RELATED" specification because I thought port 20 and the 
> rest of the connections (in passive and active mode) may be handled by 
> ip_conntrack_ftp and ip_nat_ftp in an "automagically" way.

This is what happens, at least partly :
- ip_conntrack_ftp, by monitoring the FTP control connections, 
identifies the first packet of an FTP data connection as RELATED ;
- ip_nat_ftp, with the help of ip_conntrack_ftp, does the necessary NAT 
on FTP data connections.

But you still have the job of writing rules to decide their fate, 
whether they must be accepted or dropped.

> Anyway, I used your suggestion (which I already knew)

Ok, sorry for doubting.


      reply	other threads:[~2006-07-31 18:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-31 16:35 common FTP+NAT problem Ernesto Silva
2006-07-31 16:52 ` former03 | Baltasar Cevc
     [not found]   ` <44CE397B.9030404@ort.edu.uy>
2006-07-31 17:23     ` former03 | Baltasar Cevc
2006-07-31 17:39   ` Ernesto Silva
2006-07-31 17:44 ` Pascal Hambourg
2006-07-31 18:03   ` Pascal Hambourg
2006-07-31 18:10   ` Ernesto Silva
2006-07-31 18:19     ` Pascal Hambourg [this message]

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=44CE49AC.6000505@plouf.fr.eu.org \
    --to=pascal.mail@plouf.fr.eu.org \
    --cc=netfilter@lists.netfilter.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.