From owner-freebsd-net@freebsd.org Sun Aug 9 13:55:14 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E4FD63B6313 for ; Sun, 9 Aug 2020 13:55:14 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BPgb575QHz45Lx for ; Sun, 9 Aug 2020 13:55:13 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 3782D8D4A38B; Sun, 9 Aug 2020 13:55:06 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id B53C7E70828; Sun, 9 Aug 2020 13:55:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id M8Pm269t7rXj; Sun, 9 Aug 2020 13:55:03 +0000 (UTC) Received: from [169.254.45.172] (unknown [IPv6:fde9:577b:c1a9:4902:5d5c:7ce:5339:2ffa]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id A57EAE707AC; Sun, 9 Aug 2020 13:55:03 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Abelenda Diego" Cc: freebsd-net@freebsd.org Subject: Re: Multicast issue, interface not leaving Mutlicast Group Date: Sun, 09 Aug 2020 13:55:02 +0000 X-Mailer: MailMate (2.0BETAr6146) Message-ID: In-Reply-To: <20200808143106.423bd20f@debian> References: <20200807152525.711d4072@debian> <9c241a38-977b-dcdd-ba5d-e8b2dfa2b17c@selasky.org> <20200808143106.423bd20f@debian> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4BPgb575QHz45Lx X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-0.67 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-0.98)[-0.981]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zabbadoz.net]; NEURAL_HAM_LONG(-0.98)[-0.983]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.90)[-0.905]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Aug 2020 13:55:15 -0000 On 8 Aug 2020, at 12:31, Abelenda Diego wrote: > On Sat, 8 Aug 2020 12:54:37 +0200 > Hans Petter Selasky wrote: > >> On 2020-08-07 15:25, Abelenda Diego wrote: >>> Hello, >>> >>> I have discovered that I had a multicast issue for years I did not = >>> know >>> about. I use a FreeBSD (opnsense) setup as router for my home = >>> network and >>> have igmpproxy for IPTV. Somehow everything seems to work, until I = >>> realized >>> that my ISP was making a DoS with multicast. It is pretty much what = >>> was >>> described years ago here: >>> https://forum.netgate.com/topic/62591/igmp-issues-causing-isp-to-perf= orm-multicast-dos-on-my-pfsense/7. >>> But the solution of not using FreeBSD seem weird. So dug a lot = >>> learning >>> about Multicast IGMPv{2,3} etc in the process. Here is an abstract = >>> of what >>> I found: >> >> Which version of FreeBSD is this (uname -a) ? >> >> There has been some fixes in the multicast area from time to time, = >> and >> you should make sure you've got all the fixes incorporated in the = >> kernel >> you are using, typically by testing a kernel based on a -stable or >> -current branch of FreeBSD. >> >> --HPS >> > > Hello, > > This is opnsense, so it is not like I can change kernel as I want. = > Moreover the > kernel used by opnsense has some patches for stf 6rd support for = > example, > things like that. > > Anyway, the kernel I use is: > > FreeBSD $hostname 12.1-RELEASE-p7-HBSD FreeBSD 12.1-RELEASE-p7-HBSD #0 = > 427d53bc125(stable/20.7)-dirty: Sun Jul 26 05:51:42 CEST 2020 = > root@sensey64:/usr/obj/usr/src/amd64.amd64/sys/SMP amd64 > > But from what you are asking, it seems you suggest my issue is kernel = > related > and in no way a userspace problem. So I cannot do anything to mitigate = > the > issue? > > BTW I said reset the interface fixed the issue, but in fact, I need to = > reboot, > I found no way to clear the multicast group memberships. Is this related to: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248512 and the there= = referenced other bugs? /bz