Title here
Summary here
Privoxy 是一个免费的,开源的高级过滤 Web 代理,可以增强隐私并修改 Web 页面数据和 HTTP 头。它提供了灵活的配置选项,以适应个人需要和口味。
基本规则:关键词 + 值列表
其默认配置如下,具体的用途还没有细看jjjj
actionsfile match-all.action
actionsfile default.action
actionsfile user.action
其默认陪配置如下,具体的用途还没有细看
filterfile default.filter
filterfile user.filter
其默认值如下,用来设置监听的地址和端口
listen-address 127.0.0.1:8118
listen-address [::1]:8118
转发父HTTP代理,如果parent为.,则不转发
# 格式
forward target_pattern http_parent[:port]
pattern模式格式为
类似的还有几个forward-socks4 forward-socks4a forward-socks5t,例如
forward-socks5 .google.com 127.0.0.1:8388 .
默认日志文件 /var/log/privoxy/logfile
# debug 1 # Log the destination for each request. See also debug 1024.
# debug 2 # show each connection status
# debug 4 # show tagging-related messages
# debug 8 # show header parsing
# debug 16 # log all data written to the network
# debug 32 # debug force feature
# debug 64 # debug regular expression filters
# debug 128 # debug redirects
# debug 256 # debug GIF de-animation
# debug 512 # Common Log Format
# debug 1024 # Log the destination for requests Privoxy didn't let through, and the reason why.
# debug 2048 # CGI user interface
# debug 4096 # Startup banner and warnings.
# debug 8192 # Non-fatal errors
# debug 32768 # log all data read from the network
# debug 65536 # Log the applying actions
对我来讲比较实用的是debug 1024