Coder Social home page Coder Social logo

kankankankankankan / fwlite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from v3aqb/fwlite

0.0 3.0 0.0 65.41 MB

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

License: GNU General Public License v2.0

Python 99.37% AutoIt 0.13% C++ 0.50%

fwlite's Introduction

#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:[email protected]:8388

or this:

[parents]
proxy1 = http://127.0.0.1:8086
proxy2 = http://user:[email protected]: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

fwlite's People

Contributors

v3aqb avatar

Watchers

James Cloos avatar  avatar Leon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.