LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-03-2008, 01:14 PM   #1
Rock'n'Metal
LQ Newbie
 
Registered: Mar 2008
Posts: 15

Rep: Reputation: 0
grc


i test my pc on grc.com and see my system answer to ping requests!
how can i close(block) ping requests?
 
Old 03-03-2008, 01:45 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by Rock'n'Metal View Post
i test my pc on grc.com and see my system answer to ping requests!
how can i close(block) ping requests?
Assuming it's not your router which is replying, one way is:
Code:
echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all
Another is:
Code:
iptables -I INPUT -p ICMP --icmp-type 8 -j DROP
 
Old 03-03-2008, 03:03 PM   #3
Rock'n'Metal
LQ Newbie
 
Registered: Mar 2008
Posts: 15

Original Poster
Rep: Reputation: 0
ping

Quote:
Originally Posted by win32sux View Post
Assuming it's not your router which is replying, one way is:
Code:
echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all
Another is:
Code:
iptables -I INPUT -p ICMP --icmp-type 8 -j DROP
i tested it answer "permission denied" but why grc said answer?
 
Old 03-03-2008, 03:05 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Either of those commands will require root privileges.
 
Old 03-05-2008, 01:38 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
While "stealth" sounds nice not answering to ping and traceroute requests does not necessarily a more secure system make. If you are going to invest time in beefing up security you best read a basic hardening HOWTO and start by reviewing, updating and protecting what services you're running and who you give access to before "stealthing" it.
 
  


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
checking security at www.grc.com STARHARVEST Linux - Security 2 11-29-2005 08:22 AM
grc error !!! abunsair Linux - Security 1 07-15-2005 01:43 AM
Fedora Core 3, GRC port scan says ports arestealthed but responds to icmp ping IraB Linux - Security 7 12-09-2004 11:18 PM
grc.com Wazza Linux - Security 5 07-17-2001 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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