From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 11 09:10:27 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 14B7916A407 for ; Wed, 11 Oct 2006 09:10:27 +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 D55B643D4C for ; Wed, 11 Oct 2006 09:10:26 +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 k9B9AQg8040485 for ; Wed, 11 Oct 2006 09:10:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9B9AQiS040482; Wed, 11 Oct 2006 09:10:26 GMT (envelope-from gnats) Date: Wed, 11 Oct 2006 09:10:26 GMT Message-Id: <200610110910.k9B9AQiS040482@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Yar Tikhiy Cc: Subject: Re: kern/103950: [netinet] [patch] Broadcast packets are not forwarded X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Yar Tikhiy List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2006 09:10:27 -0000 The following reply was made to PR kern/103950; it has been noted by GNATS. From: Yar Tikhiy To: bug-followup@FreeBSD.org, damien.deville@netasq.com Cc: Subject: Re: kern/103950: [netinet] [patch] Broadcast packets are not forwarded Date: Wed, 11 Oct 2006 13:06:59 +0400 This case is well-known as directed broadcasts. FreeBSD might have it disabled on purpose. See RFC 2644 aka BCP 34. Formerly there was a sysctl for enabling directed broadcasts, IPCTL_DIRECTEDBROADCAST aka "directed-broadcast", obtained from NetBSD -- see netinet/in.h rev. 1.11 and netinet/ip_input.c rev. 1.26. Its definition still is in netinet/in.h but unused. It can be just re-introduced. See NetBSD's netinet/ip_input.c for example, search for "ip_directedbcast". Apropos, did you test how the fastforward path would handle directed broadcasts? -- Yar