Skip to main content

Re-direction problems in IPCOP

More
18 years 4 months ago #15708 by facer
Yes all the settings have been changed via the gui.
I have just checked it and in there the url filter is enabled and the external proxy is set (and they both work when tested via a client)
More
18 years 4 months ago #15713 by DaLight
This is strange. If these settings are showing up in the GUI, they are should be reflected in your squid.conf. Do you have any other addons installed (like Copfilter,etc)?
More
18 years 4 months ago #15734 by facer
Does seem a little odd.
No i only have the url filter addon installed, nothing else.
More
18 years 3 months ago #15806 by facer
You got any ideas mate?
More
18 years 3 months ago #15808 by DaLight
I've just looked at the files you posted:

/var/ipcop/urlfilter/squidGuard.conf
/var/ipcop/urlfilter/settings
/var/ipcop/proxy/squid.conf

I notice that you've only copied the first screenful of lines. You will need to scroll down and make sure that all lines are copied. That should explain the missing information!!
More
18 years 3 months ago #15810 by facer
That would explain it, sorry i presumed that it displayed to the end of the file.
Here are the full versions

[code:1]squid.conf
http_access deny all

maximum_object_size 4096 KB
minimum_object_size 0 KB

cache_mem 2000 KB
cache_dir aufs /var/log/cache 50 16 256

request_body_max_size 0 KB
reply_body_max_size 0 allow all

visible_hostname ipcop.wensleydale.school

cache_peer 10.208.8.50 parent 3128 3130 default no-query

never_direct allow all
redirect_program /usr/sbin/squidGuard
redirect_children 5

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
[/code:1]

[code:1]squidGuard.conf
}

dest custom-allowed {
domainlist custom/allowed/domains
urllist custom/allowed/urls
}

dest custom-blocked {
domainlist custom/blocked/domains
urllist custom/blocked/urls
}

dest custom-expressions {
expressionlist custom/blocked/expressions
}

acl {
default {
pass !ads !aggressive !audio-video !drugs !gambling !hacking !mail !porn !proxy !violence !warez !custom-blocked any
redirect http://191.168.0.3:81/redirect.cgi
}
}
[/code:1]

[code:1]settings
FILTER_WAREZ=on
FILTER_HACKING=on
ENABLE_REWRITE=off
SHOW_URL=off
REDIRECT_PAGE=
BLOCK_ALL=off
ENABLE_CUSTOM_BLACKLIST=on
ENABLE_LOG=off
FILTER_PORN=on
FILTER_VIOLENCE=on
BLOCK_EXECUTABLES=off
MSG_TEXT_2=
MSG_TEXT_1=
FILTER_ADS=on
VALID=yes
SHOW_CATEGORY=off
ENABLE_CATEGORY_LOG=off
FILTER_AUDIO-VIDEO=on
BLOCK_AUDIO-VIDEO=off
ENABLE_USERNAME_LOG=off
ENABLE_DNSERROR=off
SHOW_IP=off
CHILDREN=5
[/code:1]
Time to create page: 0.163 seconds