I don't think anyone understands what you are trying to
accomplish. Filtering typically modifies raw page content.
Before you can use custom filters, you have to define them
using PCRE syntax. Is that what you want? Or do you want to
_block_ access to google domains?
{ +block }
.google.com
That'll give you a nice BLOCKED page.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You have to have a filter named "google_targets" defined in
a "filterfile" somewhere before such a statement will have
any effect. Privoxy does not come with any such pre-defined
filter. Go to privoxy.org, click on User Manual, and read up
on Filter Files and Actions to see if that is the best
approach and to give you some examples and ideas. I still
don't have a clue as what you are trying to accomplish with
the google_targets filter. That's OK as long as you do, and
you understand how the configuration works. Reading the
manual should help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have been reading the online manual and trying o understand how it works. I am trying to figure out how put to filter in place so if one of the user types www.google.com on the network using the proxy it will block the outgoing http connection.
Thanks
Phil Taylor
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, now what you are trying to do is "block" a particular
URL, or probably a like group of URLs. So ...
{ +block }
.google.com
will BLOCK any access to a google domain, including
www.google.com, images.google.com, mail.google.com, and so
on. BUT, the users will be given the option of "Going there
anyway". To defeat that, you will have to build from source
and compile other features into the software to prohibit
this way of bypassing these "soft" controls.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This will intercept the request and then redirect it to a
page of your choosing. There are other ways users could
bypass the proxy altogether, but this might be an interim
solution of sorts.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, what version are you using? +redirect is a 3.0.5
feature. Its safe to upgrade. Its very stable at this point.
I get a 404 for that page though. It needs to be a real page.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a question and I am using debian. I downloaded the
current beta source code from your web site and there is no
autoheader file to run to compile the program.
Then, to build from either unpacked tarball or CVS source:
autoheader
autoconf
./configure # (--help to see options)
make # (the make from GNU, sometimes called
gmake)
su
make -n install # (to see where all the files will go)
make -s install # (to really install, -s to silence
output)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I forgot to include some information about try to compile
the new beta version. There is no autoheader file so I am
not sure how to compile the application. Here is a list of
all the files in the directory.
Hello support team -- I apologize beforehand for my technical incompetence, but I honestly don't know why my browser does not load the configuration page without saying it's not working, even though the tray icon indicates that it is (green with radar animation triggered by new URLs). I'm certain I've set everything up right, according to the guidelines, and I'm wondering if my router is somehow disabling the function of Privoxy. My e-mail is junk@confutation.com.
Danke!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=875547
Did you actually create a filter called google_targets?
What does it look like and what is it supposed to do?
Logged In: YES
user_id=1620679
Can you please give me example that work on filtering a outgoing domain like *google.com*
Thanks
Logged In: YES
user_id=322640
I don't think anyone understands what you are trying to
accomplish. Filtering typically modifies raw page content.
Before you can use custom filters, you have to define them
using PCRE syntax. Is that what you want? Or do you want to
_block_ access to google domains?
{ +block }
.google.com
That'll give you a nice BLOCKED page.
Logged In: YES
user_id=1620679
I do not understannd the question that you asking me? All I did was I added this line to the user.action
{ +filter{google_targets} }
.google.com
Is there another filer tha I need o create and what filter is it please?
Thanks
Phillip Taylor
Logged In: YES
user_id=322640
You have to have a filter named "google_targets" defined in
a "filterfile" somewhere before such a statement will have
any effect. Privoxy does not come with any such pre-defined
filter. Go to privoxy.org, click on User Manual, and read up
on Filter Files and Actions to see if that is the best
approach and to give you some examples and ideas. I still
don't have a clue as what you are trying to accomplish with
the google_targets filter. That's OK as long as you do, and
you understand how the configuration works. Reading the
manual should help.
Logged In: YES
user_id=1620679
Good morning
I have been reading the online manual and trying o understand how it works. I am trying to figure out how put to filter in place so if one of the user types www.google.com on the network using the proxy it will block the outgoing http connection.
Thanks
Phil Taylor
Logged In: YES
user_id=322640
OK, now what you are trying to do is "block" a particular
URL, or probably a like group of URLs. So ...
{ +block }
.google.com
will BLOCK any access to a google domain, including
www.google.com, images.google.com, mail.google.com, and so
on. BUT, the users will be given the option of "Going there
anyway". To defeat that, you will have to build from source
and compile other features into the software to prohibit
this way of bypassing these "soft" controls.
Logged In: YES
user_id=322640
Another option is to use the new redirect action:
{+redirect{http://server.com/custom.html} }
.google.com
This will intercept the request and then redirect it to a
page of your choosing. There are other ways users could
bypass the proxy altogether, but this might be an interim
solution of sorts.
Logged In: NO
I am getting a error when I try and use this line in the
user.action.
{+redirect{http://www.taylorassociate.com/restricted.html} }
.google.com
Logged In: YES
user_id=1620679
The error message is this
Oct 14 12:50:37 Privoxy(16384) Info: loading configuration
file '/etc/privoxy/config':
Oct 14 12:50:37 Privoxy(16384) Fatal error: can't load
actions file '/etc/privoxy/user.action': invalid line (90):
{+redirect{http://www.taylorassociate.com/restricted.html} }
Logged In: YES
user_id=1620679
That is working but is there any way to get ride of the link
go there anyway?
Your request for http://www.google.com/ was blocked.
See why or go there anyway.
Logged In: YES
user_id=322640
Sorry, what version are you using? +redirect is a 3.0.5
feature. Its safe to upgrade. Its very stable at this point.
I get a 404 for that page though. It needs to be a real page.
Logged In: YES
user_id=1620679
I am using
privoxy_3.0.3-1_i386.deb
Logged In: YES
user_id=1620679
Is it possible to edit the page and remove the link go there
anyway? What file would I edit please?
Request for blocked URL
Your request for http://www.google.com/ was blocked.
See why or go there anyway.
Logged In: YES
user_id=1620679
Hi
I have a question and I am using debian. I downloaded the
current beta source code from your web site and there is no
autoheader file to run to compile the program.
Then, to build from either unpacked tarball or CVS source:
autoheader
autoconf
./configure # (--help to see options)
make # (the make from GNU, sometimes called
gmake)
su
make -n install # (to see where all the files will go)
make -s install # (to really install, -s to silence
output)
Logged In: YES
user_id=1620679
I forgot to include some information about try to compile
the new beta version. There is no autoheader file so I am
not sure how to compile the application. Here is a list of
all the files in the directory.
shell:~/privoxy-3.0.5-BETA# find / -name autoheader
shell:~/privoxy-3.0.5-BETA# ls -l
total 2284
-rwxrwxr-x 1 eggdrop eggdrop 1432 Sep 23 09:46 AUTHORS
-rwxrwxr-x 1 eggdrop eggdrop 15324 Sep 20 06:50 ChangeLog
-rwxrwxr-x 1 eggdrop eggdrop 84676 Sep 12 21:25 GNUmakefile.in
-rwxrwxr-x 1 eggdrop eggdrop 7504 Sep 22 06:38 INSTALL
-rwxrwxr-x 1 eggdrop eggdrop 18112 Sep 10 10:02 LICENSE
-rwxrwxr-x 1 eggdrop eggdrop 3633 Jul 18 10:48 Makefile
-rwxrwxr-x 1 eggdrop eggdrop 10961 Sep 22 06:38 README
-rwxrwxr-x 1 eggdrop eggdrop 15594 Jul 18 10:48 acconfig.h
-rwxrwxr-x 1 eggdrop eggdrop 14459 Sep 1 13:14 actionlist.h
-rwxrwxr-x 1 eggdrop eggdrop 55612 Jul 18 10:48 actions.c
-rwxrwxr-x 1 eggdrop eggdrop 6386 Jul 18 10:48 actions.h
-rwxrwxr-x 1 eggdrop eggdrop 7588 Jul 18 10:48 amiga.c
-rwxrwxr-x 1 eggdrop eggdrop 4741 Jul 18 10:48 amiga.h
-rwxrwxr-x 1 eggdrop eggdrop 80591 Sep 21 15:22 cgi.c
-rwxrwxr-x 1 eggdrop eggdrop 10604 Jul 18 10:48 cgi.h
-rwxrwxr-x 1 eggdrop eggdrop 140590 Jul 18 10:48 cgiedit.c
-rwxrwxr-x 1 eggdrop eggdrop 7558 Jul 18 10:48 cgiedit.h
-rwxrwxr-x 1 eggdrop eggdrop 49698 Sep 9 09:05 cgisimple.c
-rwxrwxr-x 1 eggdrop eggdrop 7013 Sep 6 14:45 cgisimple.h
-rwxrwxr-x 1 eggdrop eggdrop 33731 Sep 23 14:19 config
-rwxrwxr-x 1 eggdrop eggdrop 41134 Mar 1 2003 config.guess
-rwxrwxr-x 1 eggdrop eggdrop 29763 Mar 1 2003 config.sub
-rwxrwxr-x 1 eggdrop eggdrop 41159 Sep 21 21:26 configure.in
-rwxrwxr-x 1 eggdrop eggdrop 181733 Mar 26 2002 contrib.sh
-rwxrwxr-x 1 eggdrop eggdrop 2936 Jul 18 10:48 cygwin.h
-rwxrwxr-x 1 eggdrop eggdrop 17392 Jul 18 10:48 deanimate.c
-rwxrwxr-x 1 eggdrop eggdrop 4256 Jul 18 10:48 deanimate.h
-rwxrwxr-x 1 eggdrop eggdrop 79569 Sep 23 14:19
default.action.master
-rwxrwxr-x 1 eggdrop eggdrop 29857 Jul 18 10:48 default.filter
drwxrwxr-x 5 root root 4096 Oct 14 13:41 doc
-rwxrwxr-x 1 eggdrop eggdrop 15874 Jul 18 10:48 encode.c
-rwxrwxr-x 1 eggdrop eggdrop 3269 Jul 18 10:48 encode.h
-rwxrwxr-x 1 eggdrop eggdrop 36205 Aug 21 07:15 errlog.c
-rwxrwxr-x 1 eggdrop eggdrop 6747 Jul 18 10:48 errlog.h
-rwxrwxr-x 1 eggdrop eggdrop 57200 Sep 23 09:26 filters.c
-rwxrwxr-x 1 eggdrop eggdrop 11500 Jul 18 10:48 filters.h
-rwxrwxr-x 1 eggdrop eggdrop 13289 Jul 18 10:48 gateway.c
-rwxrwxr-x 1 eggdrop eggdrop 4894 Jul 18 10:48 gateway.h
-rwxrwxr-x 1 eggdrop eggdrop 1765 Apr 27 2002 genclspec.sh
drwxrwxr-x 2 root root 4096 Oct 14 13:41 icons
-rwxrwxr-x 1 eggdrop eggdrop 5598 Jul 29 2001 install-sh
-rwxrwxr-x 1 eggdrop eggdrop 27641 Sep 2 11:36 jbsockets.c
-rwxrwxr-x 1 eggdrop eggdrop 5169 Jul 18 10:48 jbsockets.h
-rwxrwxr-x 1 eggdrop eggdrop 86233 Sep 23 09:26 jcc.c
-rwxrwxr-x 1 eggdrop eggdrop 6685 Sep 2 11:36 jcc.h
-rwxrwxr-x 1 eggdrop eggdrop 7482 Jul 18 10:48 killpopup.c
-rwxrwxr-x 1 eggdrop eggdrop 4027 Jul 18 10:48 killpopup.h
-rwxrwxr-x 1 eggdrop eggdrop 32025 Jul 18 10:48 list.c
-rwxrwxr-x 1 eggdrop eggdrop 6806 Jul 18 10:48 list.h
-rwxrwxr-x 1 eggdrop eggdrop 60297 Sep 6 14:45 loadcfg.c
-rwxrwxr-x 1 eggdrop eggdrop 7515 Jul 18 10:48 loadcfg.h
-rwxrwxr-x 1 eggdrop eggdrop 45021 Sep 7 06:40 loaders.c
-rwxrwxr-x 1 eggdrop eggdrop 9785 Jul 18 10:48 loaders.h
-rwxrwxr-x 1 eggdrop eggdrop 62072 Sep 23 09:26 miscutil.c
-rwxrwxr-x 1 eggdrop eggdrop 8051 Aug 17 13:15 miscutil.h
-rwxrwxr-x 1 eggdrop eggdrop 732 Jul 18 10:48 mkinstalldirs
-rwxrwxr-x 1 eggdrop eggdrop 96248 Sep 23 09:26 parsers.c
-rwxrwxr-x 1 eggdrop eggdrop 12925 Aug 17 13:15 parsers.h
drwxrwxr-x 3 root root 4096 Oct 14 13:41 pcre
-rwxrwxr-x 1 eggdrop eggdrop 30056 Jul 18 10:48 pcrs.c
-rwxrwxr-x 1 eggdrop eggdrop 6167 Jul 18 10:48 pcrs.h
-rwxrwxr-x 1 eggdrop eggdrop 5091 Jul 18 10:48
privoxy-generic.init
-rwxrwxr-x 1 eggdrop eggdrop 42867 Sep 21 21:02
privoxy-rh.spec
-rwxrwxr-x 1 eggdrop eggdrop 16902 Sep 20 19:51
privoxy-suse.spec
-rwxrwxr-x 1 eggdrop eggdrop 11986 Sep 22 06:38 privoxy.1
-rwxrwxr-x 1 eggdrop eggdrop 9553 Jul 18 10:48 privoxy.init
-rwxrwxr-x 1 eggdrop eggdrop 4108 Jul 18 10:48
privoxy.init.suse
-rwxrwxr-x 1 eggdrop eggdrop 3755 Jul 18 10:48
privoxy.logrotate
-rwxrwxr-x 1 eggdrop eggdrop 53670 Sep 20 11:50 project.h
drwxrwxr-x 2 root root 4096 Oct 14 13:41 slackware
-rwxrwxr-x 1 eggdrop eggdrop 6741 Jul 18 10:48 ssplit.c
-rwxrwxr-x 1 eggdrop eggdrop 3124 Jul 18 10:48 ssplit.h
-rwxrwxr-x 1 eggdrop eggdrop 5522 Sep 22 07:06
standard.action
-rwxrwxr-x 1 eggdrop eggdrop 24188 Aug 14 04:43 strptime.h
drwxrwxr-x 2 root root 4096 Oct 14 13:41 templates
-rwxrwxr-x 1 eggdrop eggdrop 3372 Jul 18 10:48 trust
-rwxrwxr-x 1 eggdrop eggdrop 24147 Jul 18 10:48 urlmatch.c
-rwxrwxr-x 1 eggdrop eggdrop 4054 Jul 18 10:48 urlmatch.h
-rwxrwxr-x 1 eggdrop eggdrop 5979 Sep 10 09:59 user.action
-rwxrwxr-x 1 eggdrop eggdrop 2556 Jul 18 10:48 user.filter
drwxrwxr-x 4 root root 4096 Oct 14 13:41 utils
-rwxrwxr-x 1 eggdrop eggdrop 15994 Jul 18 10:48
vc_config_pthreads.h
-rwxrwxr-x 1 eggdrop eggdrop 21265 Jul 18 10:48
vc_config_winthreads.h
-rwxrwxr-x 1 eggdrop eggdrop 10497 Jul 18 10:48 vc_console.dsp
-rwxrwxr-x 1 eggdrop eggdrop 11948 Aug 21 07:13 vc_privoxy.dsp
-rwxrwxr-x 1 eggdrop eggdrop 1071 Jul 18 10:48 vc_privoxy.dsw
-rwxrwxr-x 1 eggdrop eggdrop 11915 Aug 17 22:06 w32.rc
-rwxrwxr-x 1 eggdrop eggdrop 42103 Jul 18 10:48 w32log.c
-rwxrwxr-x 1 eggdrop eggdrop 6237 Jul 18 10:48 w32log.h
-rwxrwxr-x 1 eggdrop eggdrop 7689 Jul 18 10:48 w32res.h
-rwxrwxr-x 1 eggdrop eggdrop 30171 Sep 19 23:15 w32svrapi.c
-rwxrwxr-x 1 eggdrop eggdrop 5313 Aug 11 23:54 w32svrapi.h
-rwxrwxr-x 1 eggdrop eggdrop 8873 Sep 23 09:26 w32taskbar.c
-rwxrwxr-x 1 eggdrop eggdrop 2955 Jul 18 10:48 w32taskbar.h
-rwxrwxr-x 1 eggdrop eggdrop 9952 Aug 11 23:54 win32.c
-rwxrwxr-x 1 eggdrop eggdrop 3174 Jul 18 10:48 win32.h
Logged In: YES
user_id=322640
You are headed in the right direction. autoheader is a
separate program from GNU that you need to install.
$ which autoheader
/usr/bin/autoheader
$ rpm -qf /usr/bin/autoheader
autoconf-2.53-8
There's a Debian command to easily do this, but I don't know
it. Read the configure options for compiling certain
features into the final executable.
Logged In: YES
user_id=322640
Here ... freshly posted FAQ:
http://www.privoxy.org/faq/configuration.html#TEMPLATES
See if that helps.
Logged In: NO
Hello support team -- I apologize beforehand for my technical incompetence, but I honestly don't know why my browser does not load the configuration page without saying it's not working, even though the tray icon indicates that it is (green with radar animation triggered by new URLs). I'm certain I've set everything up right, according to the guidelines, and I'm wondering if my router is somehow disabling the function of Privoxy. My e-mail is junk@confutation.com.
Danke!
Logged In: YES
user_id=875547
Nobody, please open a new support request.
As far as I can see, your problem is not related
to the one discussed in this request.
You'll also have to provide more information
about your setup:
http://www.privoxy.org/faq/contact.html#REPORTING