Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
module:rlogin [2018/07/18 18:44] – "mode flags" and links to telgate page digital man | module:rlogin [2021/10/29 19:16] – [Command-line] Updated to match current rlogin.js syntax digital man |
---|
====== RLogin ====== | ====== RLogin Gateway ====== |
The Synchronet RLogin module (''[[dir:exec]]/rlogin.js'') is used to create an outbound proxy gateway connection between a Synchronet [[server:Terminal]] Server user and a remote server using the BSD Rlogin protocol ([[RFC>1282]]) over TCP (traditionally, TCP port 513). The BBS user can be connected to the host BBS using any supported terminal protocol (Telnet, RLogin, or SSH). | The Synchronet RLogin module (''[[dir:exec]]/rlogin.js'') is used to create an outbound proxy gateway connection between a Synchronet [[server:Terminal]] Server user and a remote server using the BSD Rlogin protocol ([[RFC>1282]]) over TCP (traditionally, TCP port 513). The BBS user can be connected to the host BBS using any supported terminal protocol (Telnet, RLogin, or SSH). |
| |
==== Command-line ==== | ==== Command-line ==== |
The RLogin module accepts command-line arguments to control its behavior when invoked. The command-line syntax is: | The RLogin module accepts command-line arguments to control its behavior when invoked. The command-line syntax is: |
?rlogin <address>[:port] [mode] | ?rlogin <address>[:port] [mode] [client-name] [server-name] [terminal-type] |
| |
Where: | Where: |
* ''<address>'' is the IPv4 address or host name to connect to | * ''<address>'' is the IPv4 address or host name to connect to |
* ''[:port]'' is the TCP port number to connect to (default is 513) | * ''[:port]'' is the TCP port number to connect to (default is ''513'') |
* ''[mode]'' is an optional set of one or more [[:module:telgate#mode|telgate mode flags]] (''TG_*'') separated by pipe (''|'') symbols | * ''[mode]'' is an optional set of one or more [[:module:telgate#mode|telgate mode flags]] (''TG_*'') separated by pipe (''|'') symbols (default is ''0'') |
| * ''[client-name]'' is an optional client-side username to include in the RLogin negotiation (default is current user's alias) |
| * ''[server-name]'' is an optional server-side username to include in the RLogin negotiation (default is current user's real name) |
| * ''[terminal-type]'' is an optional terminal type to include in the RLogin negotiation (default is current detected terminal type) |
===== Connection ===== | ===== Connection ===== |
The RLogin protocol allows the client to pass 3 strings to the server during connection establishment. These 3 strings defined by the protocol specification are, in order: | The RLogin protocol allows the client to pass 3 strings to the server during connection establishment. These 3 strings defined by the protocol specification are, in order: |
If you wish to reverse the order of the first 2 strings sent, pass the ''TG_RLOGINSWAP'' mode flag on the ''rlogin.js'' command-line. | If you wish to reverse the order of the first 2 strings sent, pass the ''TG_RLOGINSWAP'' mode flag on the ''rlogin.js'' command-line. |
| |
| ==== Auto-Login ==== |
| |
| For automated logins, [[server:Terminal#RLogin|Synchronet RLogin Server]] requires the //client-user-name// to be a valid user password, and the //server-user-name// to be a valid user ID (e.g. alias) which corresponds with the password. |
| |
| Other RLogin servers (e.g. door game servers) may have different requirements for automated logins (e.g. no password). |
===== See Also ===== | ===== See Also ===== |
* [[:module:|Module Index]] | * [[:module:|Module Index]] |
* [[:module:Telgate|Telgate Module]] | * [[:module:Telgate|Telgate Module]] |
| * [[:server:Terminal#rlogin|Terminal Server:Rlogin]] |
| |