netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Markus Feldmann <feldmann_markus@gmx.de>
To: netfilter@vger.kernel.org
Subject: Re: Help with ftp helper please
Date: Tue, 18 May 2010 15:27:00 +0200	[thread overview]
Message-ID: <hsu4j4$svv$1@dough.gmane.org> (raw)
In-Reply-To: <4BD413B9.90900@chello.at>

Mart Frauenlob schrieb:
> 
> Yes, if the OP would have looked up the original post correctly it would
> show exactly that.
> http://eeek.borgchat.net/lists/netfilter/msg47205.html
> Putting the global RELATED rule, of course makes most of the rules
> obsolete (which fits in most cases), but that example was to show how to
> use the (ftp) helper match, if one chooses to split things up for
> whatever reason.

Hi Mart,

I use the helper too. And the reason is that i do not want that pakets 
are accepted, which are not related to ftp.

--sport 1024: --dport 1024: ACCEPT

means to accept mostly all pakets. But thats not what i and jeff want. I 
think it is a security risk. I am not sure whether this works, but for 
example if you connect to someone over any service and the remote host 
try to connect to you back (RELATED,ESTABLISHED) but not only to the 
original service, but also to your ftp service.

The next advantage is that my monitoring is not affected. I am using 
<iptables -L -n -v> to watch which chain has traffic and sometimes i 
found security holes over this monitor. If all traffic goes over my ftp 
rule, than this does not work.

regards Markus


  reply	other threads:[~2010-05-18 13:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-24 16:48 Help with ftp helper please Jeff Jensen
2010-04-25  6:49 ` Mart Frauenlob
2010-04-25  9:09   ` Jan Engelhardt
2010-04-25 10:04     ` Mart Frauenlob
2010-05-18 13:27       ` Markus Feldmann [this message]
2010-04-25 12:00     ` Jeff Jensen
2010-04-25 12:31       ` Jan Engelhardt
2010-04-25 11:50   ` Jeff Jensen

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='hsu4j4$svv$1@dough.gmane.org' \
    --to=feldmann_markus@gmx.de \
    --cc=netfilter@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;
as well as URLs for NNTP newsgroup(s).