LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-16-2005, 04:01 AM   #1
swmok
Member
 
Registered: Jul 2003
Posts: 152

Rep: Reputation: 30
iptables module config


Hi All:

Here is my module display (by lsmod):
Module Size Used by Not tainted
ipt_MASQUERADE 1216 1 (autoclean)
iptable_filter 1728 1 (autoclean)
ip_conntrack_ftp 3200 0 (unused)
ip_nat_ftp 2944 0 (unused)
iptable_nat 12660 2 [ipt_MASQUERADE ip_nat_ftp]
ip_tables 10432 5 [ipt_MASQUERADE iptable_filter iptable_nat]
ip_conntrack 12684 2 [ipt_MASQUERADE ip_conntrack_ftp ip_nat_ftp iptable_nat]


The "Size" of the module ip_conntrack is not enough in my system.

However can I enlarge it? Do I need to recompile the kernel or just modify the /etc/modules?

Thanks.
 
Old 04-16-2005, 06:39 AM   #2
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
Hi,

if you meen increasing the max number of connexions, that's in /proc/sys/net/ipv4/ip_conntrack_max.
 
Old 04-17-2005, 04:31 AM   #3
swmok
Member
 
Registered: Jul 2003
Posts: 152

Original Poster
Rep: Reputation: 30
Hi:

So, how to configure it? Or any suggested readings?

Thanks.
 
Old 04-17-2005, 08:42 AM   #4
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
Hi,

just put the max value you want in this file. (echo 32760 > /proc/sys/net/ipv4/ip_conntrack_max)

see http://kalamazoolinux.org/presentati...conntrack.html &
http://ipsysctl-tutorial.frozentux.net/

Last edited by fr_laz; 04-17-2005 at 08:50 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables module installation? wooshyFox Linux - Newbie 119 02-28-2005 08:01 AM
trouble with iptables module wazilian Linux - Networking 0 09-24-2004 02:55 PM
trouble with iptables module wazilian Linux - Networking 0 09-24-2004 02:55 PM
iptables module error? hotrodowner Linux - Networking 1 04-02-2003 08:07 AM
IPTABLES module won't load TruckStuff Linux - General 1 05-10-2002 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration