From owner-freebsd-bugs@FreeBSD.ORG Mon Jun 12 07:40:20 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 06D4E16A418 for ; Mon, 12 Jun 2006 07:40:20 +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 9DBFC43D46 for ; Mon, 12 Jun 2006 07:40:19 +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 k5C7eJ2U085653 for ; Mon, 12 Jun 2006 07:40:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5C7eJAg085652; Mon, 12 Jun 2006 07:40:19 GMT (envelope-from gnats) Date: Mon, 12 Jun 2006 07:40:19 GMT Message-Id: <200606120740.k5C7eJAg085652@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Maxim Konovalov Cc: Subject: Re: bin/98839: fetch gives error message on ip binding, but binding works X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Maxim Konovalov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2006 07:40:20 -0000 The following reply was made to PR bin/98839; it has been noted by GNATS. From: Maxim Konovalov To: Andrus Nomm Cc: bug-followup@freebsd.org Subject: Re: bin/98839: fetch gives error message on ip binding, but binding works Date: Mon, 12 Jun 2006 11:31:35 +0400 (MSD) > >Description: > While forcing fetch to bind on specific ip (via FETCH_BIND_ADDRESS > variable) it always writes "failed". > > Same time it binds as requested > > Log: > failed to bind to '10.1.1.12' > fetch: ftp://ftp.ee.freebsd.org/pub/FreeBSD/distfiles/libxml2-2.6.26.tar.bz2: File unavailable (e.g., file not found, no access) > > Same time ptrace shows: getsockname(3, {sa_family=AF_INET, > sin_port=htons(2355), sin_addr=inet_addr("10.1.1.12")}, [16]) = 0 > socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 4 > > >How-To-Repeat: > Set enovriment variable to some ip > try to fetch some file Can't reproduce: $ export FETCH_BIND_ADDRESS=195.128.64.25 $ fetch ftp://ftp.ee.freebsd.org/pub/FreeBSD/distfiles/libxml2-2.6.26.tar.bz2 fetch: ftp://ftp.ee.freebsd.org/pub/FreeBSD/distfiles/libxml2-2.6.26.tar.bz2: File unavailable (e.g., file not found, no access) $ uname -r 4.11-STABLE The same for HEAD. Are you sure everything is OK in your environment? -- Maxim Konovalov