Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2006 01:11:56 GMT
From:      Andrus Nomm <andrus@wask.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/98839: fetch gives error message on ip binding, but binding works
Message-ID:  <200606120111.k5C1Bu12033307@www.freebsd.org>
Resent-Message-ID: <200606120120.k5C1K57m059185@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         98839
>Category:       bin
>Synopsis:       fetch gives error message on ip binding, but binding works
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 12 01:20:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andrus Nomm
>Release:        4.11-RELEASE-p10
>Organization:
>Environment:
FreeBSD cell.wask.org 4.11-RELEASE-p10 FreeBSD 4.11-RELEASE-p10 #14: Fri Jun 10 21:40:26 EEST 2005     root@cell.members.ee:/usr/obj/usr/src/sys/MEMBERS  i386

>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
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606120111.k5C1Bu12033307>