Re[2]: [squid-users] debug info

From: Shilov Ilya <[email protected]>
Date: Mon, 10 Dec 2001 15:07:26 +0400

Good day!

HN> Hmm.. what is your positive_dns_ttl setting? (default is 6 hours)
This string is commented in squid.conf. So it is default.
And no matter wherever i use '--disable-internal-dns' in compile time or
no... the result is identical.
DNS server is running on the same machine.
/etc/resolv.conf:
> nameserver 127.0.0.1

HN> The fact that you get ERR_FORWARDING_DENIED suggests you are using
HN> miss_access.. any specific reason to this? miss_access is a little picky
HN> about what types of acl's you use and is not particulary fond of dst or
HN> other acl's that may require external lookups..
Yes, i use miss_access.

HN> miss_access is only supposed to be used when you have cache peers that
HN> is only allowed to use you as a sibling and not as a parent, so it is
HN> kind of assumed that only src ACL types will be used in miss_access. All
HN> your proxy clients should be given miss_access.

HN> miss_access is not a knob one normally uses for controlling access to
HN> the proxy, thats the job of http_access.
Thanks for suggestion.
But may be a query is already cached, why we should deny http_access?

More details:
--------
The first query: http://mail.izh.com/
Result:
HN> 2001/12/10 14:16:18| ipcache_gethostbyname: 'mail.izh.com', flags=1
HN> 2001/12/10 14:16:18| ipcache_gethostbyname: 'mail.izh.com', flags=1
HN> 2001/12/10 14:16:18| ipcache_gethostbyname: 'mail.izh.com', flags=1
HN> 2001/12/10 14:16:18| ipcache_nbgethostbyname: Name 'mail.izh.com'.
HN> 2001/12/10 14:16:18| ipcache_nbgethostbyname: HIT for 'mail.izh.com'
HN> 2001/12/10 14:16:18| ipcacheCycleAddr: mail.izh.com now at 217.14.192.22
Then we POSTing the form data to script, which redirects as to
http://mail.izh.com/Session/2025-wUB5STJigolZqanRpN6P/Hello.html
Result:
HN> 2001/12/10 14:18:04| ipcache_gethostbyname: 'mail.izh.com', flags=1
HN> 2001/12/10 14:18:04| ipcache_nbgethostbyname: Name 'mail.izh.com'.
HN> 2001/12/10 14:18:04| ipcache_nbgethostbyname: MISS for 'mail.izh.com'
HN> 2001/12/10 14:18:04| ipcache_gethostbyname: 'mail.izh.com', flags=1
HN> 2001/12/10 14:18:04| ipcache_nbgethostbyname: Name 'mail.izh.com'.
HN> 2001/12/10 14:18:04| ipcache_nbgethostbyname: MISS for 'mail.izh.com'
HN> 2001/12/10 14:18:04| ipcache_gethostbyname: 'mail.izh.com', flags=1
HN> 2001/12/10 14:18:04| ipcache_nbgethostbyname: Name 'mail.izh.com'.
HN> 2001/12/10 14:18:04| ipcache_nbgethostbyname: MISS for 'mail.izh.com'
HN> 2001/12/10 14:18:04| ipcache_gethostbyname: 'mail.izh.com', flags=1
HN> 2001/12/10 14:18:04| ipcache_nbgethostbyname: Name 'mail.izh.com'.
HN> 2001/12/10 14:18:04| ipcache_nbgethostbyname: MISS for 'mail.izh.com'
HN> 2001/12/10 14:18:04| ipcacheParse: parsing: {$addr 0 217.14.192.22}
HN> 2001/12/10 14:18:04| ipcacheParse: parsing: {$addr 0 217.14.192.22}
HN> 2001/12/10 14:18:04| ipcacheParse: parsing: {$addr 0 217.14.192.22}
HN> 2001/12/10 14:18:04| ipcacheParse: parsing: {$addr 0 217.14.192.22}

The most strange thing in this situation is when i get
ERR_FORWARDING_DENIED:
HN> While trying to retrieve the URL: http://mail.izh.com/Session/2025-wUB5STJigolZqanRpN6P/Hello.html
HN> The following error was encountered:
HN> Forwarding Denied.
I click the link on this page and SQUID forwards a query
normally, as it should do!!!!

Thanks, again...

Best regards,
 Shilov mailto:sia@nalog.udm.ru
Received on Mon Dec 10 2001 - 04:07:40 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:17 MST