Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 1999 17:25:39 -0400 (EDT)
From:      Mikhail Teterin <mi@misha.cisco.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/11296: fetch(1) fails to resolve names in http mode under SOCKS5
Message-ID:  <199904232125.RAA98100@misha.cisco.com>

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

>Number:         11296
>Category:       bin
>Synopsis:       fetch(1) fails to resolve names in http mode under SOCKS5
>Confidential:   yes
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 23 14:30:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Mikhail Teterin
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
Virtual Estates, Inc.
>Environment:

	FETCH_CMD = /usr/local/bin/runsocks /usr/bin/fetch -p
	on my behind-the-firewall, private-IP machine

>Description:

	The setting works perfectly for ftp MASTER_SITES. However,
	it _always_ fails to resolve a name of http server. ALWAYS.
	If given the server's IP address, it works again.

	This is not new -- I've seen it for a while on 3.1 and 2.2.[78]
	machines, but was blaming it on some DNS glitching.

>How-To-Repeat:

	# Install the socks5 port.
	nslookup www.yahoo.com
	.... works
	nslookup ftp.freebsd.org
	.... works
	/usr/local/bin/runsocks /usr/bin/fetch -p ftp://ftp.freebsd.ort/.message
	.... works
	/usr/local/bin/runsocks /usr/bin/fetch http://www.yahoo.com/
	fetch: `www.yahoo.com': cannot resolve: Host name lookup failure

>Fix:
	
	Use the ftp servers or the IP addresses.

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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