See src/nox/lib/packet/packet_utils.py (search for checksum).

example of its use is in ipv4.py

I am using Python.

Regards,
Immad

On Mon, Mar 1, 2010 at 4:41 PM, Martin Casado <[email protected] <mailto:[email protected]>> wrote:

    Which language?

        Hi:

        I am trying to make the nox controller to act as a proxy . I
        am able to make nox controller generate arp reply. I am kind
        of stuck on generating icmp replies and other similar
        protocols that involve ip layer and other protocol that have
        checksums as part of the protocol. Is there a library function
        call to generate value for the checksum field for IP and ICMP
        packets?

        -Immad


        ------------------------------------------------------------------------

        _______________________________________________
        nox-dev mailing list
        [email protected] <mailto:[email protected]>
        http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org




_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to