Search squid archive

Re: transparent squid + clamav + https

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

 




Hi,

I have configured the viralator. But I have some problems with the redirector.
When I run /opt/squirm/bin/squirm as user squid by hand, I get the following text:

squid1 logs # tail -f squirm.info
Wed Mar 17 15:33:19 2010:processing configuration file [/opt/squirm/etc/squirm.conf] Wed Mar 17 15:33:19 2010:Reading patterns from file /opt/squirm/etc/squirm.patterns
Wed Mar 17 15:33:19 2010:Squirm (PID 10474) started

Then when I enter an url in the running squirm like:

http://putty.very.rulez.org/latest/x86/putty.exe 192.9.200.123/- - GET
or
http://putty.very.rulez.org/latest/x86/putty.exe 127.0.0.1/- - GET

I get no output (only a empty row).

When I run squirm as root, it will be the same, but on std out:

squid1 bin # ./squirm
Squirm running as UID 0: writing logs to stderr
Wed Mar 17 15:36:42 2010:processing configuration file [/opt/squirm/etc/squirm.conf] Wed Mar 17 15:36:42 2010:Reading patterns from file /opt/squirm/etc/squirm.patterns
Wed Mar 17 15:36:42 2010:Squirm (PID 10477) started
http://putty.very.rulez.org/latest/x86/putty.exe 192.9.200.123/- - GET

http://putty.very.rulez.org/latest/x86/putty.exe 127.0.0.1/- - GET

My squirm folder:

squid1# ls -al /opt/squirm/etc/
total 40
drwxrwx--- 2 root squid  4096 Mar 17 15:29 .
drwxr-xr-x 5 root bin    4096 Mar 16 11:11 ..
-rw-r--r-- 1 root root  12288 Mar 17 15:29 .squirm.conf.swp
-rw-r--r-- 1 root root   1186 Mar 17 15:17 backup.tar.gz
-rw-r--r-- 1 root root   1168 Mar 17 14:46 squirm.conf
-rw-rw---- 1 root squid  1064 Mar 17 15:18 squirm.conf.dist
-rw-r--r-- 1 root root   1139 Mar 17 15:13 squirm.patterns
-rw-rw---- 1 root squid   682 Mar 17 15:18 squirm.patterns.dist

cat squirm.conf:

#squids ip ist 192.9.200.32/24
begin
network 192.9.200.0/24
log logs/match.log
abort-log logs/abort.log
pattern squirm.patterns get
end

begin
network 127.0.0.0/24
log logs/private-match.log
abort-log logs/private-abort.log
pattern squirm.patterns get
end

cat squirm.patterns:
abortregexi (^http://192.9.200.32.*)
abortregexi (^http://squid1.testingdomain.de.*)
regexi (^.*\.zip$) http://192.9.200.32/cgi-bin/viralator.cgi?url=|\1
regexi (^.*\.doc$) http://192.9.200.32/cgi-bin/viralator.cgi?url=|\1
regexi (^.*\.exe$) http://192.9.200.32/cgi-bin/viralator.cgi?url=|\1

So there is only the squirm.info in the log folder, nothing else.
The viralator seems working, but there is now entry about squirm in the logs.
Can I test the viralator.cgi with parameters on bash or webbrowser?

Thanks, Stefan



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

  Powered by Linux