Xon/Xoff State Control for Telnet Com Port Control Option
draft-edwards-telnet-xon-xoff-state-control-00

Document Type Active Internet-Draft (individual)
Last updated 2010-03-23
Stream (None)
Intended RFC status (None)
Formats plain text pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Internet Draft                                             Grant Edwards
<draft-edwards-telnet-xon-xoff-state-control-00.txt>        Comtrol Corp
Intended status: Experimental                             March 23, 2010
Expires September 23, 2010

       Xon/Xoff State Control for Telnet Com Port Control Option
          <draft-edwards-telnet-xon-xoff-state-control-00.txt>

Status of this Memo

   Distribution of this memo is unlimited.

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF), its areas, and its working groups.  Note that
   other groups may also distribute working documents as Internet-
   Drafts.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   The list of current Internet-Drafts can be accessed at
   http://www.ietf.org/ietf/1id-abstracts.txt.

   The list of Internet-Draft Shadow Directories can be accessed at
   http://www.ietf.org/shadow.html.

   This Internet-Draft will expire on September 23, 2010.

   Comments are solicited and should be addressed to the author.

Copyright Notice

   Copyright (c) 2010 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.

Edwards                Expires September 23, 2010               [Page 1]
Internet Draft     Telnet Xon/Xoff Flow State Control     March 23, 2010

Abstract

   This document defines new values for use with the telnet com port
   control option's SET-CONTROL sub-command defined in RFC2217.  These
   new values provide a mechanism for the telnet client to control and
   query the outbound Xon/Xoff flow control state of the telnet server's
   physical serial port.  This capability is exposed in the serial port
   API on some operating systems and is needed by telnet clients that
   implement a port-redirector service which provides applications local
   to the redirector/telnet-client with transparent access to the remote
   serial port on the telnet server.

1.  Introduction

   When a telnet server acting as a serial device server (as shown in
   the figure below and also described in [RFC2217]) is configured to
   use Xon/Xoff outbound flow control, it maintains an internal state
   variable that reflects whether or not it is currently allowed to
   transmit data via the physical serial port.  When the telnet server
   receives an XOFF character via the physical serial port, the server
   will stop transmitting data via the physical serial port until an XON
   character is received via the physical serial port.

        +-----------+   telnet/RFC2217
        |  telnet   |   connection          physical
        |  client   +----+                / serial port
        |           |    |               /
        +-----------+    |              /
                         |             /
                    +----+----------+ /
                    |               |/    RS-232      +----------+
                    |   telnet     ++      with       |  serial  |
                    |   server     |+-----------------+  device  |
                    |              ++    Xon/Xoff     |          |
                    |               |      flow       +----------+
                    +---------------+     control

   This memo extends that behavior by defining new telnet com port
   control option [RFC2217] SET-CONTROL subcommand values that allow the
   telnet client to force the server to behave as if an XOFF or XON
   character has been received via the physical serial port.

   This extension is needed by telnet clients that implement a port-
   redirection service in order to provide other local applications
   access to the remote serial port (physically located on the telnet
   server) via the same serial port API that is used to access local
   serial ports.  Since some operating systems provide in the serial
   port API a mechanism to control the state of the outbound Xon/Xoff
   flow control, the telnet com port control option is extended to

Edwards                Expires September 23, 2010               [Page 2]
Internet Draft     Telnet Xon/Xoff Flow State Control     March 23, 2010
Show full document text