netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nadeem Douba <ndouba@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: FTP Packet Mangling & NAT
Date: Thu, 9 Jun 2011 15:06:45 -0400	[thread overview]
Message-ID: <BANLkTim6WA1AW=ARNXKEx1kyVDo6TjCp-Q@mail.gmail.com> (raw)
In-Reply-To: <81c0aab748c6ad27b289055e31777945@treenet.co.nz>

>  The proxy completely controls what the client gets given. It is
>  breaking transparency by not reverse-mapping the response properly.
>  Mention it to the authors and get it fixed.

The authors (Websense) are of a different opinion of how this issue is
fixed. They recommended that we enable active FTP (significant
security risk).


>  A transparent proxy is equivalent to a NAT module in all respects.
>  Merely operates on the FTP layer in this case.
>  Switch "module" for "proxy" and you have a good plan for fixing the
>  bug.

Not really, even proxying these requests would result in the same
issue as the child proxy would relay the parent proxy's response.

>  NOTE: If you do steps 5 and 6 in the IP layer you will be bypassing the
>  proxy data handling and void all your reasons for having it done by a
>  proxy in the first place. Instead of by the conntrack NAT module for FTP
>  for both outgoing and returning traffic.

The point is not to get rid of the proxy but to fix the issue that the
proxy is presenting to all FTP communications.

>  Disclaimer: I'm not one of the NF gurus. Just a proxy guy.

Thanks anyways.

  parent reply	other threads:[~2011-06-09 19:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-08 20:18 FTP Packet Mangling & NAT Nadeem Douba
2011-06-09  3:20 ` Amos Jeffries
2011-06-09  7:22   ` Jan Engelhardt
2011-06-09 19:06   ` Nadeem Douba [this message]
2011-06-10  9:26     ` Amos Jeffries
2011-06-16 11:04       ` Jan Engelhardt

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='BANLkTim6WA1AW=ARNXKEx1kyVDo6TjCp-Q@mail.gmail.com' \
    --to=ndouba@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=squid3@treenet.co.nz \
    /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;
as well as URLs for NNTP newsgroup(s).