Date: Sun, 21 Sep 2008 19:11:05 -0400 From: Chris Buechler <cmb@pfsense.org> To: "Bruce M. Simpson" <bms@FreeBSD.org> Cc: freebsd-net@FreeBSD.org, remko@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/127528: [icmp]: icmp socket receives icmp replies not owned by the process. Message-ID: <48D6D489.5070506@pfsense.org> In-Reply-To: <48D6C6CE.3060404@FreeBSD.org> References: <200809212103.m8LL3v61012961@freefall.freebsd.org> <48D6C6CE.3060404@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce M. Simpson wrote: > remko@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48D6D489.5070506>