From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 21 21:10:22 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DB7816A4DA for ; Mon, 21 Aug 2006 21:10:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEB0243D68 for ; Mon, 21 Aug 2006 21:10:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7LLAHXE076891 for ; Mon, 21 Aug 2006 21:10:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7LLAHnv076887; Mon, 21 Aug 2006 21:10:17 GMT (envelope-from gnats) Resent-Date: Mon, 21 Aug 2006 21:10:17 GMT Resent-Message-Id: <200608212110.k7LLAHnv076887@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Radim Kolar Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C7BC16A4DA for ; Mon, 21 Aug 2006 21:05:28 +0000 (UTC) (envelope-from hsn@netmag.cz) Received: from smtp-out4.iol.cz (smtp-out4.iol.cz [194.228.2.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9CE643D45 for ; Mon, 21 Aug 2006 21:05:27 +0000 (GMT) (envelope-from hsn@netmag.cz) Received: from antivir4.iol.cz (avir4 [192.168.30.209]) by smtp-out4.iol.cz (Postfix) with ESMTP id 174E21FA58F for ; Mon, 21 Aug 2006 23:05:25 +0200 (CEST) Received: from localhost (antivir4.iol.cz [127.0.0.1]) by antivir4.iol.cz (Postfix) with ESMTP id EEF3424003C for ; Mon, 21 Aug 2006 23:05:24 +0200 (CEST) Received: from smtp-out4.iol.cz (smtp-out-4.iplanet.iol.cz [192.168.30.31]) by antivir4.iol.cz (Postfix) with ESMTP id D54E724003B for ; Mon, 21 Aug 2006 23:05:24 +0200 (CEST) Received: from sanatana.dharma (96.219.broadband3.iol.cz [85.70.219.96]) by smtp-out4.iol.cz (Postfix) with ESMTP id 9C75122AF18 for ; Mon, 21 Aug 2006 23:05:24 +0200 (CEST) Received: from hsn@localhost by sanatana.dharma (Exim 4.63_0 FreeBSD) id 1GFGxX-000GXH-9F ; Mon, 21 Aug 2006 23:05:23 +0200 Message-Id: Date: Mon, 21 Aug 2006 23:05:23 +0200 From: Radim Kolar To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: hsn@localhost.iol.cz Subject: kern/102361: [if_bridge] don't forwards outgoing broadcasts to local process X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Radim Kolar List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2006 21:10:22 -0000 >Number: 102361 >Category: kern >Synopsis: [if_bridge] don't forwards outgoing broadcasts to local process >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 21 21:10:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Radim Kolar >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD sanatana.dharma 6.1-STABLE FreeBSD 6.1-STABLE #2: Tue Jun 27 10:46:03 CEST 2006 root@sanatana.dharma:/usr/obj/usr/src/sys/UP i386 >Description: When using if_bridge broadcasts generated by local process are not seen by itself or other programs on same machine, but they are going to wire and other computers well, broadcasts from other machines are received fine too. >How-To-Repeat: I recommend to use rwho/rwhod/ruptime for testing. test machine setup. no need to have more machines for testing this case fxp0: flags=8943 mtu 1500 options=8 inet6 fe80::2a0:c9ff:fe0f:971e%fxp0 prefixlen 64 scopeid 0x1 ether 00:a0:c9:0f:97:1e ed0: flags=8943 mtu 1500 inet6 fe80::200:1ff:fe02:2056%ed0 prefixlen 64 scopeid 0x2 ether 00:00:01:02:20:56 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 inet 127.0.0.2 netmask 0xff000000 bridge0: flags=8143 mtu 1500 inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255 ether 0a:0f:6e:27:2d:a6 priority 32768 hellotime 2 fwddelay 15 maxage 20 member: ed0 flags=3 member: fxp0 flags=3 run rwhod here with this retup rwho will not see its own announcements, it can see other machines on network but not self. You can test it with rwho or ruptime commands. other machines can see entire network well sanatana# tcpdump -ni bridge0 udp listening on bridge0, link-type EN10MB (Ethernet), capture size 96 bytes ->our broadcast IP 10.0.0.2.513 > 10.0.0.255.513: UDP, length 180 ->from other pc IP 10.0.0.4.513 > 10.0.0.255.513: UDP, length 84 >Fix: >Release-Note: >Audit-Trail: >Unformatted: