lua-resty-socks5-server

socks5 server on OpenResty

$ opm get detailyang/lua-resty-socks5-server

Name

lua-resty-socks5-server

This is an implementation of the SOCKS v5 RFC1928 server in the OpenResty and It's based on the stream-lua-ningx-module under the hood.

run

syntax: module.run(timeout[,username, password])

run a socks5 server.

  • timeout The socket timeout (default 1000 ms) include connect、read、write between upstream and downstream.

  • username The socks5 authentication username.

  • password The socks5 authentication username.

Contributing

To contribute to lua-resty-socks5-server, clone this repo locally and commit your code on a separate branch.

PS: PR Welcome :rocket: :rocket: :rocket: :rocket:

Author

> GitHub @detailyang

License

lua-resty-socks5-server is licensed under the [MIT] license.

[MIT]: https://github.com/detailyang/ybw/blob/master/licenses/MIT

Authors

Bingwu Yang (detailyang)

License

mit

Versions