buglwIP - A Lightweight TCP/IP stack - Bugs: bug #26507, Gratuitous ARP depends on...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #26507: Gratuitous ARP depends on arp_table / uses etharp_query

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Fri 08 May 2009 08:09:41 PM UTC
   
 
Category:  ARP Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  CVS Head

Tue 12 May 2009 08:14:40 PM UTC, comment #1: 

"HM2" wrote on lwip-source:

> This is probably nit picky, but I think the Target Hardware Address should
> be set to the FF... broadcast value, rather than Zero.  This is in Etharp.c
> in the function etharp_request().  &ethzero is used where I think it should
> be &ethbroadcast.  In the other examples and doc I always see  FF... used
> for this value.


However, RFC 3220 says in chapter 4.6

         When using an ARP Reply packet,
         the Target Hardware Address is also set to the link-layer
         address to which this cache entry should be updated (this field
         is not used in an ARP Request packet).

So it is OK to use ethzero.

I've added a function-like define etharp_gratuitous(), that is used instead of etharp_query in netif.c. It just sends a gratuitous request by calling etharp_request(netif, netif->ip_addr).

Simon Goldschmidt <goldsimon>
Group administrator
Fri 08 May 2009 08:09:41 PM UTC, original submission:  

We should provide an own function for sending gratuitous ARPs.

Simon Goldschmidt <goldsimon>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-05-12 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code