IPCHAINS Problem

IPCHAINS Problem

Post by Jeremy McPherso » Thu, 11 Feb 1999 04:00:00



Greetings:

I am having trouble with the ipchains application. I can not use ipchains because it is
reporting "Protocol no available" or "Invalid argument". I have patched my
RedHat 2.0.36 kernel with the patch for the 2.0.36 kernel.

In my kernel networking options I have:
( Y ) Network Firewalls
( Y ) Network aliasing
( Y ) TCP/IP networking
( Y ) IP firewalling
( Y ) IP firewalling chains ( EXPERIMENTAL )
( Y ) IP masquerading
( Y ) IP ICMP  Masquerading
( Y ) IP transparent proxy support ( EXPERIMENTAL )
( M ) IP tunneling
( M ) IP aliasing support
( M ) IP Reverse ARP
( Y ) IP Disable Path MTU Discovery ( normally enabled )
( Y ) IP Drop source routed frames
( Y ) IP Allow large windows
Everything else is set to NO.

When I read the documentation I am supposed to see ip_fwchains,
ip_masquerade under /proc/net, and the only one I see is ip_masquerade.

In my /proc/net I have:
alias_types
aliases
arp
dev
igmp
ip_acct
ip_forward
ip_input
ip_mask_app
ip_masquerade
ip_mr_cache
ip_mr_vif
ip_output
raw
route
rt_cache
snmp
sockstat
tcp
udp
unix

I have tried other patches ( 2.0.34.IPCHAINS.Patch ) and there was two
others that I had downloaded but none of them gave me the desired result. I
have re-installed Red Hat each time for the patches, and I have tried
combinations of patches nothing seems to work.

When I try a simple ipchains statement like:

a) ipchains -P forward DENY
b) ipchains -A forward -j MASQ -s 192.168.3.0/24 -d 192.168.5.0/24

I get :

a) ipchains: Protocol not available
b) ipchains: Invalid argument

The version of ipchains that I am using is 1.3.8 27-OCT-1998.

Can someone please help me with this.

Poor Lost Sole
Jeremy McPherson

 
 
 

1. ipchains problem : Error: not compatible with kernel!!

Hi FOlks,

I have RedHat Linux 8.0 installed on my system (Kernel version 2.4).

I recently installed a network emulator program which uses ipchains.
The program compiled correctly.

However when I run it, I get an error saying "ipchains: protocols not
available", "not compatible with kernel" etc. The program stops right
there.

ipchains is however available on my box, and an 'ipchains' command
asks for parameters, and a 'whereis ipchians' gives the location of
the binary and man files.

Could someone help me fix this error? Does any parameter need to be
changed in one of the the kernel files?

A blow by blow account would help a lot.

Thanks
Durga

2. Soundcard woes--any suggestions?

3. SuSE 6.4 ipchains problems

4. AWK and specifing a new File Seperator which is "

5. "Indirect FTP" through IPChains problem?

6. Memory hole between 15 and 16 MB

7. Perplexing ipchains problem

8. Asynchronous sockets problem

9. Possible IPCHAINS problem - Can't FTP from firewall

10. FreeS/Wan and ipchains problem

11. Ipchains:problem with the policy DENY

12. Gnotella and ipchains problem (or is it something else?)

13. firewall & ipchains problem