Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 1995 16:56:04 -0500 (CDT)
From:      faulkner@mpd.tandem.com (Boyd Faulkner)
To:        laufen@sol.med.ge.com (Derek Laufenberg  x7-4534)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SOCKS - anyone?
Message-ID:  <9509262156.AA29747@olympus>
In-Reply-To: <9509261457.AA11867@merak.med.ge.com> from "Derek Laufenberg  x7-4534" at Sep 26, 95 09:57:20 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
> Hi,
> 
> Last weekend I was working on porting the SOCKS 4.2 software to 
> freebsd.  The 4.2 code already had an entry for freebsd1.1.  This worked
> fine to get the code to compile.  When I started testing the clients 
> they would work only if I gave the IP number.  It failed if name resolution
> was required.
> 
> I don't run DNS locally. The SOCKS server is running it and I know that
> works because we have this software installed on or sun network and
> the SOCKS clients work fine there.

I assume you Sun's DNS is set up correctly.  Use the same nameserver as
the Socks server via /etc/resolv.conf 

> 
> Stepping thru the client code it looked like the local system was being 
> used to do name resolution.

Indeed.

> 
> Does anybody on this list use SOCKS?  Any clues about how to get
> the remote server to do the DNS resolution?  

I don't think you can without adding more to the library.  Socks only implements
the sockets stuff.  You would have to implement the DNS stuff. The real question
is... if you have access to the socks server, do you not also have access
to the socks servers name server?  If so, why not use it?  If you want
to resolv with the local /etc/hosts file, you can set that in /etc/host.conf.

Good luck.


Boyd
> 
> 
> Thanks,
> 
> Derek Laufenberg
> laufen@sol.med.ge.com
> 


-- 
_______________________________________________________________________

 Boyd Faulkner - faulkner@isd.tandem.com - http://cactus.org/~faulkner
_______________________________________________________________________



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