LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-03-2008, 12:40 PM   #1
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Rep: Reputation: 30
inetd: disabled echo, but still send ping response


Hello!
I've edited inetd.conf, and commented out all lines related to the echo service.
However, my computer is still pingable by others in my network.
Why? Is there something else listening to the echo port?
Thank you!
 
Old 09-03-2008, 01:58 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
ICMP ping has NOTHING to do with the echo service. The echo service runs on tcp (or udp) and merely sends back any data it receives. ICMP packets are handled at the kernel level by the IP stack.
 
Old 09-03-2008, 03:50 PM   #3
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
in other words: iptables -A INPUT -i my-internet-interface -p icmp -j DROP

or iptables -A INPUT -p icmp -j DROP
if you want your box to not respond at any icmp at all.

Last edited by eantoranz; 09-03-2008 at 03:52 PM.
 
Old 09-04-2008, 12:22 AM   #4
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Original Poster
Rep: Reputation: 30
I see... Thank you!
 
Old 09-04-2008, 01:29 AM   #5
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Don't block all ICMP traffic - it is required for TCP/IP networking to function correctly. You can block some ICMP types. See: http://www.daemon.be/maarten/icmpfilter.html .
 
Old 09-04-2008, 01:47 AM   #6
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
Nice read Mr.C.
I was looking for something like this..
 
Old 09-04-2008, 08:21 AM   #7
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
That's right. Lack of ICMP can break your networking.... but let's let them have fun with it.... learning by breaking/tweaking. :-D
 
Old 09-04-2008, 08:26 AM   #8
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 171

Rep: Reputation: 74
Quote:
Originally Posted by eantoranz View Post
but let's let them have fun with it.... learning by breaking/tweaking. :-D
Agreed 100%...there's not nearly enough of this mentality going around (erhhmm...perhaps advocating it is bad...but utilizing it on your own to learn about a system is good!)
 
Old 09-04-2008, 12:11 PM   #9
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Learn by reading the RFCs and how TCP/IP works. Screw around on your own machines, but don't pass out such bad advice to people asking for help.
 
Old 09-04-2008, 12:21 PM   #10
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Ok, Ok.... keep your shirt on. Didn't mean to be mean.
 
  


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
Connect online ubuntu 8.0 disconnect after 2 min error 15 no response to echo billrandle Linux - Networking 2 06-04-2008 07:01 PM
why my uclinux ping response time is so long ??? andersma Linux - Networking 2 08-19-2007 09:12 AM
firewall, open ports, and ping response azebuski Linux - Security 3 03-16-2004 01:31 AM
no ping response ewan Linux - Networking 5 07-24-2003 02:42 AM
Unable to ping out from RH7.1/Network Disabled Sully Linux - Networking 18 08-12-2001 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:21 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