Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2013 20:58:52 +0200
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        linimon@freebsd.org
Cc:        freebsd-net@freebsd.org, freebsd-bugs@freebsd.org
Subject:   Re: kern/179901: [netinet] [patch] Multicast SO_REUSEADDR handled incorrectly
Message-ID:  <20130628185852.GA45651@cicely7.cicely.de>
In-Reply-To: <20130628101514.GX45651@cicely7.cicely.de>
References:  <201306240359.r5O3xO0g012449@freefall.freebsd.org> <20130628101514.GX45651@cicely7.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 28, 2013 at 12:15:14PM +0200, Bernd Walter wrote:
> On Mon, Jun 24, 2013 at 03:59:24AM +0000, linimon@freebsd.org wrote:
> > Old Synopsis: [patch] Multicast SO_REUSEADDR handled incorrectly
> > New Synopsis: [netinet] [patch] Multicast SO_REUSEADDR handled incorrectly
> > 
> > Responsible-Changed-From-To: freebsd-bugs->freebsd-net
> > Responsible-Changed-By: linimon
> > Responsible-Changed-When: Mon Jun 24 03:59:05 UTC 2013
> > Responsible-Changed-Why: 
> > Over to maintainer(s).
> > 
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=179901
> > _______________________________________________
> > freebsd-net@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
> > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
> 
> I don't know if this is related or a different bug, but the same
> mentioned commits are suspicious for us.
> We had been running with our own IPv6 software into the same REUSEADDR
> problem and changed to REUSEPORT as this is how it is done in mcastread
> from mcast-tools port.
> Don't know where we originally got the REUSEADDR from, probably a Stevens
> book.
> So far binding works with this change in our software.
> However we only receive packets from network and not packets from
> the host itself.
> We use multicast to notify multiple processes on multiple machines,
> including the machine itself.
> To reproduce:
>  - use two hosts
>  - start mcastread on each of them on an interface with shared LAN
>  - send via mcastsend on one host
>  - packets are received on the other host, but not with the mcastread
>    on the same host

It is unrelated, but I have found the cause for it and filed kern/180065
together with a working patch.
The reason is that the packets have no valid checksums when processed
in ip6_input because of delayed checksum changes.

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130628185852.GA45651>