[pox-dev] ICMP type packet

Murphy McCauley murphy.mccauley at gmail.com
Mon Jun 29 22:23:08 PDT 2015


The proto.pong component replies to pings.  Actually, it replies to *all* ICMP messages.  Here's an untested quick hack at very slightly modifying it so that it's a bit more discerning.



-- Murphy

On Jun 29, 2015, at 10:07 PM, Anees Mohsin Hadi Al-Najjar <a.alnajjar1 at uq.edu.au> wrote:

> Dear All,
>     I’m new with POX. I’m trying to write manually an ICMP reply packet. Could you possibly inform me How I can check the type of ICMP packet is echo-request? I find it difficult because there is no payload in ofp_match
>  
> Thanks
>   Anees Al-Najjar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20150629/d6312f0b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pong.py
Type: text/x-python-script
Size: 2728 bytes
Desc: not available
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20150629/d6312f0b/attachment-0002.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20150629/d6312f0b/attachment-0001.html>


More information about the pox-dev mailing list