Skip to content

tzq84/fwlite

 
 

Repository files navigation

#FWLite

A HTTP proxy server designed to circumvent the Great Firewall (GFW). It detects blocked sites automatically, apply parent proxy. And a lot more.

FW-Lite is Portable Software.

Current Version: 4.9.4

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

####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 FW_Lite.exe

For Linux and Mac, run FW_Lite.pyw

####Requirements under openSUSE

zypper install python-repoze.lru python-ipaddr python-gevent
zypper install python-pyOpenSSL python-pycrypto  # for goagent
zypper install python-M2Crypto  # or python-cryptography, for shadowsocks
zypper install python-pyside  # 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
    • GoAgent by @phuslu
    • Shadowsocks by @clowwindy
  • Prioritize parent proxies by location and response time
  • Use GoAgent for HTTP request only, no worry about certificates
  • 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 goagent shadowsocks-us1 shaodwsocks-us2

##License

GPLv2

This Software shall be used for Good, Not for Evil.

##Others COW

GoAgent

Shadowsocks

pybuild

About

A powerful 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.3%
  • Other 0.7%