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

Submitted by:  Chris Paulson-Ellis <chrispe>
Submitted on:  Thu 07 Jan 2010 09:17:23 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Change RequestStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned 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>
Project AdministratorIn charge of this item.
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>

 

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
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by chrispe (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 10 Jan 2010 01:46:55 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Thu 07 Jan 2010 09:17:23 AM UTCchrispeAttached File-=>Added raw-bind-rx.patch, #19431

    Back to the top


    Powered by Savane 3.1-cleanup1