From: Steven M Campbell <Netfilter@SCampbell.net>
To: netfilter@lists.netfilter.org
Subject: Re: Connection not recognized as RELATED
Date: Fri, 03 Mar 2006 09:41:05 -0500 [thread overview]
Message-ID: <44085581.8050002@SCampbell.net> (raw)
In-Reply-To: <d27cd2010603021804p30d14675g@mail.gmail.com>
ludi wrote:
> I had settled the problem last time,with help.:)
> First of all, you must insmod ftp_conntrack(nat_ftp_conntrack....etc).
> The module work for processing the ftp connection.
> And then, you should bind ftp on 21port.The module only can track the
> 21port by default.If you want to set other port,you must edit the
> source.
> You may setup your rule to allow the ftp pass.
> Did your ftp work?
> :)
>
ip_conntrack_ftp takes an array of ports.
# modinfo ip_conntrack_ftp
filename:
/lib/modules/2.6.13-15.8-default/kernel/net/ipv4/netfilter/ip_conntrack_ftp.ko
license: GPL
author: Rusty Russell <rusty@rustcorp.com.au>
description: ftp connection tracking helper
vermagic: 2.6.13-15.8-default 586 REGPARM gcc-4.0
supported: yes
depends: ip_conntrack
srcversion: 4461DB3F80F52AA3EF2374F
parm: loose:int
parm: ports:array of int
So you can, for example:
modprobe ip_conntrack_ftp ports=21,33,454
next prev parent reply other threads:[~2006-03-03 14:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-03 0:16 Connection not recognized as RELATED Richard Simon
2006-03-03 2:04 ` ludi
2006-03-03 9:51 ` Aleksander
2006-03-03 14:41 ` Steven M Campbell [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-03-03 15:47 Richard Simon
2006-03-07 7:45 ` ludi
2006-03-06 15:38 Derick Anderson
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=44085581.8050002@SCampbell.net \
--to=netfilter@scampbell.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox