Re: [squid-users] premium proxy services

From: Hement Gopal <hementg@dont-contact.us>
Date: Fri, 17 Feb 2006 15:12:40 +0200

Mark Elsen wrote:

> O
>
>>Hi mark
>>
>>I still get asked for authentication
>>
>>here are my cache_peer inserts
>>
>>acl wits src X.X.0.0/255.255.0.0
>>acl premium-sites url_regex -i "/usr/local/squid/etc/premium-sites.txt"
>>cache_peer XXX.domain.ac.za parent 80 3130 proxy-only no-query no-digest
>>login=user:password
>>cache_peer_access xxx.domain.ac.za allow premium-sites
>>cache_peer_access xxx.domain.ac.za deny wits
>>
>>
>>
>>and my access.log entries. for testing, i've put cnn.com as a premium site.
>>
>>s.hementg FIRST_UP_PARENT/xxx.domain.ac.za text/html
>>1140180422.032 806 146.141.77.33 TCP_MISS/407 1746 GET
>>http://www.cnn.com/ cns.hementg FIRST_UP_PARENT/xxx.domain.ac.za text/html
>>1140180423.861 835 146.141.77.33 TCP_MISS/407 1746 GET
>>http://www.cnn.com/ cns.hementg FIRST_UP_PARENT/xxx.domain.ac.za text/html
>>
>>
>
>
> 407 is access denied.
>
> - Are the auth. data correct ?
> - does :
>
> % squid -k parse
>
> give any info and or errors ?
>
> M.
>
Hi Mark

Auth details are correct

but here are some errors. they are errors but squid runs fine with them (??)

2006/02/17 15:07:22| aclParseIpData: Bad host/IP: '-i'
2006/02/17 15:07:22| aclParseIpData: Bad host/IP: '-i'
2006/02/17 15:07:22| parseConfigFile: line 2130 unrecognized:
'testproxy.wits.ac.za'
2006/02/17 14:46:32| WARNING: rejecting 'localhost' as a name server,
because it is not a numeric IP address
2006/02/17 14:46:32| Adding nameserver x.x.x.x from /etc/resolv.conf
2006/02/17 14:46:32| helperOpenServers: Starting 25 'ncsa_auth' processes
2006/02/17 14:46:34| Accepting HTTP connections at 0.0.0.0, port 80, FD 6.
2006/02/17 14:46:34| Accepting ICP messages at 0.0.0.0, port 3130, FD 33.
2006/02/17 14:46:34| Accepting SNMP messages on port 3401, FD 35.
Received on Sun Feb 19 2006 - 07:32:15 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST