On Thu, 21 Mar 2002, John Hunter wrote:

> I am using netfilter to do FTP connection tracking on port 8021.  It
> is my understanding that I need to set a parameter to enable tracking
> on ports other than 8021 with
>
> modprobe ip_conntrack_ftp ports=21,8021
> modprobe ip_nat_ftp ports=21,8021
>
> But I have built connection tracking into the kernel so I cannot set
> the parameter 'ports' in this way.  Is it possible to set the ports
> parameter with the module built in, or do I need to rebuild the kernel
> and make connection tracking modular?

Either you harcode the nonstandard port into ip_conntrack_ftp.c and
ip_nat_ftp.c and compile the kernel without modules, or you compile
modules and then can use the module parameters.

Regards,
Jozsef
-
E-mail  : [EMAIL PROTECTED], [EMAIL PROTECTED]
WWW-Home: http://www.kfki.hu/~kadlec
Address : KFKI Research Institute for Particle and Nuclear Physics
          H-1525 Budapest 114, POB. 49, Hungary


Reply via email to