LinuxQuestions.org
Help answer threads with 0 replies.
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 07-15-2003, 10:24 AM   #1
Ginetto
LQ Newbie
 
Registered: Jul 2003
Distribution: RH
Posts: 3

Rep: Reputation: 0
Question ipchains:: Protocol not available


Hi,
This problem (ipchains: Protocol not available) on a RH 7.3 machine is hampering me very much!
I give this command as root:

root~> /sbin/ipchains -A input -p tcp -d $HOSTNAME --dport 80 -j DENY

and I get:
ipchains: Protocol not available

What's wrong with that? Can anyone help me?
Thanx
 
Old 07-15-2003, 10:30 AM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
I also have RedHat 7.3 and this is the problem.

RedHat 7.3 uses kernel 2.4
Ipchains is supposed to be used with kernel 2.2

Therefore you should use iptables.
iptables will work with kernel 2.4

That is why ipchains and lokkit do not work in RedHat 7.3
 
Old 07-15-2003, 10:40 AM   #3
Ginetto
LQ Newbie
 
Registered: Jul 2003
Distribution: RH
Posts: 3

Original Poster
Rep: Reputation: 0
If I'll move to iptables in which way can I "translate", for example, this command:

--> ipchains -A input -p tcp -d $HOSTNAME --dport 80 -j DENY


--> iptables --????
 
Old 07-15-2003, 10:54 AM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
It would be
Code:
iptables -A INPUT -p tcp -d $HOSTNAME --dport 80 -j DROP
There are some differences between ipchains and iptables.
Take a look at the MAN page of iptables for more informations.
 
Old 07-15-2003, 10:59 AM   #5
Ginetto
LQ Newbie
 
Registered: Jul 2003
Distribution: RH
Posts: 3

Original Poster
Rep: Reputation: 0
quote:
There are some differences between ipchains and iptables.
Take a look at the MAN page of iptables for more informations.


It is what I'm doing
Thanks!
 
  


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
What is Protocol 50 jspsandhu Linux - Networking 6 08-11-2007 11:17 AM
Debian + ipchains: protocol not available jleavitt Linux - Security 6 10-17-2003 09:24 AM
ipchains - "protocol not available" cottonmouth Linux - Software 1 11-20-2002 08:49 AM
Unsupported protocol 'Compression Control Protocol' (0x80fd) received RKris Linux - Software 0 08-21-2002 08:24 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 11:30 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