Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2006 07:40:19 GMT
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/98839: fetch gives error message on ip binding, but binding works
Message-ID:  <200606120740.k5C7eJAg085652@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/98839; it has been noted by GNATS.

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



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