NetBSD Problem Report #47738
From christos@astron.com Fri Apr 12 21:24:40 2013
Return-Path: <christos@astron.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id D688763E5A8
for <gnats-bugs@gnats.NetBSD.org>; Fri, 12 Apr 2013 21:24:39 +0000 (UTC)
Message-Id: <20130412200720.BA23714B69@quasar.astron.com>
Date: Fri, 12 Apr 2013 20:07:20 +0000 (UTC)
From: christos@netbsd.org
Reply-To: christos@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: connect(2) to 239.x.y.z should return net unreachable but it does not
X-Send-Pr-Version: 3.95
>Number: 47738
>Category: kern
>Synopsis: connect(2) to 239.x.y.z should return net unreachable but it does not
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 12 21:25:00 +0000 2013
>Closed-Date: Mon Oct 07 07:34:48 +0000 2013
>Last-Modified: Mon Oct 07 07:34:48 +0000 2013
>Originator: Christos Zoulas
>Release: NetBSD 6.99.19
>Organization:
Boredom International
>Environment:
System: NetBSD quasar.astron.com 6.99.19 NetBSD 6.99.19 (QUASAR) #54: Fri Apr 12 12:57:48 EDT 2013 christos@quasar.astron.com:/usr/src/sys/arch/amd64/compile/QUASAR amd64
Architecture: x86_64
Machine: amd64
>Description:
Connect returns EINPROGRESS with the underlying socket error from
getsockopt == 0.
>How-To-Repeat:
try telnet 239.10.20.30 80
>Fix:
make the kernel smarter. If it tries to route the address and it is
in the unroutable address space kill it immediately.
>Release-Note:
>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/47738 CVS commit: src/sys
Date: Fri, 12 Apr 2013 17:30:40 -0400
Module Name: src
Committed By: christos
Date: Fri Apr 12 21:30:40 UTC 2013
Modified Files:
src/sys/netinet: in_pcb.c
src/sys/netinet6: in6_pcb.c
Log Message:
PR/47738: connect(2) to 239.x.y.z should return error but does not.
To generate a diff of this commit:
cvs rdiff -u -r1.143 -r1.144 src/sys/netinet/in_pcb.c
cvs rdiff -u -r1.121 -r1.122 src/sys/netinet6/in6_pcb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 07 Oct 2013 07:34:48 +0000
State-Changed-Why:
submitter fixed it himself
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.