Skip to content

Commit 85fa461

Browse files
committed
chore: update README and dist.ini
1 parent 0d52910 commit 85fa461

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Name
22
====
33

4-
lua-resty-multiplexer - Port service multiplexer for stream subsystem
4+
lua-resty-multiplexer - Transparent port service multiplexer for stream subsystem
55

66
Table of Contents
77
=================
@@ -26,11 +26,11 @@ Table of Contents
2626
Description
2727
===========
2828

29-
This library is used to run multiple TCP services on the same port.
29+
This library implemented a transparent port service multiplexer, which can be used to run multiple TCP services on the same port.
3030

3131
Note that nginx [stream module](https://nginx.org/en/docs/stream/ngx_stream_core_module.html) and [stream-lua-nginx-module](https://github.com/openresty/stream-lua-nginx-module) is required.
3232

33-
Also a customed [patch](patches/stream-lua-readpartial.patch) from [fcicq](https://github.com/fcicq) is needed. The origin discussion can be found [here](https://github.com/fffonion/lua-resty-sniproxy/issues/1).
33+
Also a customed [patch](patches/stream-lua-readpartial.patch) from [@fcicq](https://github.com/fcicq) is needed. The origin discussion can be found [here](https://github.com/fffonion/lua-resty-sniproxy/issues/1).
3434

3535
Tested on Openresty 1.13.6.1.
3636

@@ -95,7 +95,7 @@ The rules defined is prioritized. In the example above, we defined a rule such t
9595
- If protocol is `HTTP` and client address is `10.0.0.2`, proxy to **internal-host:8001**
9696
- If protocol is `SSH`, proxy to **github.com:22**
9797
- If protocol is `DNS`, proxy to **1.1.1.1:53**
98-
- If protocol is `SSL/TLS` and current minute is between **0** and **30**, proxy to **www.google.com:443**
98+
- If protocol is `SSL/TLS` and current minute is between **0** and **30**, proxy to **twitter:443**
9999
- If protocol is `SSL/TLS` and current minute is between **31** and **59**, proxy to **www.google.com:443**
100100
- Otherwise, proxy to **127.0.0.1:80**
101101

dist.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = lua-resty-multiplexer
2-
abstract = Port service multiplexer for stream subsystem
2+
abstract = Transparent port service multiplexer for stream subsystem
33
author = fffonion
44
is_original = yes
55
license = 3bsd

0 commit comments

Comments
 (0)