Install squidguard
-
I live in Brazil, my English is not much thing, to put would like to get aid on installation of squidguard, as I make to together install with squid ja that the o squidguard nao consists in the list of the packages. I am using versao 1.2-BETA
thanks
-
squidGuard exists only as pre-test version.
Tomorrow i post new instruction how install this (or find bottom squidGuard topic)Good Night
-
1. need install this http://diskatel.narod.ru/pfSense/alt_pkg.htm
(topic http://forum.pfsense.org/index.php/topic,4811.msg29311.html#msg29311)2. download http://diskatel.narod.ru/pfSense/packages/pkg_config.xml as file
(! it is important !, in browser this file open with +/- symbols, what give error when you copy this content to pfSense)
and put content this file to Alt package manager3. See System/Packages menu with squidGuard package list and install him.
psЖ about p.2 -
-
installed to put happened this error in the end of the site is the same not initiated
Warning: fopen(/usr/local/etc/squidGuard/squidguard_conf.xml): failed to open stream: No such file or directory in /etc/inc/pfsense-utils.inc on line 1094 Warning: fwrite(): supplied argument is not a valid stream resource in /etc/inc/pfsense-utils.inc on line 1095 Warning: fclose(): supplied argument is not a valid stream resource in /etc/inc/pfsense-utils.inc on line 1096 Warning: fopen(/usr/local/etc/squidGuard/squidguard_conf.xml): failed to open stream: No such file or directory in /etc/inc/pfsense-utils.inc on line 1094 Warning: fwrite(): supplied argument is not a valid stream resource in /etc/inc/pfsense-utils.inc on line 1095 Warning: fclose(): supplied argument is not a valid stream resource in /etc/inc/pfsense-utils.inc on line 1096
-
Welcome to this topic with SG issues
http://forum.pfsense.org/index.php/topic,3111.msg31672.html#msg31672ps squidguard_conf.xml file - reserved future. At 8 o'clock later i check this and post answer for you.
Good Night
-
Sorry for this, but I've installed and got Alt Package. It worked nicely. Then I choose Services -> Alt Package. Choose "Local 'XML Base URL' (127.0.0.1)", press Define button; now I have done in two different ways, without success:
-
I download http://diskatel.narod.ru/pfSense/packages/pkg_config.xml, copy it's contents to clipboard, paste it's contents in "Change local 'pkg_config.xml'" area; them press save; them go to System, Package, and the system holds some seconds and them says "Unable to retrieve package info from 127.0.0.1. Cached data will be used.". This way it uses a cache file without showing me any possibility of installing squidguard.
-
as I notice that the above proceed saves the pkg_config.xml content to /usr/local/www/packages/, so I went to a ssh session, and downloaded the desired pkg_config.xml file, using wget, unto that directory.
then I back to frontend, Services -> Alt Package, choose "local 'xml base url (127.0.0.1)", press define button, then System, Package, and again it holds some seconds and shows me the same: "Unable to retrieve package info from 127.0.0.1. Cached data will be used.".
Am I doing something wrong?
thanks again and sorry for this ;D
-
-
This may be if you have wrong pkg_config.xml content. For example you open file pkg_config.xml on browser and paste-copy them to Alt_PKG window. In this situatin content have + and - symbols before XML nodes (xml tree viewing in browser).
Need download pkg_config.xml as file for valid content structure. -
I installed squidGuard again how much to this no problem, to put the same still presents some errors as for example:
-
In border LOG nao this reading the squidguard.log archive due to the error, I find that it is because of the way of log, is /var/squidGuard/log/squidGuard.log and the correct one is /var/log/squidGuard.log
-
squigGuard to append of this asset nao this making the blockade of the pages follows below log generated and the configuration archive
squidGuard.log
2007-07-18 09:25:43 [9074] going into emergency mode
2007-07-18 09:25:43 [9074] ending emergency mode, stdin empty
2007-07-18 09:25:43 [9076] syntax error in configfile /usr/local/etc/squidGuard/squidGuard.conf line 26
2007-07-18 09:25:43 [9076] going into emergency mode
2007-07-18 09:25:43 [9076] ending emergency mode, stdin empty
2007-07-18 09:25:49 [9095] syntax error in configfile /usr/local/etc/squidGuard/squidGuard.conf line 26
2007-07-18 09:25:49 [9095] going into emergency mode
2007-07-18 09:25:49 [9095] ending emergency mode, stdin empty
2007-07-18 09:25:49 [9097] syntax error in configfile /usr/local/etc/squidGuard/squidGuard.conf line 26
2007-07-18 09:25:49 [9097] going into emergency mode
2007-07-18 09:25:49 [9097] ending emergency mode, stdin emptysquidGuard.conf
============================================================
SquidGuard configuration file
This file generated automaticly with SquidGuard configurator
(C)2006 Serg Dvoriancev
email: dv_serg@mail.ru
============================================================
logdir /var/squidGuard/log
dbhome /var/db/squidGuardHorario de Bloqueio
time Horario {
weekly * 00:00-24:00
}Rede Block
src dnpmse {
ip 10.30.180.0/24
log block.log
}dest localhost { # fix localhost access problem on transparent proxy
ip 127.0.0.1
}Bloqueios de sites
dest Bloqueios {
domainlist Bloqueios/domains
expressionlist Bloqueios/expressions
redirect http://127.0.0.1/sgerror.php?url=http://www.terra.com.br
log block.log
}acl {
dnpmse within Horario {
pass localhost !Bloqueios none
redirect ?url=http://www.terra.gov.br
} else {
pass localhost !Bloqueios none
redirect http://127.0.0.1/sgerror.php?url=http://www.terra.gov.br
}default within Horario {
pass localhost !Bloqueios none
redirect http://127.0.0.1/sgerror.php?url=http://www.terra.com.br
} else {
pass localhost !Bloqueios none
redirect http://127.0.0.1/sgerror.php?url=http://www.terra.com.br
}
}================
Line 26 is exactly this part
dest localhost { # fix localhost access problem on transparent proxy
–--> ip 127.0.0.1
}thanks
-
-
Near time fix this. Sorry, i have examination.
-
This may be if you have wrong pkg_config.xml content. For example you open file pkg_config.xml on browser and paste-copy them to Alt_PKG window. In this situatin content have + and - symbols before XML nodes (xml tree viewing in browser).
Need download pkg_config.xml as file for valid content structure.I dont know dvserg; what I'm doing now is using ssh to the server, then downloading pkg_config.xml with wget direct from your site; it means that I do not edit or even open the file…
thanks
-
@srs:
This may be if you have wrong pkg_config.xml content. For example you open file pkg_config.xml on browser and paste-copy them to Alt_PKG window. In this situatin content have + and - symbols before XML nodes (xml tree viewing in browser).
Need download pkg_config.xml as file for valid content structure.I dont know dvserg; what I'm doing now is using ssh to the server, then downloading pkg_config.xml with wget direct from your site; it means that I do not edit or even open the file…
thanks
You must download pkg_config.xml as file and you can edit or open DownloadeD file in text editor(notepad for example). If you open file in browser - him adding - and + symbols, what if copy this from browser give error xml structure/
-
this is exactally what I am doing; I download the xml file or using "save as" or using wget, in dos prompt; in both methods, file isn't opened and no aditional symbols are inserted into xml file; then I open the file using notepad, that I know is a "pure text" editor; then I paste into pfsense and still doesnt work :(
sorry for this :-[
-
Friend, on the problem of squigGuard this configuring and this making the blockade and the error in squidGuard.conf vc does not have some solution?
thanks
-
Friend, on the problem of squigGuard this configuring and this making the blockade and the error in squidGuard.conf vc does not have some solution?
thanks
Try instal now. I update sources.
-
hi srs,
I hv same problem, but after i 'TURN OFF TRANSPARAN PROXY' it work!!!
B.
-
hi srs,
I hv same problem, but after i 'TURN OFF TRANSPARAN PROXY' it work!!!
B.
SG incorrect worked with transparent proxy. I try to solve this problem.
Temporary decision - change 127.0.0.1 on sg config to you pfsense ip and restart squid
with 'squid -k reconfigure' from command prompt -
I am not obtaining to install squidguard one more time. it is possible to install manually? vc it can explain me as to lower the packages and to install manually? below the error.
Downloading package configuration file… done.
Saving updated package information... done.
Downloading squidGuard and its dependencies... done.
Checking for successful package installation...pkg_mgr_squidguard.log
Beginning package installation.
Downloading package configuration file...
squidGuard-1.2.0_1 Array
(
[0] => tar: Error opening archive: Empty input file: Inappropriate file type or format
[1] => pkg_add: tar extract of /tmp/apkg_squidGuard-1.2.0_1.tbz failed!
[2] => pkg_add: unable to extract table of contents file from '/tmp/apkg_squidGuard-1.2.0_1.tbz' - not a package?
[3] => pkg_add: 1 package addition(s) failed
)Package WAS NOT installed properly.
-
hi srs,
I hv same problem, but after i 'TURN OFF TRANSPARAN PROXY' it work!!!
B.
Thanks Benny, I disabled Transparent Proxy and got to install SG package! it worked to me!
now try to use SG :D
-
I installed squidguard again apos to verify that mine firewall this blocking in the hour of the installation. the Installation occurs without no problem. The error of reading of log through button GET LOG is solved, however the filter of content of squiddguard only functions when the Squid this in transparent way? exists some configuration it to function?
-
1. need install this http://diskatel.narod.ru/pfSense/alt_pkg.htm
(topic http://forum.pfsense.org/index.php/topic,4811.msg29311.html#msg29311)2. download http://diskatel.narod.ru/pfSense/packages/pkg_config.xml as file
(! it is important !, in browser this file open with +/- symbols, what give error when you copy this content to pfSense)
and put content this file to Alt package manager3. See System/Packages menu with squidGuard package list and install him.
psЖ about p.2 -
I'm not sure if the above steps are still needed but in regard to step 2, I recall someone posting that they used wget to download the file and it still didn't work. When I used: wget http://diskatel.narod.ru/pfSense/packages/pkg_config.xml I noticed that if I opened the file in vi it had a bunch of ^M
A simple fix is to:
wget http://diskatel.narod.ru/pfSense/packages/pkg_config.xml
vi pkg_config.xml
Then run search and replace in vi type:
:%s/^V^M//g
-OR-
if you fix it on the site, people can be sure they download the correct file :) Of course, like I said, this may not even be needed now (or hopefully soon as it maybe all in the squidgaurd package)