Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ralf Spenneberg <lists@spenneberg.org>
To: David Luyens <david.luyens@skynet.be>
Cc: Netfilter <netfilter@lists.netfilter.org>
Subject: Re: ftp connection tracking
Date: 31 Aug 2003 12:48:02 +0200	[thread overview]
Message-ID: <1062326882.1607.15.camel@kermit> (raw)
In-Reply-To: <00eb01c36cc1$b29fa240$020b0b0b@home>

Am Mit, 2003-08-27 um 19.36 schrieb David Luyens:
> Hi, 
>  
> When a change the portnumber of my ftp deamon, the connection tracking
> of netfilter does not work anymore.
> Is it possible to say to netfilter to look at a different port (than
> 21) for ftp connections?
Yes, see:
# modinfo ip_conntrack_ftp
filename:   
/lib/modules/2.4.20-20.9/kernel/net/ipv4/netfilter/ip_conntrack_ftp.o
description: <none>
author:      <none>
license:     "GPL"
parm:        ports int array (min = 1, max = 8)
parm:        loose int

You can define the ports when loading the ip_conntrack_ftp module.

Cheers,

Ralf
-- 
Ralf Spenneberg
RHCE, RHCX

Book: Intrusion Detection für Linux Server   http://www.spenneberg.com
IPsec-Howto				     http://www.ipsec-howto.org
Honeynet Project Mirror:                     http://honeynet.spenneberg.org


  reply	other threads:[~2003-08-31 10:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-27 17:36 ftp connection tracking David Luyens
2003-08-31 10:48 ` Ralf Spenneberg [this message]
2003-09-01  1:04 ` Alistair Tonner
  -- strict thread matches above, loose matches on Subject: below --
2003-07-29 11:22 Axel Heinrici
2003-07-29 11:41 ` Cedric Blancher
2003-07-29 12:52 ` Andrew J. Meader
2003-07-29 13:58   ` Axel Heinrici
2003-07-29 14:50     ` Andrew J. Meader

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=1062326882.1607.15.camel@kermit \
    --to=lists@spenneberg.org \
    --cc=david.luyens@skynet.be \
    --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