Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Jun 28, 2010 1:25 pm 
Offline
Senior Newbie

Joined: Sun Mar 28, 2010 2:27 am
Posts: 7
After upgrading to 10.04 LTS I cannot get my firewall to function properly. Whenever I attempt to configure and start it I get the following chain of errors:

Code:
Restarting Arno's Iptables Firewall... /sbin/modprobe ip_tables: Module not found! Assuming compiled-in-kernel!
 modprobe nf_conntrack WARNING: (1) Module(s) "nf_conntrack
ip_conntrack" failed to load. Assuming compiled-in-kernel!
 WARNING: (1) Module(s) "nf_conntrack_ftp ip_conntrack_ftp" failed to load. Assuming compiled-in-kernel!
 WARNING: (1) Module(s) "xt_conntrack ipt_conntrack" failed to load. Assuming compiled-in-kernel!
 WARNING: (1) Module(s) "xt_limit ipt_limit" failed to load. Assuming compiled-in-kernel!
 WARNING: (1) Module(s) "xt_state ipt_state" failed to load. Assuming compiled-in-kernel!
 WARNING: (1) Module(s) "xt_multiport ipt_multiport" failed to load. Assuming compiled-in-kernel!
 /sbin/modprobe iptable_filter: Module not found! Assuming compiled-in-kernel!
 /sbin/modprobe iptable_mangle: Module not found! Assuming compiled-in-kernel!
 /sbin/modprobe ipt_REJECT: Module not found! Assuming compiled-in-kernel!
 /sbin/modprobe ipt_LOG: Module not found! Assuming compiled-in-kernel!
 WARNING: (1) Module(s) "xt_TCPMSS ipt_TCPMSS" failed to load. Assuming compiled-in-kernel!
 WARNING: (1) Module(s) "xt_DSCP ipt_DSCP ipt_TOS" failed to load. Assuming compiled-in-kernel!
  /sbin/iptables: (1) iptables: No chain/target/match by that name.
[REPEATS SEVERAL TIMES]
Jun 28 13:17:19 WARNING: Not all firewall rules are applied.
FAILED!
invoke-rc.d: initscript arno-iptables-firewall, action "restart" failed.
dpkg: error processing arno-iptables-firewall (--configure):
 subprocess installed post-installation script returned error exit status 1


I tried completely removing and reinstalling arno, but with no effect. I have a very simple configuration, done entirely through debconf.

Any help would be greatly appreciated!


Top
   
 Post subject:
PostPosted: Mon Jun 28, 2010 6:38 pm 
Offline
User avatar

Joined: Wed Jun 23, 2010 6:10 am
Posts: 1
Website: http://xenlightenment.com
When a linux kernel is compiled, you have the option of having functionality like iptables compiled in, or added later as a module.

The warnings are probably a red herring. iptables is so basic that it is usually compiled into the kernel rather than added as a module.

You can preform a sanity check by looking for the iptables modules and making sure they aren't there

lsmod | grep ipt

The command should return nothing.

Then make sure it is in the kernel by running sample iptables commands. For example:

iptables -L

Once you're certain iptables is working, then the problem lies in arno's iptables rules. Possibly their syntax has changed and they've renamed chains or targets. This is the error that is probably causing you problems:

/sbin/iptables: (1) iptables: No chain/target/match by that name.
[REPEATS SEVERAL TIMES]
Jun 28 13:17:19 WARNING: Not all firewall rules are applied.
FAILED!

You have a misnamed chain or target. I've never used arno, but if you rebuild your firewall with dpkg-reconfigure it should get built with the correct names.

the chain/target/match names are like variable names - they can be arbitrarily defined from one configuration to another. You can check the difference between configurations by using

iptables -L

and

iptables-save


Top
   
 Post subject:
PostPosted: Mon Jun 28, 2010 11:16 pm 
Offline
Senior Newbie

Joined: Sun Mar 28, 2010 2:27 am
Posts: 7
Thanks for the great reply. My sanity checks all turned out fine. It seems like it's a problem with arno, but who knows. My needs are pretty basic, so I tried out UFW and it is working without problems.


Top
   
 Post subject:
PostPosted: Wed Aug 17, 2011 11:52 pm 
Offline
Senior Newbie

Joined: Wed Aug 10, 2011 1:27 am
Posts: 16
Hi, I'm having the same problem. I think I'm going to do what you did and try UFW instead. Could someone please tell me how I go about uninstalling arnos-iptables so I can start fresh with UFW?

I'm a super newbie, so please be gentle!


Top
   
 Post subject:
PostPosted: Fri Aug 19, 2011 5:07 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
Code:
$ sudo apt-get purge arno-iptables-firewall
$ sudo apt-get install ufw

Intro on using ufw at https://help.ubuntu.com/10.04/servergui ... ewall.html


Top
   
 Post subject:
PostPosted: Sat Aug 20, 2011 8:04 pm 
Offline
Senior Newbie

Joined: Wed Aug 10, 2011 1:27 am
Posts: 16
Thanks :-) Much appreciated. I did know that was the command for removing a package but I wasn't sure if it was that simple or if there was something more I needed to do, so that's great!


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


Who is online

Users browsing this forum: No registered users and 1 guest


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