From nobody@FreeBSD.org  Sat Oct  9 21:51:05 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 42C2316A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  9 Oct 2004 21:51:05 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 23B7343D31
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  9 Oct 2004 21:51:05 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i99Lp504035299
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 9 Oct 2004 21:51:05 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i99Lp4pK035298;
	Sat, 9 Oct 2004 21:51:05 GMT
	(envelope-from nobody)
Message-Id: <200410092151.i99Lp4pK035298@www.freebsd.org>
Date: Sat, 9 Oct 2004 21:51:05 GMT
From: Magnus L <knatte@disney.mine.nu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: OS do not know how to handle broadcast...
X-Send-Pr-Version: www-2.3

>Number:         72468
>Category:       kern
>Synopsis:       OS does not know how to handle broadcast...
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    andre
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 09 22:00:45 GMT 2004
>Closed-Date:    Mon Mar 05 10:11:20 GMT 2007
>Last-Modified:  Mon Mar 05 10:11:20 GMT 2007
>Originator:     Magnus L
>Release:        FreeBSD 5.3 Beta 4
>Organization:
>Environment:
Not nessecary for this bug...
>Description:
      I use wakeonlan but when sending to 255.255.255.255 so on mac level the machine tries to send packets to default gw insted of FFFFFFF.... 
>How-To-Repeat:
      use wakeonlan or something that sends to broadcast...
>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Oct 24 00:20:47 GMT 2004 
Responsible-Changed-Why:  
This does not sound i386-specific. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72468 

From: Robert Watson <rwatson@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/72468: OS does not know how to handle broadcast...
Date: Mon, 3 Jan 2005 18:48:37 +0000 (GMT)

 On Sun, 24 Oct 2004, Mark Linimon wrote:
 
 > Synopsis: OS does not know how to handle broadcast...
 > 
 > Responsible-Changed-From-To: freebsd-i386->freebsd-bugs
 > Responsible-Changed-By: linimon
 > Responsible-Changed-When: Sun Oct 24 00:20:47 GMT 2004
 > Responsible-Changed-Why: 
 > This does not sound i386-specific.
 
 The submitter may be interested in the following socket option documented
 in ip(4);
 
      If the IP_ONESBCAST option is enabled on a SOCK_DGRAM or a SOCK_RAW
      socket, the destination address of outgoing broadcast datagrams on that
      socket will be forced to the undirected broadcast address,
      INADDR_BROADCAST, before transmission.  This is in contrast to the
      default behavior of the system, which is to transmit undirected broad-
      casts via the first network interface with the IFF_BROADCAST flag set.
 
 Sample code is present in the ip(4) man page.
 
 Robert N M Watson
 
 

From: Brian Candler <B.Candler@pobox.com>
To: bug-followup@FreeBSD.org, knatte@disney.mine.nu
Cc:  
Subject: Re: kern/72468: OS does not know how to handle broadcast...
Date: Tue, 18 Oct 2005 15:11:57 +0100

 You can replicate this easily with 'ping 255.255.255.255' and
 'tcpdump -i fxp0 -n -e'. tcpdump shows packets being encapsulated to the
 default router's MAC address rather than ff:ff:ff:ff:ff:ff
 
 I see this with both fxp0 and vr0, so I don't think it's driver-specific.
 
 This appears to be a regression from FreeBSD 4.x. See also
 http://lists.freebsd.org/pipermail/freebsd-net/2005-October/008626.html
Responsible-Changed-From-To: freebsd-bugs->andre 
Responsible-Changed-By: andre 
Responsible-Changed-When: Tue Oct 18 17:11:29 GMT 2005 
Responsible-Changed-Why:  
Take over. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72468 

From: Gleb Smirnoff <glebius@FreeBSD.org>
To: Brian Candler <B.Candler@pobox.com>
Cc: bug-followup@FreeBSD.org, andre@FreeBSD.org
Subject: Re: kern/72468: OS does not know how to handle broadcast...
Date: Sun, 23 Oct 2005 12:53:05 +0400

 On Tue, Oct 18, 2005 at 02:20:16PM +0000, Brian Candler wrote:
 B>  You can replicate this easily with 'ping 255.255.255.255' and
 B>  'tcpdump -i fxp0 -n -e'. tcpdump shows packets being encapsulated to the
 B>  default router's MAC address rather than ff:ff:ff:ff:ff:ff
 B>  
 B>  I see this with both fxp0 and vr0, so I don't think it's driver-specific.
 B>  
 B>  This appears to be a regression from FreeBSD 4.x. See also
 B>  http://lists.freebsd.org/pipermail/freebsd-net/2005-October/008626.html
 
 I have just checked that FreeBSD 4.10 and 4.11 behave like 5.4. You
 speak about 4.9 in the above quoted URL. Looks like this narrows
 the search for regression.
 
 btw, this thing makes me really angry:
 
    ----- The following addresses had permanent fatal errors -----
 <B.Candler@pobox.com>
     (reason: 554 <B.Candler@pobox.com>: Recipient address rejected: country/russia returned deny: client hostname cell.sick.ru matches TLD .ru (russia))
 
 -- 
 Totus tuus, Glebius.
 GLEBIUS-RIPN GLEB-RIPE

From: Gleb Smirnoff <glebius@FreeBSD.org>
To: Brian Candler <B.Candler@pobox.com>
Cc: bug-followup@FreeBSD.org, andre@FreeBSD.org
Subject: Re: kern/72468: OS does not know how to handle broadcast...
Date: Sun, 23 Oct 2005 13:30:51 +0400

   Well, I have checked that 4.8-RELEASE doesn't send to ff:ff:ff:ff:ff:ff,
 too, when using ping 255.255.255.255. So it looks like the regression
 is not in the ping behavior, but in your application only.
 
 What is this application? May be it uses the IP_ONESBCAST option?
 
 -- 
 Totus tuus, Glebius.
 GLEBIUS-RIPN GLEB-RIPE
State-Changed-From-To: open->closed 
State-Changed-By: bms 
State-Changed-When: Mon Mar 5 10:11:03 UTC 2007 
State-Changed-Why:  
Sends to 255.255.255.255 have been resolved in 7.x and 6.x 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72468 
>Unformatted:
