Add additional path to rebind search , update docs
This commit is contained in:
parent
841bb2f2ba
commit
3cdebe788d
10
README.md
10
README.md
|
|
@ -48,7 +48,7 @@ read binary data off of the receive queue.
|
||||||
The Websock API is documented on the [websock.js API wiki page](https://github.com/kanaka/websockify/wiki/websock.js)
|
The Websock API is documented on the [websock.js API wiki page](https://github.com/kanaka/websockify/wiki/websock.js)
|
||||||
|
|
||||||
See the "Wrap a Program" section below for an example of using Websock
|
See the "Wrap a Program" section below for an example of using Websock
|
||||||
and websockify as a browser telnet client (`wstelnet.html`).
|
and websockify as a browser telnet client (`www/wstelnet.html`).
|
||||||
|
|
||||||
|
|
||||||
### Additional websockify features
|
### Additional websockify features
|
||||||
|
|
@ -107,6 +107,12 @@ port is moved to a new localhost/loopback free high port. websockify
|
||||||
then proxies WebSockets traffic directed to the original port to the
|
then proxies WebSockets traffic directed to the original port to the
|
||||||
new (moved) port of the program.
|
new (moved) port of the program.
|
||||||
|
|
||||||
|
You can build rebind.so like so:
|
||||||
|
|
||||||
|
cd rebind
|
||||||
|
make
|
||||||
|
cd ..
|
||||||
|
|
||||||
The program wrap mode is invoked by replacing the target with `--`
|
The program wrap mode is invoked by replacing the target with `--`
|
||||||
followed by the program command line to wrap.
|
followed by the program command line to wrap.
|
||||||
|
|
||||||
|
|
@ -127,7 +133,7 @@ the command:
|
||||||
|
|
||||||
`sudo bin/websockify 2023 --wrap-mode=respawn -- telnetd -debug 2023`
|
`sudo bin/websockify 2023 --wrap-mode=respawn -- telnetd -debug 2023`
|
||||||
|
|
||||||
The `wstelnet.html` page demonstrates a simple WebSockets based telnet
|
The `www/wstelnet.html` page demonstrates a simple WebSockets based telnet
|
||||||
client.
|
client.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,8 @@ Traffic Legend:
|
||||||
self.rebind_path + '/rebind.so',
|
self.rebind_path + '/rebind.so',
|
||||||
'./rebind.so',
|
'./rebind.so',
|
||||||
os.path.dirname(sys.argv[0]) + 'rebind.so',
|
os.path.dirname(sys.argv[0]) + 'rebind.so',
|
||||||
'rebind/rebind.so']
|
'rebind/rebind.so',
|
||||||
|
'../rebind/rebind.so']
|
||||||
self.rebinder = None
|
self.rebinder = None
|
||||||
|
|
||||||
for rpath in rebinder_path:
|
for rpath in rebinder_path:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue