bin/98839: fetch gives error message on ip binding, but binding works

Andrus Nomm andrus at wask.org
Mon Jun 12 01:20:09 UTC 2006


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


More information about the freebsd-bugs mailing list