1.\" Copyright (c) 1983, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 81 unchanged lines hidden (view full) --- 90This option may be used for specifying what mode should 91be used for authentication. 92Note that this option is only useful if 93.Nm telnetd 94has been compiled with support for the 95.Dv AUTHENTICATION 96option. 97There are several valid values for |
98.Ar authmode : |
99.Bl -tag -width debug 100.It debug 101Turns on authentication debugging code. 102.It user 103Only allow connections when the remote user 104can provide valid authentication information 105to identify the remote user, 106and is allowed access to the specified account --- 41 unchanged lines hidden (view full) --- 148This option may be used for debugging purposes. 149This allows 150.Nm telnetd 151to print out debugging information 152to the connection, allowing the user to see what 153.Nm telnetd 154is doing. 155There are several possible values for |
156.Ar debugmode : |
157.Bl -tag -width exercise 158.It Cm options 159Prints information about the negotiation of 160.Tn TELNET 161options. 162.It Cm report 163Prints the 164.Cm options 165information, plus some additional information 166about what processing is going on. 167.It Cm netdata 168Displays the data stream received by |
169.Nm telnetd . |
170.It Cm ptydata 171Displays data written to the pty. 172.It Cm exercise 173Has not been implemented yet. 174.El 175.It Fl h 176Disables the printing of host-specific information before 177login has been completed. --- 11 unchanged lines hidden (view full) --- 189have been idle for some period of time to determine 190if the client is still there, so that idle connections 191from machines that have crashed or can no longer 192be reached may be cleaned up. 193.It Fl r Ar lowpty-highpty 194This option is only enabled when 195.Nm telnetd 196is compiled for |
197.Dv UNICOS . |
198It specifies an inclusive range of pseudo-terminal devices to 199use. If the system has sysconf variable 200.Dv _SC_CRAY_NPTY 201configured, the default pty search range is 0 to |
202.Dv _SC_CRAY_NPTY ; |
203otherwise, the default range is 0 to 128. Either 204.Ar lowpty 205or 206.Ar highpty 207may be omitted to allow changing 208either end of the search range. If 209.Ar lowpty 210is omitted, the - character is still required so that --- 14 unchanged lines hidden (view full) --- 225This allows hosts with very long host names that 226overflow this field to still be uniquely identified. 227Specifying 228.Fl u0 229indicates that only dotted decimal addresses 230should be put into the 231.Pa utmp 232file. |
233.It Fl U 234This option causes 235.Nm telnetd 236to refuse connections from addresses that 237cannot be mapped back into a symbolic name 238via the 239.Xr gethostbyaddr 3 240routine. --- 91 unchanged lines hidden (view full) --- 332will not be doing any terminal echoing, so the 333client should do any terminal echoing that is needed. 334.It "WILL BINARY" 335Indicates that the client is willing to send a 3368 bits of data, rather than the normal 7 bits 337of the Network Virtual Terminal. 338.It "WILL SGA" 339Indicates that it will not be sending |
340.Dv IAC GA , |
341go ahead, commands. 342.It "WILL STATUS" 343Indicates a willingness to send the client, upon 344request, of the current status of all 345.Tn TELNET 346options. 347.It "WILL TIMING-MARK" 348Whenever a 349.Dv DO TIMING-MARK 350command is received, it is always responded 351to with a 352.Dv WILL TIMING-MARK |
353.It "WILL LOGOUT" 354When a 355.Dv DO LOGOUT 356is received, a 357.Dv WILL LOGOUT 358is sent in response, and the 359.Tn TELNET 360session is shut down. --- 16 unchanged lines hidden (view full) --- 377is willing to receive an 8 bit data stream. 378.It "DO LFLOW" 379Requests that the client handle flow control 380characters remotely. 381.It "DO ECHO" 382This is not really supported, but is sent to identify a 4.2BSD 383.Xr telnet 1 384client, which will improperly respond with |
385.Dv WILL ECHO . |
386If a 387.Dv WILL ECHO 388is received, a 389.Dv DONT ECHO 390will be sent in response. 391.It "DO TERMINAL-TYPE" 392Indicates a desire to be able to request the 393name of the type of terminal that is attached 394to the client side of the connection. 395.It "DO SGA" 396Indicates that it does not need to receive |
397.Dv IAC GA , |
398the go ahead command. 399.It "DO NAWS" 400Requests that the client inform the server when 401the window (display) size changes. 402.It "DO TERMINAL-SPEED" 403Indicates a desire to be able to request information 404about the speed of the serial line to which 405the client is attached. --- 12 unchanged lines hidden (view full) --- 418.Nm telnetd 419is compiled with support for linemode, and 420requests that the client do line by line processing. 421.It "DO TIMING-MARK" 422Only sent if 423.Nm telnetd 424is compiled with support for both linemode and 425kludge linemode, and the client responded with |
426.Dv WONT LINEMODE . |
427If the client responds with |
428.Dv WILL TM , |
429the it is assumed that the client supports 430kludge linemode. 431Note that the 432.Op Fl k 433option can be used to disable this. 434.It "DO AUTHENTICATION" 435Only sent if 436.Nm telnetd --- 4 unchanged lines hidden (view full) --- 441Only sent if 442.Nm telnetd 443is compiled with support for data encryption, and 444indicates a willingness to decrypt 445the data stream. 446.El 447.Sh ENVIRONMENT 448.Sh FILES |
449.Bl -tag -width /etc/services -compact 450.It Pa /etc/services 451.It Pa /etc/inittab |
452(UNICOS systems only) |
453.It Pa /etc/iptos |
454(if supported) |
455.El |
456.Sh "SEE ALSO" 457.Xr telnet 1 , 458.Xr login 1 459.Sh STANDARDS 460.Bl -tag -compact -width RFC-1572 461.It Cm RFC-854 462.Tn TELNET 463PROTOCOL SPECIFICATION --- 65 unchanged lines hidden --- |