Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Sep 07, 2011 8:31 am 
Offline
Newbie

Joined: Thu Sep 01, 2011 11:20 am
Posts: 2
Ip_pkt_list_tot is a parameter of iptables' module ipt_recent.
I want to use the module recent of iptables and I need to change the parameter ip_pkt_list_tot.

I am using debian with kernal Latest 3.0 (3.0.4-linode36).
I can't find the file /etc/modprobe.conf,so I created one and added
options ipt_recent ip_list_tot=1000 ip_pkt_list_tot=60
but it can't work...
And I tried this.

# modprobe ipt_recent ip_pkt_list_tot=50
FATAL: Module ipt_recent not found.

I've tried looking up info but frankly couldn't find any real information.
Thanks.


Top
   
 Post subject:
PostPosted: Wed Sep 07, 2011 5:16 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
The Linode kernels are monolithic, since they can't rely on any particular modules being present within your system. Unless there's another way to modify these parameters at runtime, you might end up having to run a non-Linode kernel to make this happen.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Mon Oct 31, 2011 9:08 pm 
Offline
Newbie

Joined: Fri Oct 07, 2011 10:02 am
Posts: 3
I'm having this same problem on CentOS 5.6 (kernel version of 2.6.39.1-linode34), and I have no idea how to solve it - and I really don't want to resort to a non-Linode kernel unless I absolutely have to.

I do have an /etc/modprobe.conf file, but adding these options to it doesn't change anything. Doing a 'cat /sys/module/xt_recent/parameters/ip_list_tot' still shows the old value.

A poster in this thread suggested modifying these parameters at runtime - how could I do this? Running 'modprobe ipt_recent' or 'modprobe xt_recent' gives errors.


Top
   
 Post subject:
PostPosted: Tue Nov 01, 2011 11:11 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Installing modules on a Linode kernel is apparently possible, but sufficiently difficult to be impractical. So you can't use modprobe to install them.


Top
   
 Post subject:
PostPosted: Fri Feb 10, 2012 2:22 pm 
Offline
Newbie
User avatar

Joined: Fri Oct 21, 2011 2:35 pm
Posts: 4
I put this at the end of my /etc/rc.d/rc.sysinit file:

Code:
# change xt_recent module parameters for iptables
chmod 644 /sys/module/xt_recent/parameters/*
echo 300 > /sys/module/xt_recent/parameters/ip_list_tot
echo 60 > /sys/module/xt_recent/parameters/ip_pkt_list_tot


Seems to work so far. I'll post back if I have any problems with it.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group