LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-15-2003, 01:50 PM   #1
jleavitt
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Rep: Reputation: 0
Debian + ipchains: protocol not available


Hello Everyone, sorry to waste your time, I know this is a newbie question but I really need some help!

I am trying to setup a firewall on a debian machine. No matter which firewall software I try and run I still get the same message

ipchains: protocol not available.

I've tried to apt-get ipchains and it sais that I alrady have the newest version. Also when I try to setup a new rule "ipchains -N fw1" I get the same message.

So I guess the question is what did I do wrong? What do I do to fix it? and what type of firewall should I be running on a debian machine?

Thank you for your time!

-jim
 
Old 10-15-2003, 01:56 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
If you have a fairly recent version of debian (kernel version > 2.4) you will need to use iptables instead of ipchains. ipchains is older and used with the 2.2 version of the kernel.
 
Old 10-15-2003, 02:10 PM   #3
jleavitt
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Ok thanks,I am using debian 3.0 woody, it uses a 2.2 version of the kernel. But it still doesn't work? Any suggestions?
 
Old 10-16-2003, 09:03 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Does lsmod show the ipchains.o module loaded?
 
Old 10-16-2003, 09:43 AM   #5
jleavitt
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
no lsmod only shows me:

parport_pc
parport
af_packet

thats it.

So i am going to assume that means that ipchains is not running? Do I just need to install the module? or just start it up?

Please advise!
 
Old 10-16-2003, 09:54 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
See if you got it: "find /lib/modules/$(uname -r) -type f -name ipchains.o", then try to "insmod" it manually.
 
Old 10-17-2003, 09:24 AM   #7
jleavitt
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
I get nothing when I search for the module. So I am gonna guess that it means I dont have it and I should get it and install it. Thanks for your help!
 
  


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
Protocol not supported Debian phoenix_wolf Linux - Newbie 1 12-12-2004 02:35 AM
Ipchains in Debian 3.0 swmok Linux - Networking 1 08-04-2003 03:04 PM
ipchains:: Protocol not available Ginetto Linux - Security 4 07-15-2003 10:59 AM
ipchains - "protocol not available" cottonmouth Linux - Software 1 11-20-2002 08:49 AM
ipchains -=> error: "Protocol not available" oUTLAw Linux - Networking 3 09-10-2001 08:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:28 AM.

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