From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonas Meurer Subject: Re: how to set ports for ip_conntrack_ftp Date: Fri, 1 Sep 2006 00:48:57 +0200 Message-ID: <20060831224857.GA23094@freesources.org> References: <20060831151130.GA32342@freesources.org> <20060831173059.GA23640@legolas.on.net.mk> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20060831173059.GA23640@legolas.on.net.mk> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: netfilter@lists.netfilter.org On 31/08/2006 Damjan wrote: > > where can i set the ports for ip_conntrack_ftp? > > > > if i load it as module, i can use > > 'modprobe ip_conntrack_ftp ports=21,31,41' > > > > but if the module is compiled into the kernel, i have no idea how to set > > the ports. i didn't find anything in either /proc or > > kernel-source/Documentation. > > > > the server is running linux kernel 2.4.27. > > Hmm, I don't know about 2.4.x kernels but in 2.6.x you can always set > parameters to integrated modules on the kernel comand line. > > In your case it would be: > ip_conntrack_ftp.ports=21,31,41 how can i use this kernel command line? do you mean sysctl? ... jonas