All Projects → iBug → Pac

iBug / Pac

Licence: mit
科学上网,智能分流,使用 GFWList 和 IP 地址双重判断。现在已有 113 颗 ★

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pac

Elgg
A social networking engine in PHP/MySQL
Stars: ✭ 1,510 (+1236.28%)
Mutual labels:  hacktoberfest
Git Client Plugin
Jenkins git client plugin
Stars: ✭ 112 (-0.88%)
Mutual labels:  hacktoberfest
Fanal
Static Analysis Library for Containers
Stars: ✭ 113 (+0%)
Mutual labels:  hacktoberfest
Hermes
Client-side messaging channel for sending data from one browser tab to another
Stars: ✭ 111 (-1.77%)
Mutual labels:  hacktoberfest
Zpm
ZPM — Zsh Plugin Manager
Stars: ✭ 112 (-0.88%)
Mutual labels:  hacktoberfest
Nextjs Headless Wordpress
🔥 Nextjs Headless WordPress
Stars: ✭ 110 (-2.65%)
Mutual labels:  hacktoberfest
React Forms
React library for rendering forms.
Stars: ✭ 111 (-1.77%)
Mutual labels:  hacktoberfest
Jspdf Autotable
jsPDF plugin for generating PDF tables with javascript
Stars: ✭ 1,649 (+1359.29%)
Mutual labels:  hacktoberfest
Inkscape Applytransforms
An Inkscape extension which removes all matrix transforms by applying them recursively to shapes
Stars: ✭ 112 (-0.88%)
Mutual labels:  hacktoberfest
Js Vault
List of tricky Javascript interview questions
Stars: ✭ 112 (-0.88%)
Mutual labels:  hacktoberfest
Discordircd
A node.js script that allows you to connect to discord with your irc client.
Stars: ✭ 112 (-0.88%)
Mutual labels:  hacktoberfest
Abaplint
Standalone linter for ABAP
Stars: ✭ 111 (-1.77%)
Mutual labels:  hacktoberfest
Svelte Firebase
A template to help you start developing SPAs with Svelte and Firebase.
Stars: ✭ 111 (-1.77%)
Mutual labels:  hacktoberfest
Hello World
Add any Program in any language you like or add a hello world Program ❣️ if you like give us ⭐
Stars: ✭ 1,464 (+1195.58%)
Mutual labels:  hacktoberfest
Xgo
Go CGO cross compiler
Stars: ✭ 112 (-0.88%)
Mutual labels:  hacktoberfest
Css Art
General Edition - A CSS art challenge, for all skill levels
Stars: ✭ 111 (-1.77%)
Mutual labels:  hacktoberfest
Tardis
TARDIS - Temperature And Radiative Diffusion In Supernovae
Stars: ✭ 112 (-0.88%)
Mutual labels:  hacktoberfest
Grunt Contrib Uglify
Minify files with UglifyJS.
Stars: ✭ 1,477 (+1207.08%)
Mutual labels:  hacktoberfest
Tikzcd Editor
A simple visual editor for creating commutative diagrams.
Stars: ✭ 1,627 (+1339.82%)
Mutual labels:  hacktoberfest
Prospect Mail
Prospect is an Outlook mail desktop client powered by Electron
Stars: ✭ 112 (-0.88%)
Mutual labels:  hacktoberfest

pac

PAC scripts for proxies

特点

基于 IP 地址白名单设计,位于白名单中的 IP 地址走直连,白名单以外的 IP 地址走代理(暂不支持 IPv6)。

另有 GFWList 版本从 gfwlist/gfwlist 获取域名及 URL 列表,优先匹配列表中的黑白名单,有效防止 DNS 污染。

每周六 12:00 (UTC) 会自动使用 GitHub Actions 运行生成脚本从数据源获取 IP 地址列表并生成 PAC 文件。

使用

获取方式:本仓库的 Releases

  • pac-<name>.txt 包含从数据源 <name> 获取的 IP 地址列表(白名单)
  • pac-gfwlist-<name>.txt 在 IP 白名单的基础上添加了 GFWList 的匹配

本代码是为 Shadowsocks Windows 4.1.9 及以上版本设计的,若要在旧版本或使用其他代理软件中使用,请手动修改文件第 5 行 __PROXY__ 为你的代理地址,详情见 shadowsocks-windows#2761

贡献

本项目包含两部分

  1. 从数据源获取 IP 地址列表并转换为 PAC 文件适用的格式,该部分代码位于 build.py 文件
  2. PAC 文件的其他部分(例如解析域名和匹配 IP 地址等),该部分代码位于 code.js 文件
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].