View Full Version : need help on how to wite code to stop Ping ( ICMP )

Prince James
March 7th, 2007, 01:11 PM
Hello all ! im new here and this forum looks really good for what im studying at university ! can someone give me information or write a basic code for me on how to stop pepole from Pinging the network !!!

im using Html Kit just to let you guys know ! OS Fedora core 6 !!! :)

March 7th, 2007, 01:19 PM
You don't need to program anything. Install iptables and disallow pinging.

deny icmp any any echo-request

Prince James
March 7th, 2007, 01:22 PM
thats it ? dam i tho it's going to be some long code !!!

March 7th, 2007, 01:25 PM
not going to give u sample code, but just an idea to get started. search for ipchains, download the source, and take a look at how its written. maybe you can get an idea.

Prince James
March 7th, 2007, 01:29 PM
ok cheers m8 ! :popcorn: :popcorn: