Search squid archive

RE: [squid-users] never use redirector for master user

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

 



> > From: Robert Becskei [mailto:brobiwbe@xxxxxxxxxxxxx]
> > Hello,
> >
> >  with the help of the people at this mailing list I managed to
> > configure my
> > proxy server so that there is a master
> > user who can do anything, and there is normal internet user who
> can only
> > browse and download a few types of files.
> >
> >  my problem is :
> >
> >  redirect_program /usr/bin/squidGuard
> >  redirect_children 4
> >
> >  is there a way to never redirect master user ? so he can browse porn
> > sites...?
>
> Let SquidGuard do this.
>
> Set up an ACL and rule in SquidGuard along the lines of:
>
> acl {
>     master {
>         pass     any
>     }
>
>     normal {
>         pass !porn !whateverelse any
>         redirect http://<somesite.com>/
>     }
> }
>
> This will allow master to go anywhere but normal to go anywhere
> except porn and whateverelse.

You could even make this more simple by:

acl {
     master {
         pass     any
     }

     default {
         pass !porn !whateverelse any
         redirect http://<somesite.com>/
     }
}

This doesn't even require the specification of a 'normal' group.

PS my previous post had an implied 'default' rule, but that may have not
been clear..



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux