From owner-freebsd-net@FreeBSD.ORG Wed Nov 9 12:49:06 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25E80106564A for ; Wed, 9 Nov 2011 12:49:06 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id A8A808FC19 for ; Wed, 9 Nov 2011 12:49:05 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so1798976bkb.13 for ; Wed, 09 Nov 2011 04:49:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=6fks+xN3KkGoFxwPoIh5rZWBT8QttjAH4ZkLjkdKXZU=; b=hP4ScrqU8ffF7LZJbklN2GPUhLcRB0fg3zYb08zoz/c9DA/IhOBxQ51EW8/sLYCTkr 3FmayI0IeJMyCqovR84w7Ba/arCYXZolHAUBwLTkLNc9lvA9gXQYsRtVbmPHbMPr1ZWq 1BIlx72y6DxHDXuV9QRs6ByRFLG77Yj6AQ8iE= MIME-Version: 1.0 Received: by 10.152.106.115 with SMTP id gt19mr1449909lab.27.1320842944410; Wed, 09 Nov 2011 04:49:04 -0800 (PST) Received: by 10.152.9.10 with HTTP; Wed, 9 Nov 2011 04:49:04 -0800 (PST) In-Reply-To: References: Date: Wed, 9 Nov 2011 16:49:04 +0400 Message-ID: From: Pavel Timofeev To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Possible MROUTING regression in 9.0 RC1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2011 12:49:06 -0000 Crashes is often, even on different hardware (another server) [root@timp ~]# /usr/local/sbin/igmpproxy -dvv /usr/local/etc/igmpproxy.conf Searching for config file at '/usr/local/etc/igmpproxy.conf' Config: Quick leave mode enabled. Config: Got a phyint token. Config: IF: Config for interface re0. Config: IF: Got upstream token. Config: IF: Got ratelimit token '0'. Config: IF: Got threshold token '1'. Config: IF: Got altnet token 172.31.242.0/24. Config: IF: Altnet: Parsed altnet to 172.31.242/24. IF name : re0 Next ptr : 0 Ratelimit : 0 Threshold : 1 State : 1 Allowednet ptr : c71040 Config: Got a phyint token. Config: IF: Config for interface bridge0. Config: IF: Got downstream token. Config: IF: Got ratelimit token '0'. Config: IF: Got threshold token '1'. IF name : bridge0 Next ptr : 0 Ratelimit : 0 Threshold : 1 State : 2 Allowednet ptr : 0 Config: Got a phyint token. Config: IF: Config for interface lo0. Config: IF: Got disabled token. IF name : lo0 Next ptr : 0 Ratelimit : 0 Threshold : 1 State : 0 Allowednet ptr : 0 Config: Got a phyint token. Config: IF: Config for interface plip0. Config: IF: Got disabled token. IF name : plip0 Next ptr : 0 Ratelimit : 0 Threshold : 1 State : 0 Allowednet ptr : 0 buildIfVc: Interface re0 Addr: 10.85.13.39, Flags: 0xffff8843, Network: 10.85.13/24 buildIfVc: Interface lo0 Addr: 127.0.0.1, Flags: 0xffff8049, Network: 127/8 buildIfVc: Interface bridge0 Addr: 172.16.254.1, Flags: 0xffff8843, Network: 172.16.254/24 Found config for re0 Found config for bridge0 adding VIF, Ix 0 Fl 0x0 IP 0x270d550a re0, Threshold: 1, Ratelimit: 0 Network for [re0] : 10.85.13/24 Network for [re0] : 172.31.242/24 adding VIF, Ix 1 Fl 0x0 IP 0x01fe10ac bridge0, Threshold: 1, Ratelimit: 0 Network for [bridge0] : 172.16.254/24 Got 262144 byte buffer size in 0 iterations Joining all-routers group 224.0.0.2 on vif 172.16.254.1 joinMcGroup: 224.0.0.2 on bridge0 SENT Membership query from 172.16.254.1 to 224.0.0.1 Sent membership query from 172.16.254.1 to 224.0.0.1. Delay: 10 Created timeout 1 (#0) - delay 10 secs (Id:1, Time:10) Created timeout 2 (#1) - delay 21 secs (Id:1, Time:10) (Id:2, Time:21) received packet from 172.16.254.1 shorter (28 bytes) than hdr+data length (20+28) received packet from 172.16.254.1 shorter (32 bytes) than hdr+data length (24+32) About to call timeout 1 (#0) Aging routes in table. Current routing table (Age active routes): ----------------------------------------------------- No routes in table... ----------------------------------------------------- received packet from 10.85.13.5 shorter (28 bytes) than hdr+data length (20= +28) ^Cselect() failure; Errno(4): Interrupted system call Got a interupt signal. Exiting. clean handler called All routes removed. Routing table is empty. Shutdown complete.... 2011/11/8 Pavel Timofeev : > And sometimes igmpproxy's shutdown lead to crash of my system. > Without any panics, it just reboots. oO > > 2011/11/7 Pavel Timofeev : >> Hello! I have problems with ip_mroute (loaded as module) - kernel >> multicast packet forwarder. >> I have 2 disk: freebsd 8.2 release amd64 on first and freebsd 9.0 rc1 on= second. >> I use net/igmpproxy to watch IPTV on my home atom-based router. >> >> On FreeBSD 8.2 it works good. >> >> But when I try to use FreeBSD 9.0 RC-1 in same role (with same >> configs, of cource) I have messages like: >> Nov =C2=A07 16:16:46 timp igmpproxy[35495]: received packet from >> 172.16.254.1 shorter (28 bytes) than hdr+data length (20+28) >> Nov =C2=A07 16:16:47 timp igmpproxy[35495]: received packet from >> 172.16.254.1 shorter (32 bytes) than hdr+data length (24+32) >> Nov =C2=A07 16:17:28 timp igmpproxy[35495]: received packet from 10.85.1= 3.5 >> shorter (28 bytes) than hdr+data length (20+28) >> And IPTV doesn't work =3D( >> >> Any ideas? >> Do you need configs? >> >