It is currently Mon, 18 Mar 2024 18:38:41 GMT



 
Author Message
 IPCHAINS just is not working!
I've been trying to get a firewall set up on my home computer.  This is
important, as I'm using a DSL connection.  I've read most of both the
ipchains and firewall HOW-TO's, and the ipchains program makes sense to
me.  However, none of the rules that I add seem to be enforced by my
machine.  I checked /proc/net to see if support for firewalls was compiled
into the kernel, and ip_fwchains was indeed listed.  I'm able to execute
ipchains commands without receiving any error messages, but my workstation
just doesn't comply with them.

For example, in the IPCHAINS-HOWTO, the author tells us how we can block
any machine from pinging us, and tells us specifically how to do it.  To
test it, I did exactly as he described:

[root@va /root]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) from 127.0.0.1 : 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.1 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.1 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.1 ms

--- 127.0.0.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.1 ms
[root@va /root]# ipchains -A input -s 127.0.0.1 -icmp -j DENY
[root@va /root]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) from 127.0.0.1 : 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.1 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.1 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.1 ms

--- 127.0.0.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.1 ms  

--

However, contrary to what he described, my ping went through.  His was
never received.  What am I doing wrong here?

--Chris

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.**-**.com/ - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----



 Wed, 31 Jul 2002 03:00:00 GMT   
 IPCHAINS just is not working!

-p icmp

--
Jeroen.



 Thu, 01 Aug 2002 03:00:00 GMT   
 
   [ 2 post ] 

Similar Threads

1. IPNAT Not working I am an idiot

2. I AM GONNA PUKE - I AM GONNA PUKE - I AM GONNA PUKE - I AM GONNA PUKE - I AM GONNA PUKE - I AM GONNA PUKE - I AM GONNA PUKE -

3. ipchains RH7.2 Not Working ???

4. ipchains works for masq, iptables does not

5. IPCHAINS MASQ not working after RH7.1 update agent did something

6. ipchain as a router for 1 internal machine not working

7. IPCHAINS not working

8. FTP does not work with ipchains masquerading (Firewall)

9. ipchains not working

10. ipchains not working?


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software