Git Product home page Git Product logo

shadowsocks-go-with-traffic-limits's Introduction

shadowsocks-go-with-traffic-limits

0、不需要配套的客户端,现有客户端可直接使用。

1、比较不友好的使用了文件的方式来存储用户的流量数据。

2、统计的流量数据比较粗糙,没有计算头的长度,比实际使用流量略小。

3、仅保存本月流量,下月自动清空,无历史纪录追溯。

4、配置文件参考config.json,假设要限制某port为月30G,则limit为30*1024^3=32212254720。

5、main文件夹下的可执行文件为已经编译好的文件,Linux 64下可直接使用。

6、流量记录存储在/目录下。文件名为flowInfo.json,请勿随意改动。

7、将文件status.html置于文件夹/下,通过访问端口9000可以看到一个不算美观的用户流量统计图。

8、文件夹static也要置于目录'/'下,里面是一些js跟css样式。

shadowsocks-go-with-traffic-limits's People

Contributors

elvizlai 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.