Comments (4)
How to run Privaxy on Windows without an annoying CMD window
Also seems to halve the RAM usage when run this way.
- Create a
run.bat
batch file next toprivaxy.exe
containing only the name of the executable, i.e.privaxy.exe
- Create a
hide.vbs
script file in the same folder, and put the following code into it:CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
- Create a New Shortcut (e.g. in
%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\
, if you want to start Privaxy automatically with your PC) and put the following into theTarget:
field:C:\Windows\System32\wscript.exe "D:\Absolute\Path\to\hide.vbs" "C:\Absolute\Path\to\run.bat"
- Run Privaxy via this shortcut will launch it without a console window, and it will use 1/2 the RAM it would otherwise.
from privaxy.
Memory usage seems ok to me.
On slowness, I did some troubleshooting. Reqwest by default uses system proxy settings which just makes privaxy forwards requests to privaxy. I didn't observe the same behavior on linux / macos though.
I also saw slowness coming from trustdns with many related issues such as hickory-dns/hickory-dns#1607, hickory-dns/hickory-dns#1696, hickory-dns/hickory-dns#1636, let's use getaddrinfo
everywhere then.
I fixed both issues in #24 and published a new release https://github.com/Barre/privaxy/releases/tag/v0.3.0
Can you confirm if it fixes things for you?
from privaxy.
Hmmm... looks like it's not that simple. While running hidden via the above method and using less RAM, the GUI is accessible via the browser, but it seems to not work reliably, with ads or placeholders appearing I forgot to save my proxy settings (whereas running with the console open, it works perfectly). When running "hidden", it seems to be unreliable, spitting out
502
Bad Gateway.
Unable to process your request.
Reason:
error sending request for url (https://uk.news.yahoo.com/amanda-owen-breaks-silence-split-161903537.html): error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer
I saw a few of the following in the console, which seemed related to the 502 error:
WARN privaxy::proxy::mitm] Unable to perform handshake for host: github.com:443. Consider excluding it from blocking. The service may not tolerate TLS interception.
EDIT:
- I'm typically using Yahoo.com and wololo.net (both have heavy ads) to test.
- Hmmm... Wonder if I've broken something, it's now giving 502 and the above console reading all the time.
- Might have just been a browser caching issue or a github.com issue, as github (the website that wouldn't load at all with 502) loads in incognito. Things still kinda slow, and it would be nice to figure out how to hide that console window successfully
- RAM usage seems to start at 42MB and increase with content blocked or rules loaded (?)
from privaxy.
Thank you!!! Confirm that it's a lot faster. Memory usage is about 100mb with standard filters enabled during standard usage, which is okay (voidtools Everything, Quicklook each take about that much).
from privaxy.
Related Issues (20)
- Bring the WebUI back HOT 1
- Feature to import filterlists HOT 2
- Universal? HOT 1
- Debian 11 Bullseye (Stable) still uses Glibc version 2.31
- Feature request: parent proxy and portable mode
- Mobile device support HOT 3
- privaxy no gui error HOT 1
- openwrt support HOT 1
- Local Proxy Messing Up Other Connections
- Privaxy dropped support for ARM in 0.5.2? HOT 1
- Rule `Blocking exact address` resolution error
- Unable to connect with anything. Possibly due to the certificate HOT 5
- Build in FreeBSD headless failed with `unresolved import wry::webview::WebviewExtUnix` and other misc error. HOT 1
- Discord not starting when using Proxy HOT 2
- Barra/privacidade/solicitaçoes/problema/soluções/discussões HOT 1
- Build for armv7-unknown-linux-musleabihf
- ability to add more filter lists HOT 2
- Ad
- How do I make Privaxy to listen to all IPs other than 127.0.0.1 on Windows?
- Block YT Ad on mobile device HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from privaxy.