Resulting PAC files is
Changes/improvements:
- requirements install
- dnsmasq ipset generation
- itdoginfo lists (https://github.com/itdoginfo/allow-domains)
- antifilter CE list (https://community.antifilter.download/)
- openai list (https://github.com/antonme/ipnames/blob/master/dns-openai.txt)
- svintuss list (https://raw.githubusercontent.com/svintuss/unblock/main/unblock.txt)
- github action for PAC update (daily at 01:00)
- ~~TOR and I2P integration (change servers in /config/config.sh)~~
- proxies changed to 127.0.0.1:6666 - local shadowsocks (change in /config/config.sh)
- option EXCLUDE_PATTERN_PAC in config/config.sh to enable skipping some frequent patterns (list - excludepattern.sh) for reduce resulting PAC files
- added build original pac file and with my proxy
- small improvements
Bug (fck windows): new scripts doesnt have exec bit, git add --chmod=+x -- *.sh *.py or git add --chmod=+x -- *. *
crontab -e
- 0 1 */3 * * /root/antizapret-pac-generator-light/doall.sh && cp /root/antizapret-pac-generator-light/result/proxy-host-ssl.pac /var/www/pac
lighttpd server
- lighttpd.conf to /etc/lighttpd/lighttpd.conf
Notes
- may be add https://github.com/bol-van/rulist resolved ip and domains instead of z-i
Original https://bitbucket.org/anticensority/antizapret-pac-generator-light (commit 2d79814 from 2024-04-23)