You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
Name
2
2
====
3
3
4
-
lua-resty-multiplexer - Port service multiplexer for stream subsystem
4
+
lua-resty-multiplexer - Transparent port service multiplexer for stream subsystem
5
5
6
6
Table of Contents
7
7
=================
@@ -26,11 +26,11 @@ Table of Contents
26
26
Description
27
27
===========
28
28
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.
30
30
31
31
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.
32
32
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).
34
34
35
35
Tested on Openresty 1.13.6.1.
36
36
@@ -95,7 +95,7 @@ The rules defined is prioritized. In the example above, we defined a rule such t
95
95
- If protocol is `HTTP` and client address is `10.0.0.2`, proxy to **internal-host:8001**
96
96
- If protocol is `SSH`, proxy to **github.com:22**
97
97
- 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**
99
99
- If protocol is `SSL/TLS` and current minute is between **31** and **59**, proxy to **www.google.com:443**
0 commit comments