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

Ok, I'm not sure of this
Well, if you're not sure of this, then are you really in a postition to be sending out faked ARP packets onto the wire? I can't think of any reason why someone would normally want to do this, so unless you can convince me that (a) you aren't up to no good, (b) there is a valid reason for doing this, then I'm not keen to help you further.
Sorry,

Dave.

Replies are listed 'Best First'.
Re^4: arp request forging
by goony (Initiate) on Jun 03, 2004 at 21:16 UTC
    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?
      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".