--- ./config 2019-10-22 22:49:35.000000000 -0400 +++ ./config 2019-10-22 22:54:09.000000000 -0400 @@ -193,6 +193,7 @@ # shown. # #admin-address privoxy-admin@example.com +admin-address root@@PROXY_HOSTNAME@ # # 1.4. proxy-info-url # ==================== @@ -386,6 +387,8 @@ actionsfile match-all.action # Actions that are applied to all sites and maybe overruled later on. actionsfile default.action # Main actions file actionsfile user.action # User customizations +actionsfile @PREFIX@/etc/adblock2privoxy/privoxy/ab2p.system.action +actionsfile @PREFIX@/etc/adblock2privoxy/privoxy/ab2p.action # # 2.6. filterfile # ================ @@ -431,6 +434,8 @@ # filterfile default.filter filterfile user.filter # User customizations +filterfile @PREFIX@/etc/adblock2privoxy/privoxy/ab2p.system.filter +filterfile @PREFIX@/etc/adblock2privoxy/privoxy/ab2p.filter # # 2.7. logfile # ============= @@ -675,7 +680,7 @@ # Note that Privoxy does not validate the specified hostname # value. # -#hostname hostname.example.org +hostname @PROXY_HOSTNAME@ # # 4. ACCESS CONTROL AND SECURITY # =============================== @@ -780,7 +785,7 @@ # # listen-address [::1]:8118 # -listen-address 127.0.0.1:8118 +listen-address @PROXY_SERVER@:8118 # # 4.2. toggle # ============ @@ -1257,6 +1262,13 @@ # forward <[2-3][0-9a-f][0-9a-f][0-9a-f]:*> . # # +# See http://www.christianschenk.org/blog/enhancing-your-privacy-using-squid-and-privoxy/ +forward / . +forward :443 . + +# I2P +#forward .i2p @PROXY_HOSTNAME@:4443 + # 5.2. forward-socks4, forward-socks4a, forward-socks5 and forward-socks5t # ========================================================================= # @@ -1592,7 +1604,7 @@ # # keep-alive-timeout 300 # -keep-alive-timeout 5 +keep-alive-timeout 300 # # 6.5. tolerate-pipelining # ========================= @@ -1635,7 +1647,7 @@ # # tolerate-pipelining 1 # -tolerate-pipelining 1 +#tolerate-pipelining 1 # # 6.6. default-server-timeout # ============================ @@ -1686,7 +1698,7 @@ # # default-server-timeout 60 # -#default-server-timeout 60 +default-server-timeout 60 # # 6.7. connection-sharing # ======================== @@ -1756,7 +1768,7 @@ # # connection-sharing 1 # -#connection-sharing 1 +connection-sharing 0 # # 6.8. socket-timeout # ==================== @@ -1788,7 +1800,7 @@ # # socket-timeout 300 # -socket-timeout 300 +socket-timeout 60 # # 6.9. max-client-connections # ============================ @@ -1850,7 +1862,7 @@ # # max-client-connections 256 # -#max-client-connections 256 +max-client-connections 256 # # 6.10. handle-as-empty-doc-returns-ok # =====================================