[Click] CLICK checkarpheader or arpfaker problem or working as intended?

Eddie Kohler kohler at cs.ucla.edu
Sat Dec 8 17:52:43 EST 2007


Skatsu,

One potential problem with these ARPFakers is that you shouldn't use group 
Ethernet addresses.

The problem with your configuration is that you're sending ARP responses, 
generated by ARPFaker, into an ARP responder.  The responder ignores 
responses; it only cares about queries.

Eddie


skatsu wrote:
> Hi Folks,
>   Thanks for the good work on this software.  Its both highly functional and
> educational.  Anyways I  been trying to work on getting an arp responder to
> work.  Since I was getting problems with incoming arp packets fail i decided
> to create my on click script to test the arp capabilities.  The below is the
> script.  I tried generated a few fake arp packets.  However some fail to
> produce a valid arp packet and more importantly fail when the destination
> ethernet is broadcast.  Is this working as intended?
> 
> Thanks
> 
> 
> // arptest.click
> 
> // try to test out arp handling in
> click
> 
> 
> 
> //-> Print(LENGTH
> 72)
> 
> // Post arp packet and check to see if arp header is
> valid
> 
> //ARPFaker(192.168.1.1, 00:00:00:10:00:00,
> 192.168.1.2,00:00:00:10:00:00)
> 
> // DSTIP, DSTETH, SRCIP,
> SRCETH
> 
> 
> 
> //ARPFaker(192.168.1.1, 00:00:00:10:00:00, 192.168.1.13,
> 00:13:CE:DB:C0:01)
> 
> //
> ok
> 
> 
> 
> //ARPFaker(192.168.1.1, 00:AA:00:10:00:00, 192.168.1.13,
> 00:13:CE:DB:C0:01)
> 
> //
> ok
> 
> 
> 
> //ARPFaker(192.168.1.1, AA:00:00:10:00:00, 192.168.1.13,
> 00:13:CE:DB:C0:09)
> 
> //
> ok
> 
> 
> 
> //ARPFaker(192.168.1.1, FF:FF:FF:FF:FF:FF, 192.168.1.13,
> 00:13:CE:DB:C0:09)
> 
> //
> fail
> 
> 
> 
> //ARPFaker(192.168.1.1, 00:FF:FF:FF:FF:FF, 192.168.1.13,
> 00:13:CE:DB:C0:09)
> 
> //
> fail
> 
> 
> 
> //ARPFaker(192.168.1.1, 00:FF:FF:FF:FF:00, 192.168.1.13,
> 00:13:CE:DB:C0:09)
> 
> //
> fail
> 
> 
> 
> ARPFaker(192.168.1.1, 00:FC:AA:FF:0F:00, 192.168.1.13,
> 00:13:CE:DB:C0:09)
> 
> //
> ok
> 
> 
> 
> -> Print(LENGTH
> 60)
> 
> -> CheckARPHeader(VERBOSE
> true)
> 
> -> Print(LENGTH
> 60)
> 
> -> ARPResponder(192.168.1.16 192.168.1.0/24FF:FF:FF:FF:FF:FF)
> 
> -> Print(LENGTH
> 60)
> 
> ->
> Discard();
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list