kern/127528: [icmp]: icmp socket receives icmp replies not owned by the process.

Chris Buechler cmb at pfsense.org
Sun Sep 21 23:39:28 UTC 2008


Bruce M. Simpson wrote:
> remko at FreeBSD.org wrote:
>> Old Synopsis: icmp socket receives icmp replies not owned by the 
>> process.
>> New Synopsis: [icmp]: icmp socket receives icmp replies not owned by 
>> the process.
>>   
>
> This PR is bogus because:
> ICMP has no concept of datagrams being "owned" by a process. There is 
> no field in the ICMP protocol which differentiates ICMP "sessions" on 
> a per-process basis, and this is because ICMP has no concept of 
> "sessions" -- ICMP messages are directed at IP endpoints.

ICMP echo and echo replies do have "sessions" of sorts, at least unique 
identifying fields - identifier and sequence number.

This was opened by a pfSense maintainer because it's a change in 
behavior from 6.x releases where this was never an issue, and is 
something we feel is a regression.

Ideally you don't want to be pinging the same host from two different 
processes, but it's difficult to avoid in some circumstances and it's 
something that always worked fine prior to FreeBSD 7.0.

Thanks,
Chris



More information about the freebsd-net mailing list