Author |
Message |
jockjunior
Joined: 29 Jan 2008 Posts: 150 Location: Lancashire,U.K.
|
Posted: Tue 30 Apr 2013, 18:44 Post subject:
Adblock to privoxy script and host file compiler script Subject description: adblockto privoxy action file converter and host file complier |
|
http://www.pingus-perirtatus.webspace.virginmedia.com/adblockprivoxy.sh
Script to convert adblock filters to privoxy action files
http://www.pingus-periratus.webspace.virginmedia.com/pupgethosts.sh
Script to combine 3 host files into 1 and remove duplicate entries. Host file sources are set in script.
These are not my scripts I found them on the net. I have only modified the gethost script to match the directory structure in Puppy.
Run them both in a terminal eg ./pupgethosts
no need to do anything else with the Adblock script but the gethosts needs you to copy the finished file to /etc/hosts. Instructions onscreen.
Right click and save as to download
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Wed 01 May 2013, 18:04 Post subject:
|
|
Hey you seem to know what you are doing with privoxy
Can you explain briefly what it is used for and where I can get it for puppy?
_________________ Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
|
Back to top
|
|
 |
jockjunior
Joined: 29 Jan 2008 Posts: 150 Location: Lancashire,U.K.
|
Posted: Thu 02 May 2013, 11:35 Post subject:
|
|
http://www.pingus-periratus.webspace.virginmedia.com/privoxy-3.0.19-i686-1cf.txz
This is the one I use on Slacko it may work on other puppies. see this thread
http://www.murga-linux.com/puppy/viewtopic.php?t=77035
for installation help
Privoxy is a http proxy with custom filter for ads and other annoyances. They are called action files. It comes with default settings for blocking stuff. You can add to it by customising the User File and adding further action files.
Set your browser proxy to localhost and port 8118
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Thu 02 May 2013, 14:47 Post subject:
|
|
Looking to see if this is of any use to me I D/L and installed , linked root to configfile and set the proxy in preferences as advised and started the service to get the following
Code: |
Proxy Server Refused Connection
The connection was refused when attempting to contact the proxy server you have configured. Please check your proxy settings and try again.
The browser is configured to use a proxy server, but the proxy refused a connection.Is the browser's proxy configuration correct? Check the settings and try again.Does the proxy service allow connections from this network?Still having trouble? Consult your network administrator or Internet provider for assistance. |
Just offhand is there anything else I must do to get this running. Is my firewall likely to be blocking that port?
_________________ Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
|
Back to top
|
|
 |
jockjunior
Joined: 29 Jan 2008 Posts: 150 Location: Lancashire,U.K.
|
Posted: Thu 02 May 2013, 17:11 Post subject:
|
|
Copy config file from /etc/privoxy to /root
open config file you just copied and alter 'enable web editor' option from 0 to 1 and resave file this allows you to alter settings in PRIVOXY using web browser
Make link in Startup folder to /usr/sbin/privoxy
In Firefox Network settings for http and https
localhost 8118
reboot computer
to use web editor to view and edit settings go
www.privoxy.org
then
quickstart after installation link
then
configuration section
edit view settings link
that's all I did
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Fri 03 May 2013, 00:47 Post subject:
|
|
Hmm something not right here then
Done all that and privoxy running OK but refusing connection from browser. Didnt find "enable web editor" in the config file see screenshot attached
Mine is probably a later version , do you mean "enable-remote-toggle 0" ?
version 3.0.19
puppy precise 5.4.2
Description |
|

Download |
Filename |
config.jpg |
Filesize |
56.43 KB |
Downloaded |
357 Time(s) |
_________________ Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
|
Back to top
|
|
 |
jockjunior
Joined: 29 Jan 2008 Posts: 150 Location: Lancashire,U.K.
|
Posted: Fri 03 May 2013, 03:22 Post subject:
|
|
4.5. enable-edit-actions
# =========================
#
# Specifies:
#
# Whether or not the web-based actions file editor may be used
#
# Type of value:
#
# 0 or 1
#
# Default value:
#
# 0
#
# Effect if unset:
#
# The web-based actions file editor is disabled.
What browser u using?
Did you do full reboot?
Chromium users
edit /etc/rc.d/rc.local to set system proxy
#this file called from rc.sysinit
#you can edit this file
#When firewall is installed, will append lines to this file...
if [ -x /etc/rc.d/rc.firewall ]; then
/etc/rc.d/rc.firewall start
fi
*
export http_proxy="http://localhost:8118"
export HTTP_PROXY="http://localhost:8118"
export https_proxy="http://localhost:8118"
export HTTPS_PROXY="http://localhost:8118"
Opera users
set proxy in browser
Preferences- Advanced- Network -Set proxy servers
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Sat 04 May 2013, 16:10 Post subject:
|
|
I'm using Seamonkey Browser and I found and tried the enable-edit-actions without success previously . I have rebooted many times since adding the start link
I tried adding the lines above to /etc/rc.d/rc.local to set system proxy
Code: | export http_proxy="http://localhost:8118"
export HTTP_PROXY="http://localhost:8118"
export https_proxy="http://localhost:8118"
export HTTPS_PROXY="http://localhost:8118"
|
and in the browser I have set it to use the system proxy.. Pages continue to be loaded now but
When I go to privoxy.org/config it tells me privoxy is not being used
I'm starting to think that maybe something is different with localhost in Puppy Precise 5.4.2
_________________ Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
|
Back to top
|
|
 |
|