[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Install bug/message



On Sat, Apr 27, 2013 at 09:37:29AM +0200, Wolfgang Schweer wrote:
> On Sat, Apr 27, 2013 at 07:26:11AM +0200, Petter Reinholdtsen wrote:
> > [Wolfgang Schweer]
> > > As far as I could find out, direct:// is set by libproxy-tools. The 
> > > package seems to be poorly documented. Had a look at the source code,
> > > but wasn't able to figure out anything.
> > 
> > What is the output of 'host wpad' and 'GET http://wpad/wpad.dat' on
> > the host in question?  I suspect it isn't what I expect. :)
 
Same thing on LTSP client:
 
root@ltsp4116:~# host wpad
wpad.intern is an alias for tjener.intern.
tjener.intern has address 10.0.2.2
root@ltsp4116:~# GET http://wpad/wpad.dat
501 Protocol scheme 'direct' is not supported
root@ltsp4116:~# http_proxy= GET http://wpad/wpad.dat
function FindProxyForURL(url, host)
    {
        if (!isResolvable(host) ||
            isPlainHostName(host) ||
            dnsDomainIs(host, ".intern"))
            return "DIRECT";
        else
            return "PROXY webcache:3128; DIRECT";
    }
root@ltsp4116:~# env|grep proxy
http_proxy=direct://
ftp_proxy=direct://
https_proxy=direct://
root@ltsp4116:~# 


Wolfgang

Attachment: signature.asc
Description: Digital signature


Reply to: