LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-12-2005, 04:48 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
Why ICMP packet for ping and nmap.


Mandrake 10.0/KDE/GNOME.
I have conected to internet by means of prxy server in my university.
They have blocked incoming ICMP pckets.
So i can not ping the externel world server's like google.com or yahoo.com.
Because ping uses the ICMP packets.
But i can ping the servers using arping.
Now my question is how to instrut the ping programme to use Other than th ICMP packets to look for the servers.
And nmap also scans the servers by an ping response by default.
So i can not scan any externel servers.But how does arping working what protocol does it using?
 
Old 12-12-2005, 06:13 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
You can try hping3 to ping using something else than ICMP.
Code:
hping3 www.microsoft.com
This might lead to an alert on your firewall administrator console.
man hping3 for details, there is a lot to read

Arping creates its own ARP packet to broadcast a who-has ARP packet on the network and prints the answers. So it works on ARP level, not IP.

For nmap if you don't want to ping before, you should use -P0
 
Old 12-12-2005, 10:48 AM   #3
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31

Quote:
Originally Posted by bruse
Mandrake 10.0/KDE/GNOME.
But how does arping working what protocol does it using?
First thing
.. arping uses ARP &/or ICMP packets.
Quote:
Originally Posted by bruse
Mandrake 10.0/KDE/GNOME.
I have conected to internet by means of prxy server in my university.
They have blocked incoming ICMP pckets.
Second thing.. they have blocked incoming ICMP packets(as mentioned) & you can still send outgoing ICMP packets.
Third thing.. Proxy would be the one reason for you to unable to ping external servers. As it may have blocked all the ICMP packets.
Quote:
Originally Posted by bruse
Mandrake 10.0/KDE/GNOME.
And nmap also scans the servers by an ping response by default.
So i can not scan any externel servers.
Fourth thing.. As nx mentioned hping3, nmap could also be used. See man page of nmap. With nmap you can force it not to ping ips with -P0 option.

..amit..

Last edited by amitsharma_26; 12-12-2005 at 10:51 AM.
 
  


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
msec and ICMP ping problem rjcrews Linux - Security 4 12-06-2005 07:59 AM
nmap raw packet sendto error in Mandrake 9.2 conn-fused Linux - Networking 0 06-30-2004 03:11 PM
ICMP Packet capture SaTaN Programming 1 01-20-2004 12:38 AM
Nmap icmp timestamp iperez Linux - Newbie 3 01-15-2004 04:48 PM
ICMP packet requests Ch@meleon Linux - General 0 11-29-2001 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:51 AM.

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