Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Martijn Lievaart <m@rtij.nl>
To: Peteris Krumins <newsgroups@lf.lv>
Cc: netfilter@lists.netfilter.org
Subject: Re: psd and active ftp mode
Date: Wed, 09 Apr 2003 13:03:49 +0200	[thread overview]
Message-ID: <3E93FE15.8020006@rtij.nl> (raw)
In-Reply-To: <136459744507.20030409032210@lf.lv>

Peteris Krumins wrote:

>hello,
>
> i was just testing psd match and w/ ftp active mode.
>
> I created 10000 files on the ftp server and set my ftp client to
> active mode and let it download those files while having
> `iptables -A INPUT -p tcp -m psd -j REJECT --reject-with tcp-reset`
> (with psd default threshold/weigh values).
> The psd matched 3136 packets.
>
> Ftp server went mad issuing:
>  425: Unable to build data connection: Connection refused
>
> This means i cannot relay on psd and block 'possible portscans'?
> Any suggestions?
>
> The same would happen, if i created some rules with limit match..
>
>  
>

I never have this problem. I think you should accept RELATED before the 
psd match.

Martijn




      parent reply	other threads:[~2003-04-09 11:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-09  0:22 psd and active ftp mode Peteris Krumins
2003-04-09  2:18 ` netfilter
2003-04-09 11:03 ` Martijn Lievaart [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=3E93FE15.8020006@rtij.nl \
    --to=m@rtij.nl \
    --cc=netfilter@lists.netfilter.org \
    --cc=newsgroups@lf.lv \
    /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