forked fromshadowsocks/shadowsocks-windows
- Notifications
You must be signed in to change notification settings - Fork0
demouse021/csharp
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
- Connect to Shadowsocks servers.
- Automatically set system proxy.
- SIP002 URL scheme.
- SIP003 plugins.
- SIP008 online configuration delivery.
Download fromreleases.
- 🚀
- The PAC rules are generated from the geosite database inv2fly/domain-list-community.
- Generation modes: whitelist mode and blacklist mode.
- Domain groups:
geositeDirectGroupsandgeositeProxiedGroups.geositeDirectGroupsis initialized withcnandgeolocation-!cn@cn.geositeProxiedGroupsis initialized withgeolocation-!cn.
- To switch between different modes, modify the
geositePreferDirectproperty ingui-config.json- When
geositePreferDirectis false (default), PAC works in whitelist mode. Exception rules are generated fromgeositeDirectGroups. Unmatched domains goes through the proxy. - When
geositePreferDirectis true, PAC works in blacklist mode. Blocking rules are generated fromgeositeProxiedGroups. Exception rules are generated fromgeositeDirectGroups. Unmatched domains are connected to directly.
- When
- Starting from 4.3.0.0, shadowsocks-windows defaults to whitelist mode with Chinese domains excluded from connecting via the proxy.
- The new default values make sure that:
- When in whitelist mode, Chinese domains, including non-Chinese companies' Chinese CDNs, are connected to directly.
- When in blacklist mode, only non-Chinese domains goes through the proxy. Chinese domains, as well as non-Chinese companies' Chinese CDNs, are connected to directly.
- To define your own PAC rules, it's recommended to use the
user-rule.txtfile. - You can also modify
pac.txtdirectly. But your modifications won't persist after updating geosite from the upstream.
- IDE: Visual Studio 2019
- Language: C# 9.0
- SDK: .NET 5
- Clone the repository recursively.
$ git clone --recursive https://github.com/shadowsocks/shadowsocks-windows.git
- Open the repository in VS2019, switch to theRelease configuration, and build the solution.
PR welcome
You can use theSource Browser to review code online.
Shadowsocks-windows is licensed under theGPLv3 license.
BouncyCastle.NetCore (MIT) https://github.com/chrishaly/bc-csharpCaseless.Fody (MIT) https://github.com/Fody/CaselessCostura.Fody (MIT) https://github.com/Fody/CosturaFody (MIT) https://github.com/Fody/FodyGlobalHotKey (GPLv3) https://github.com/kirmir/GlobalHotKeyMdXaml (MIT) https://github.com/whistyun/MdXamlNewtonsoft.Json (MIT) https://www.newtonsoft.com/jsonPrivoxy (GPLv2) https://www.privoxy.orgReactiveUI.WPF (MIT) https://github.com/reactiveui/ReactiveUIReactiveUI.Events.WPF (MIT) https://github.com/reactiveui/ReactiveUIReactiveUI.Fody (MIT) https://github.com/reactiveui/ReactiveUIReactiveUI.Validation (MIT) https://github.com/reactiveui/ReactiveUI.ValidationWPFLocalizationExtension (MS-PL) https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension/ZXing.Net (Apache 2.0) https://github.com/micjahn/ZXing.NetAbout
A C# port of shadowsocks
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Languages
- C#94.5%
- JavaScript5.5%
![[logo]](/image.pl?url=https%3a%2f%2fgithub.com%2fdemouse021%2fcsharp%2fraw%2fbranch2%2fShadowsocks.WPF%2fResources%2fssw128.png&f=jpg&w=240)