kern/127528: [icmp]: icmp socket receives icmp replies not owned
by the process.
Chris Buechler
cmb at pfsense.org
Sun Sep 21 23:50:04 UTC 2008
The following reply was made to PR kern/127528; it has been noted by GNATS.
From: Chris Buechler <cmb at pfsense.org>
To: "Bruce M. Simpson" <bms at FreeBSD.org>
Cc: freebsd-net at FreeBSD.org, remko at FreeBSD.org, freebsd-bugs at FreeBSD.org
Subject: Re: kern/127528: [icmp]: icmp socket receives icmp replies not owned
by the process.
Date: Sun, 21 Sep 2008 19:11:05 -0400
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
_______________________________________________
freebsd-bugs at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at freebsd.org"
More information about the freebsd-net
mailing list