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

Re: Good Internet Filtering



Sure... Easy.... in /etc/squid/squid.conf, set the following:

#  TAG: cache_access_log
#       Logs the client request activity.  Contains an entry for
#       every HTTP and ICP queries received.
#

cache_access_log <location>/access.log

THEN, set IE to access the local proxy server :

Open IE
Tools
Internet Options
Connections
Lan Settings
"Use a Proxy Server" and give it the ip address & port number that you setup
in Squid.
Click OK
Click OK

Your all set. The Squid access.log looks like this:

[root@towaway /root]# head /squid/access.log
989772024.937   7462 192.168.0.42 TCP_MISS/200 10643 GET
http://192.168.0.2/index.php - DIRECT/192.168.0.2 text/html
989772028.790   2563 192.168.0.42 TCP_MISS/404 496 GET
http://192.168.0.2/images/book.jpg - DIRECT/192.168.0.2 text/html
989772029.352   2223 192.168.0.42 TCP_MISS/404 494 GET
http://192.168.0.2/img/space.gif - DIRECT/192.168.0.2 text/html
989772030.128   2737 192.168.0.42 TCP_MISS/404 496 GET
http://192.168.0.2/img/smright.gif - DIRECT/192.168.0.2 text/html
989772030.129   2378 192.168.0.42 TCP_MISS/404 497 GET
http://192.168.0.2/img/tnyright.gif - DIRECT/192.168.0.2 text/html
989772139.184  87661 192.168.0.42 TCP_MISS/000 0 GET http://www.aol.com/ -
DIRECT/www.aol.com -
989772162.044  22367 192.168.0.42 TCP_MISS/503 1100 GET
http://www.aol.com/ - DIRECT/www.aol.com -
989772194.042  19210 192.168.0.42 TCP_MISS/000 0 GET http://aol.com/ -
DIRECT/aol.com -
989772194.511    106 192.168.0.42 TCP_MISS/503 1100 GET
http://www.aol.com/ - DIRECT/www.aol.com -
989772302.396  40049 192.168.0.42 TCP_MISS/000 0 GET http://www.yahoo.com/ -
DIRECT/www.yahoo.com -

You can also have the browsers access the Internet like normal and have
Squid "Intercept" the http requests and process them (Transparent Proxy). I
know Squid supports it but I can not tell you how to (One of the many things
I need to do). It's my understanding it's not that hard to do.

   Hopes this helps...

   Goose


----- Original Message -----
From: "Scott Van Singel" <svansingel@sturgis.k12.mi.us>
To: <members@kalamazoolinux.org>
Sent: Wednesday, May 16, 2001 5:06 PM
Subject: Re: Good Internet Filtering


> OK,
>
>  I see that some people use this great Squid but, I have a NT domain and
> would like users to login and have Squid track where they have been.
> Does anyone have any suggestions?
> Also, is anyone running this on the new RH 7.1.
> I want to rebuild our server this summer and get rid of the trash in it.
> Some imput would be nice.
> Thank you
>
> melissa@linuxbox.nu wrote:
>
> > Yep!  We sure are!  We LOVE squid!
> >
> > On Wed, 16 May 2001, Adam Tauno Williams wrote:
> >
> > > >Here at The Linux Box, we support squid because it is powerful, fast
> > > >and almost endlessly extensible..
> > >
> > > Are you the "Linux Box" that advertises on National Public Radio?
> > >
> > >
> > > Systems and Network Administrator
> > > Morrison Industries
> > > 1825 Monroe Ave NW.
> > > Grand Rapids, MI. 49505
> > >
>
>