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

Maxim Konovalov maxim at macomnet.ru
Mon Jun 12 07:40:20 UTC 2006


The following reply was made to PR bin/98839; it has been noted by GNATS.

From: Maxim Konovalov <maxim at macomnet.ru>
To: Andrus Nomm <andrus at wask.org>
Cc: bug-followup at 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


More information about the freebsd-bugs mailing list