in reply to Re^3: arp request forging
in thread arp request forging

My purposes could be.. arp poisoning, create an arp proxy.. and I would like to write a script for a
gatway to permit to a host with different ip address (different classes) to connect.. etc. etc..
a strange project of my friend.

Can you help me?

Replies are listed 'Best First'.
Re^5: arp request forging
by dave_the_m (Monsignor) on Jun 03, 2004 at 21:28 UTC
    Hmmm... well since ARP isn't an IP type but sits directly on top of the ethernet layer, you need to create a raw ethernet packet. I've never used Net::RawIP, but a quick look at the documentation seems to imply the ethset, ethsend, and/or send_eth_frame methods may be what you need. You'll need to construct the raw ARP packet yourself.

    Dave.

      Yes, I done it. But the problem is that with this module, I I can't specify if the arp packet is "request" or a "reply".
        But the problem is that with this module, I I can't specify if the arp packet is "request" or a "reply"
        See RFC 826.

        Dave.