buglwIP - A Lightweight TCP/IP stack - Bugs: bug #28506, raw_bind should filter received...

 
 

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

bug #28506: raw_bind should filter received packets

Submitter:  Chris Paulson-Ellis <chrispe>
Submitted:  Thu 07 Jan 2010 09:17:23 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Change Request Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  CVS Head

Sun 10 Jan 2010 01:46:55 PM UTC, comment #1: 

Checked in slightly modified to prevent filtering broadcast packets without IP_SOF_BROADCAST_RECV/SOF_BROADCAST (default for RAW PCBs in lwIP is to receive all broadcast traffic unless configured not to).

Thanks for reporting.

Simon Goldschmidt <goldsimon>
Group administrator
Thu 07 Jan 2010 09:17:23 AM UTC, original submission:  

I would expect raw_bind to filter the packets passed to the raw_recv callback in the same way as udp_bind does to the udp_recv callback and unix bind(2) does on a raw(7) socket.

The attached patch makes bound raw pcbs behave in a similar way to bound udp pcbs.

Chris Paulson-Ellis <chrispe>

 

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

Attached Files
file #19431:  raw-bind-rx.patch added by chrispe (710B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by chrispe (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-01-10 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2010-01-07 chrispe Attached File- Added raw-bind-rx.patch, #19431

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code