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