Skip to content

kankankankankankan/fwlite

 
 

Repository files navigation

#FWLite

A anti-censorship HTTP proxy with builtin shadowsocks support.

Current Version: 4.13 final

Tested on Windows 7 and openSUSE.

Download

##Quick Start

####Set parent proxy Add your own parent proxy in the parents section of main configuration file userconf.ini.

It looks like this:

[parents]
shadowsocks = ss://aes-256-cfb:password@127.0.0.1:8388

or this:

[parents]
proxy1 = http://127.0.0.1:8086
proxy2 = http://user:pass@127.0.0.1:8087
proxy3 = socks5://127.0.0.1:1080

####Set browser Set your browser's proxy setting to http://127.0.0.1:8118.

On Windows, this should be done automatically.

####Start For Windows, run FWLite.exe

For Linux and Mac, run FWLite.pyw

####Requirements under openSUSE

zypper install python-repoze.lru python-ipaddr python-gevent
pip install geoip2 dnslib cryptography
zypper install python-pyside python-chardet  # for GUI

##Features

  • Set IE proxy automatically (windows)
  • URL Search (if your browser doesn't support this well)
  • Detect blocked sites
    • autoproxy-gfwlist
    • user-defined rules
    • connect timeout
    • read timeout
    • connection reset
  • Multiple work mode
    • gfwlist + auto
    • encrypt-all
    • chnroute
    • global mode
  • Support Network which require a Proxy (issue #39)
  • Support HOSTS
  • Support FTP LIST/RETR
  • Support websocket protocol
  • Simple Adblock
  • Supported parent proxy
    • HTTP Proxy
    • HTTPS Proxy (HTTP Proxy over TLS)
    • Socks5 Proxy
    • SNI Proxy
    • Shadowsocks by @clowwindy
  • Prioritize parent proxies by location and response time
  • Redirector(some hidden function here)
  • Support PAC for WPAD
  • A simple anti-poison DNS server

Not all features are listed here, and not all of them covered in GUI.

##User Defined Rules(./fgfw-lite/local.txt)

FW-Lite uses autoproxy rules, the differences are:

URL end with keyword:

.exe|
.apk|

Redirect

http://www.baidu.com http://www.google.com

Redirect with Regular Expression

/^http://www.baidu.com/.*wd=([^&]*).*$/ /https://www.google.com/search?q=\1&ie=gb2312/

Not applying rules for certain sites. For false positives in gfwlist.

||twimg.com auto

forcehttps

|http://zh.wikipedia.com/ forcehttps

Block certain sites

||360.cn 403

Bad 302 Redirect, counteract ISP conducted MITM hijack(GWBN):

|http://some.isp.server/ bad302

Assign a parent proxy for certain sites

||bbc.co.uk shadowsocks-uk
||googlevideo.com shadowsocks-us1 shaodwsocks-us2

##License

GPLv2

##Thanks COW

GoAgent

Shadowsocks

fqrouter

pybuild

gfwlist

hxsocks

About

HTTP proxy server designed to circumvent the Great Firewall (GFW).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Other 0.6%