Rick,

    I can telnet to port 80 on 192.168.0.2.
    I cannot telnet to port 80 on proxy.DOMAINNAME.com either by name or IP
the connection is refused.

Which one of the messages below shows that I am not connectioning to the
webserver?

I have looked at all my log files to try and find out why I am being refused
but I can not find anything in them. Which one should I be looking in?

Still confused as to why Squid works but squidGuard does not.

BTW Thanks for your help in this matter.

----- Original Message -----
From: "Rick Matthews" <[EMAIL PROTECTED]>
To: "squidguard" <[EMAIL PROTECTED]>
Sent: Friday, November 15, 2002 2:16 PM
Subject: RE: Redirection Troubles


> Squid is not being allowed to connect to your webserver.
>
> Can you telnet to port 80 on proxy.DOMAINNAME.com from the squid box?
>
> Rick
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Gainer
> > Sent: Friday, November 15, 2002 8:04 AM
> > To: squidguard
> > Subject: Re: Redirection Troubles
> >
> >
> >
> > From access.log
> > 1037368706.369     79 192.168.0.10 TCP_MISS/503 1047 GET
> > http://www.hackers.com/ - NONE/- -
> >
> >
> > From squidGuard.log
> > 2002-11-15 07:57:43 [9186] init domainlist
> > /var/lib/squidGuard/blacklists/hacking/domains
> > 2002-11-15 07:57:43 [9183] init domainlist
> > /var/lib/squidGuard/blacklists/hacking/domains
> > 2002-11-15 07:57:43 [9187] init domainlist
> > /var/lib/squidGuard/blacklists/hacking/domains
> > 2002-11-15 07:57:43 [9185] init domainlist
> > /var/lib/squidGuard/blacklists/hacking/domains
> > 2002-11-15 07:57:43 [9184] init domainlist
> > /var/lib/squidGuard/blacklists/hacking/domains
> > 2002-11-15 07:57:43 [9183] init urllist
> > /var/lib/squidGuard/blacklists/hacking/urls
> > 2002-11-15 07:57:43 [9185] init urllist
> > /var/lib/squidGuard/blacklists/hacking/urls
> > 2002-11-15 07:57:43 [9186] init urllist
> > /var/lib/squidGuard/blacklists/hacking/urls
> > 2002-11-15 07:57:43 [9186] squidGuard 1.2.0 started (1037368663.618)
> > 2002-11-15 07:57:43 [9186] squidGuard ready for requests
(1037368663.854)
> > 2002-11-15 07:57:43 [9183] squidGuard 1.2.0 started (1037368663.630)
> > 2002-11-15 07:57:43 [9183] squidGuard ready for requests
(1037368663.861)
> > 2002-11-15 07:57:43 [9187] init urllist
> > /var/lib/squidGuard/blacklists/hacking/urls
> > 2002-11-15 07:57:43 [9187] squidGuard 1.2.0 started (1037368663.647)
> > 2002-11-15 07:57:43 [9187] squidGuard ready for requests
(1037368663.880)
> > 2002-11-15 07:57:43 [9184] init urllist
> > /var/lib/squidGuard/blacklists/hacking/urls
> > 2002-11-15 07:57:43 [9184] squidGuard 1.2.0 started (1037368663.608)
> > 2002-11-15 07:57:43 [9184] squidGuard ready for requests
(1037368663.893)
> > 2002-11-15 07:57:43 [9185] squidGuard 1.2.0 started (1037368663.658)
> > 2002-11-15 07:57:43 [9185] squidGuard ready for requests
(1037368663.900)
> >
> > From hacking.log
> > 2002-11-15 07:58:26 [9183] Request(users/hacking/-)
http://www.hackers.com/
> > 192.168.0.10/- - GET
> >
> > ----- Original Message -----
> > From: "Rick Matthews" <[EMAIL PROTECTED]>
> > To: "Jeff Gainer" <[EMAIL PROTECTED]>; "squidguard"
> > <[EMAIL PROTECTED]>
> > Sent: Thursday, November 14, 2002 9:18 PM
> > Subject: RE: Redirection Troubles
> >
> >
> > > When the error occurs, what entries are being written to:
> > >
> > > /var/log/squid/access.log
> > > /var/log/squid/squidGuard.log
> > > /var/log/squid/hacking.log
> > >
> > > Rick
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Gainer
> > > Sent: Wednesday, November 13, 2002 5:58 PM
> > > To: squidguard
> > > Subject: Redirection Troubles
> > >
> > >
> > >     I have squidguard running on RedHat 7.3. This machine is functions
as
> > a firewall with NAT (using iptables), DNS server and Squid
> > > Proxy(using Transparent Proxy). My webserver (apache using virtual
hosts)
> > is on a different computer using a non-routable IP
> > > 192.168.X.X.
> > >
> > >     The problem I have is that I can get web pages off the vitual
hosts
> > with no problem however. When I add squidquard into the
> > > squid.conf  the page I get redirected to a page that shows the
following.
> > >
> > > Can anyone help me with this problem.
> > >
> > > Jeff
> > >
> > > ERROR
> > > The requested URL could not be retrieved
> > >
> > >
> > >
> > > While trying to retrieve the URL: http://proxy.DOMAINNAME.com
> > > The following error was encountered:
> > > Connection Failed
> > > The system returned:
> > >     (111) Connection refused
> > > The remote host or network may be down. Please try the request again.
> > > Your cache administrator is root.
> > >
> > >
> > >
> > > My squid.conf has the following in it
> > > redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
> > >
> > > and have my squidGuard.conf set up with the following
> > >
> > > #
> > > # CONFIG FILE FOR SQUIDGUARD
> > > #
> > >
> > > dbhome /var/lib/squidGuard/blacklists
> > > logdir /var/log/squid
> > >
> > > src admin {
> > > # List of IP addesses here
> > >     ip XXX.XXX.XXX.XXX
> > >      }
> > >
> > >
> > > src users {
> > >     # List of IP addesses here
> > >     ip XXX.XXX.XXX.XXX
> > >      }
> > >
> > >
> > >
> > > dest hacking {
> > >  domainlist hacking/domains
> > >  urllist    hacking/urls
> > >         log        hacking.log
> > >      }
> > >
> > >
> > >
> > >
> > > acl {
> > >
> > >  admin {
> > >   pass all
> > >  }
> > >
> > >         users {
> > >                 pass !hacking all
> > >                 redirect http://proxy.DOMAINNAME.com
> > >         }
> > >
> > >
> > >    default {
> > >          pass none
> > >                 redirect http://proxy.DOMAINNAME.com
> > >          }
> > > }
> >
> >

Reply via email to