Deleted Added
full compact
telnetd.8 (72445) telnetd.8 (76371)
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
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:
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
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:
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
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.
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
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.
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
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;
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.
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.ne 1i
234.It Fl U
235This option causes
236.Nm telnetd
237to refuse connections from addresses that
238cannot be mapped back into a symbolic name
239via the
240.Xr gethostbyaddr 3
241routine.

--- 91 unchanged lines hidden (view full) ---

333will not be doing any terminal echoing, so the
334client should do any terminal echoing that is needed.
335.It "WILL BINARY"
336Indicates that the client is willing to send a
3378 bits of data, rather than the normal 7 bits
338of the Network Virtual Terminal.
339.It "WILL SGA"
340Indicates that it will not be sending
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
341.Dv IAC GA,
340.Dv IAC GA ,
342go ahead, commands.
343.It "WILL STATUS"
344Indicates a willingness to send the client, upon
345request, of the current status of all
346.Tn TELNET
347options.
348.It "WILL TIMING-MARK"
349Whenever a
350.Dv DO TIMING-MARK
351command is received, it is always responded
352to with a
353.Dv WILL TIMING-MARK
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
354.ne 1i
355.It "WILL LOGOUT"
356When a
357.Dv DO LOGOUT
358is received, a
359.Dv WILL LOGOUT
360is sent in response, and the
361.Tn TELNET
362session is shut down.

--- 16 unchanged lines hidden (view full) ---

379is willing to receive an 8 bit data stream.
380.It "DO LFLOW"
381Requests that the client handle flow control
382characters remotely.
383.It "DO ECHO"
384This is not really supported, but is sent to identify a 4.2BSD
385.Xr telnet 1
386client, which will improperly respond with
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
387.Dv WILL ECHO.
385.Dv WILL ECHO .
388If a
389.Dv WILL ECHO
390is received, a
391.Dv DONT ECHO
392will be sent in response.
393.It "DO TERMINAL-TYPE"
394Indicates a desire to be able to request the
395name of the type of terminal that is attached
396to the client side of the connection.
397.It "DO SGA"
398Indicates that it does not need to receive
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
399.Dv IAC GA,
397.Dv IAC GA ,
400the go ahead command.
401.It "DO NAWS"
402Requests that the client inform the server when
403the window (display) size changes.
404.It "DO TERMINAL-SPEED"
405Indicates a desire to be able to request information
406about the speed of the serial line to which
407the client is attached.

--- 12 unchanged lines hidden (view full) ---

420.Nm telnetd
421is compiled with support for linemode, and
422requests that the client do line by line processing.
423.It "DO TIMING-MARK"
424Only sent if
425.Nm telnetd
426is compiled with support for both linemode and
427kludge linemode, and the client responded with
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
428.Dv WONT LINEMODE.
426.Dv WONT LINEMODE .
429If the client responds with
427If the client responds with
430.Dv WILL TM,
428.Dv WILL TM ,
431the it is assumed that the client supports
432kludge linemode.
433Note that the
434.Op Fl k
435option can be used to disable this.
436.It "DO AUTHENTICATION"
437Only sent if
438.Nm telnetd

--- 4 unchanged lines hidden (view full) ---

443Only sent if
444.Nm telnetd
445is compiled with support for data encryption, and
446indicates a willingness to decrypt
447the data stream.
448.El
449.Sh ENVIRONMENT
450.Sh FILES
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
451.Pa /etc/services
452.br
453.Pa /etc/inittab
449.Bl -tag -width /etc/services -compact
450.It Pa /etc/services
451.It Pa /etc/inittab
454(UNICOS systems only)
452(UNICOS systems only)
455.br
456.Pa /etc/iptos
453.It Pa /etc/iptos
457(if supported)
454(if supported)
458.br
455.El
459.Sh "SEE ALSO"
460.Xr telnet 1 ,
461.Xr login 1
462.Sh STANDARDS
463.Bl -tag -compact -width RFC-1572
464.It Cm RFC-854
465.Tn TELNET
466PROTOCOL SPECIFICATION

--- 65 unchanged lines hidden ---
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 ---