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

RE: [linux] SquidGuard



J'ai bien la bonne ligne ecrite dans squid.conf

Quand je suis en session user squid voici ce que ca donne quand je test
squidguard

> echo "http://www.skynet.be 10.5.0.150/- - GET" | /usr/bin/squidGuard
-c /etc/squidguard.conf -d

2002-04-01 17:54:17 [6639] init domainlist
/var/squidGuard/db/blacklist/domains
2002-04-01 17:54:19 [6639] init urllist
/var/squidGuard/db/blacklist/urls
2002-04-01 17:54:19 [6639] squidGuard 1.1.4 started (1017676457.927)
2002-04-01 17:54:19 [6639] squidGuard ready for requests
(1017676459.874)
http://www.skynet.be 10.5.0.150/- - GET
2002-04-01 17:54:19 [6639] squidGuard stopped (1017676459.878)


Je n'ai pas strace d'installer, mais je vais voir a ce.

> -----Original Message-----
> From: linux-admin@lists.unixtech.be
[mailto:linux-admin@lists.unixtech.be]
> On Behalf Of Alexandre Dulaunoy
> Sent: lundi 1 avril 2002 17:32
> To: linux@lists.unixtech.be
> Subject: RE: [linux] SquidGuard
> 
> Dans ta config c'est bien :
> 
> redirect_program /usr/bin/squidGuard -c /etc/squidGuard.conf
> 
> un truc genre avec le bon fichier de config ?
> 
> As-tu essayé un su avec le user squid et de lancer squidguard à la
main ?
> 
> Un petit 'strace' pourrait aider pour voir l"erreur exact ?
> 
> strace -o output-log squid
> 
> Tournes-tu ton squid dans un chroot ?
> 
> --
> Alexandre Dulaunoy
>   Work    : http://www.conostix.com/       adulau@conostix.com
>   Private : http://www.foo.be/		   adulau@foo.be
> 
> "Liberty is the great parent of science and of virtue; and a nation
will
> be great in both in proportion as it is free. " T. Jefferson
> 
> 
> 
> On Mon, 1 Apr 2002, Gillon Benoit wrote:
> 
> > buffy:/var # ls -lisa /usr/bin/squidGuard
> >  118244  432 -rwxr-xr-x    1 root     root       440514 Oct 25 05:24
> > /usr/bin/squidGuard
> >
> > executable avec les bon droit.
> >
> > > -----Original Message-----
> > > From: linux-admin@lists.unixtech.be
> > [mailto:linux-admin@lists.unixtech.be]
> > > On Behalf Of Alexandre Dulaunoy
> > > Sent: lundi 1 avril 2002 17:15
> > > To: linux@lists.unixtech.be
> > > Subject: Re: [linux] SquidGuard
> > >
> > >
> > > ls -lisa /usr/bin/squidGuard
> > >
> > > executable ? lien symbolique ?
> > >
> > >
> > > --
> > > Alexandre Dulaunoy
> > >   Work    : http://www.conostix.com/       adulau@conostix.com
> > >   Private : http://www.foo.be/		   adulau@foo.be
> > >
> > > "Liberty is the great parent of science and of virtue; and a
nation
> > will
> > > be great in both in proportion as it is free. " T. Jefferson
> > >
> > >
> > >
> > > On Mon, 1 Apr 2002, Gillon Benoit wrote:
> > >
> > > > Hello a toutes a et tous.
> > > >
> > > > Je vais re-itérer ma question car je n'ai toujours pas trouver
de
> > > > solution a mon probleme.
> > > >
> > > > J'ai squid sur mon firewall affin de fair du transparent
proxy...
> > > > Jusque la tout va bien..
> > > >
> > > > Pour avoir un peux plus de sécurité j'ai installer aussi
squidguard,
> > et
> > > > la les probleme commence.. lorsque je lance squid il me dit
qu'il
> > > > n'arrive pas a lancer le process squidguard ? Du coup squid ne
> > > > fonctionne pas non plus :( auriez vous une petite info ? Je
tourne
> > en
> > > > Suse 7.3
> > > >
> > > > "squid a bien le droit d'acces en lecture et ecriture dans le
rep de
> > > > squidGuard."
> > > >
> > > >
> > > > voici une copie du /var/log/message au démarage de squid.
> > > >
> > > >
> > > > buffy squid[1768]: Squid Parent: child process 1769 started
> > > > buffy squid[1769]: Starting Squid Cache version
2.3.STABLE4-hno.CVS
> > for
> > > > i686-pc-linux-gnu...
> > > > squid[1769]: Process ID 1769
> > > > squid[1769]: With 4096 file descriptors available
> > > > squid[1769]: DNS Socket created on FD 2
> > > > squid[1769]: Adding nameserver 10.5.0.1 from /etc/resolv.conf
> > > > squid[1769]: Adding nameserver 195.238.2.21 from
/etc/resolv.conf
> > > > squid[1769]: Adding nameserver 195.238.2.22 from
/etc/resolv.conf
> > > >
> > > >
> > > > squid[1769]: helperOpenServers: Starting 4 'squidGuard'
processes
> > > > squid[1769]: WARNING: Cannot run '/usr/bin/squidGuard' process.
> > > > last message repeated 3 times
> > > >
> > > > squid[1769]: Unlinkd pipe opened on FD 7
> > > > squid[1769]: Swap maxSize 524288 KB, estimated 87381 objects
> > > > squid[1769]: Target number of buckets: 1747
> > > > squid[1769]: Using 8192 Store buckets
> > > > squid[1769]: Max Mem  size: 8192 KB
> > > > squid[1769]: Max Swap size: 524288 KB
> > > > squid[1769]: Rebuilding storage in /var/squid/cache (CLEAN)
> > > > squid[1769]: Set Current Directory to /var/squid/cache
> > > > squid[1769]: Loaded Icons.
> > > > squid[1769]: Accepting HTTP connections at 10.5.0.1, port 8080,
FD9.
> > > > squid[1769]: Accepting HTCP messages on port 0, FD 10.
> > > > squid[1769]: WCCP Disabled.
> > > > squid[1769]: Ready to serve requests.
> > > > squid[1769]: Done reading /var/squid/cache swaplog (146 entries)
> > > > squid[1769]: Finished rebuilding storage from disk.
> > > > squid[1769]:       146 Entries scanned
> > > > squid[1769]:         0 Invalid entries.
> > > > squid[1769]:         0 With invalid flags.
> > > > squid[1769]:       146 Objects loaded.
> > > > squid[1769]:         0 Objects expired.
> > > > squid[1769]:         0 Objects cancelled.
> > > > squid[1769]:         0 Duplicate URLs purged.
> > > > squid[1769]:         0 Swapfile clashes avoided.
> > > > squid[1769]:   Took 4.8 seconds (  30.7 objects/sec).
> > > > squid[1769]: Beginning Validation Procedure
> > > > squid[1769]:   Completed Validation Procedure
> > > > squid[1769]:   Validated 146 Entries
> > > > squid[1769]:   store_swap_size = 774k
> > > > squid[1769]: storeLateRelease: released 0 objects
> > > >
> > > > Bien a vous.
> > > >
> > > >
> > > > Ben.
> > > >
> > > >
> > > > _______________________________________________
> > > > Linux Mailing List
> > > > LCP - 11 Mai - http://www.unixtech.be/lcp.php
> > > > Archives: http://www.unixtech.be/mailman/listinfo/linux
> > > >
> > >
> > > _______________________________________________
> > > Linux Mailing List
> > > LCP - 11 Mai - http://www.unixtech.be/lcp.php
> > > Archives: http://www.unixtech.be/mailman/listinfo/linux
> >
> >
> >
> > _______________________________________________
> > Linux Mailing List
> > LCP - 11 Mai - http://www.unixtech.be/lcp.php
> > Archives: http://www.unixtech.be/mailman/listinfo/linux
> >
> 
> _______________________________________________
> Linux Mailing List
> LCP - 11 Mai - http://www.unixtech.be/lcp.php
> Archives: http://www.unixtech.be/mailman/listinfo/linux



_______________________________________________
Linux Mailing List
LCP - 11 Mai - http://www.unixtech.be/lcp.php
Archives: http://www.unixtech.be/mailman/listinfo/linux