LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-18-2006, 10:30 PM   #1
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
Disabling ICMP


Been digging around on the net looking for a way to disable ICMP and have not had any luck. Can anyone point me to a good resource for disabling ICMP. Had no trouble at all disabling ICMP on ym Fedora box.
 
Old 02-18-2006, 10:43 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
It would be useful to know your configuration (is there a router in front of the system that is actually responding to ICMP?), your current distribution and release (not Fedora isn't specific enough), and what firewall software you are running (IPTABLES? Do you use a GUI/web front-end?).
 
Old 02-18-2006, 11:16 PM   #3
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Original Poster
Rep: Reputation: 32
No router is involved just a GUI firewall.
 
Old 02-18-2006, 11:45 PM   #4
Freemor
Member
 
Registered: Aug 2005
Location: New Brunswick
Distribution: Trisquel
Posts: 70
Blog Entries: 8

Rep: Reputation: 15
IPtables can block icmp quite effectively. Simply issueing a command similar to the one below would do a very effective job (at least for inbound icmp)

sudo iptables -A INPUT -p icmp -j DROP

Breaking it down...
we add (-A) an INPUT filter for protocol (-p) icmp and tell iptables to drop them all (-j DROP)

as you mentioned you are using a gui/frontend You'll need to figure out how to add the input filter to drop all icmp protocol packets. shouldn't be to difficult.

hope this helps
Freemor
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ICMP Programming mgp Programming 3 07-21-2009 03:11 AM
About ICMP Ephracis Linux - Networking 1 11-22-2004 08:01 AM
ICMP traffic archives/writing ICMP traffic in a file maia_1 Programming 0 07-20-2004 03:43 AM
What is ICMP? codedv Linux - Networking 2 01-04-2004 10:12 AM
Icmp mikeyt_3333 Linux - Security 1 08-09-2001 05:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:45 PM.

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