Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Can any one Explain me ICMP??

Can any one Explain me ICMP?? 9 years 8 months ago #20255

  • ashok_nitc
  • ashok_nitc's Avatar
  • Offline
  • Frequent Member
  • Posts: 64
  • Karma: 0
Can any one Explain me ICMP from developers point of view and from testers point of view...??
The administrator has disabled public write access.

Re: Can any one Explain me ICMP?? 9 years 8 months ago #20335

  • sahirh
  • sahirh's Avatar
  • Offline
  • Honored Member
  • Posts: 1700
  • Karma: 0
Hmm not much detail there, however I'll give it a shot...

From a developers point of view ICMP is a very simple protocol to implement. If you're not doing anything too fancy, you can just use the standard API's for your particular OS to generate the appropriate packets.

If you're using raw sockets and crafting your own packets then make them comply to the RFC.

Ethereal will be your friend through all this implementation.

Not sure what you meant by from a tester's point of view.

Cheers,
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
The administrator has disabled public write access.

thanks!! 9 years 8 months ago #20354

  • ashok_nitc
  • ashok_nitc's Avatar
  • Offline
  • Frequent Member
  • Posts: 64
  • Karma: 0
hi Sahirh ,
thanks for your reply!!! i will read more on this so that everyting gets clear to me...
by Testers point of view, i wanted to mean that how tester will test the protocol to check whether there is any bug or not!!!
---question may looks silly but as i am new so i don't know!!!
The administrator has disabled public write access.

Re: Can any one Explain me ICMP?? 9 years 8 months ago #20365

  • sahirh
  • sahirh's Avatar
  • Offline
  • Honored Member
  • Posts: 1700
  • Karma: 0
Hi Ashok,
The best way to test your implementation is to setup a few hosts and then use your implementation to generate or recieve ICMP messages. Run a sniffer like Wireshark at the same time, it will tell you if any of the packets are malformed or abnormal.

You should also test it's adherence to the RFCs... stuff like how it deals with broadcast messages etc.

Cheers,
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
The administrator has disabled public write access.

Re: Can any one Explain me ICMP?? 9 years 8 months ago #20412

  • ashok_nitc
  • ashok_nitc's Avatar
  • Offline
  • Frequent Member
  • Posts: 64
  • Karma: 0
sahirh,
thanks a lot!!!
The administrator has disabled public write access.

Re: Can any one Explain me ICMP?? 9 years 7 months ago #20810

  • durk21
  • durk21's Avatar
  • Offline
  • Senior Member
  • Posts: 223
  • Karma: 0
The best way to test your implementation is to setup a few hosts and then use your implementation to generate or receive ICMP messages. Run a sniffer like Wireshark at the same time, it will tell you if any of the packets are malformed or abnormal.

What is wireshark and what does it do? The easiest way I know to test ICMP echo and replies is to Ping from router and hosts and combine that with the commands tracert [HOST or Dos Prompt] or traceroute [Router CLI].

ping host to host [via Dos prompt]

then ping router to router [via CLI]

and so on until you discover a problem in the path or lines. The output of the ping command will tell you if packets were lost. Tracerroute or Tracert will tell you if they were stopped and where they were stopped at.
The administrator has disabled public write access.
Time to create page: 0.080 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup