Lines 1-19
Link Here
|
1 |
The package consists of two programs - PortRedorector and PortTest. |
1 |
The package consists of two programs - PortRedorector and PortTest. |
2 |
|
2 |
|
3 |
PortRedirector is a daemon that runs telnet to the remote port of the |
3 |
PortRedirector is a daemon that runs telnet to the remote port of the |
4 |
terminal server and redirects its input and output to a virtual |
4 |
terminal server and redirects its input and output to a virtual terminal |
5 |
terminal device (/dev/pty*). The corresponding slave device (dev/tty*) |
5 |
device (/dev/pty*). The corresponding slave device (dev/tty*) then can |
6 |
then can be used by an application that expects a local async terminal |
6 |
be used by an application that expects a local async terminal port. For |
7 |
port. For example, to monitor a UPS (connected to AUX ports on a Cisco router) |
7 |
example, to monitor a UPS (connected to AUX ports on a Cisco router) |
8 |
using nut. |
8 |
using nut. |
9 |
|
9 |
|
10 |
Whenever telnet subprocess terminates on any reason, it is restarted |
10 |
Whenever telnet subprocess terminates on any reason, it is restarted as |
11 |
as soon as any data received from the terminal device. |
11 |
soon as any data received from the terminal device. |
12 |
|
12 |
|
13 |
It can also work when authentication is required, i.e. it can pass username |
13 |
It can also work when authentication is required, i.e. it can pass |
14 |
and password specified in its configuration file. |
14 |
username and password specified in its configuration file. |
15 |
|
15 |
|
16 |
PortTest is something like cu(1). You can use either of them to test the |
16 |
PortTest is something like cu(1). You can use either of them to test the |
17 |
connection. |
17 |
connection. |
18 |
|
18 |
|
19 |
WWW: http://rnoc.urc.ac.ru/~anton/projects/pr/PR.html |
19 |
WWW: http://bsdforge.com/projects/comms/pr/ |