This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: telnetlib.Telnet does not process DATA MARK (DM)
Type: Stage:
Components: Extension Modules Versions:
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: jackdied Nosy List: jackdied, norbert_b
Priority: normal Keywords:

Created on 2007-06-15 09:59 by norbert_b, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg32331 - (view) Author: Norbert Buchmüller (norbert_b) Date: 2007-06-15 09:59
According to RFC854, the DATA MARK (DM, character code 0xf2) is a control character of the TELNET protocol that should be removed from the input stream (see 'THE TELNET "SYNCH" SIGNAL' in RFC854). Unfortunately the telnetlib.Telnet implementation shipped with Python version 2.5 simply passes the DM char through..
msg85041 - (view) Author: Jack Diederich (jackdied) * (Python committer) Date: 2009-04-01 16:22
assigning all open telnetlib items to myself
msg85607 - (view) Author: Jack Diederich (jackdied) * (Python committer) Date: 2009-04-06 02:25
RFC 854 says that DM, like all other commands, is only valid when
preceded by an IAC.  telnetlib does filter these out appropriately (I
just added tests for it in r71302 and it behaves appropriately).
History
Date User Action Args
2022-04-11 14:56:24adminsetgithub: 45094
2009-04-06 02:25:13jackdiedsetstatus: open -> closed
resolution: not a bug
messages: + msg85607
2009-04-01 16:22:26jackdiedsetassignee: jackdied

messages: + msg85041
nosy: + jackdied
2007-06-15 09:59:07norbert_bcreate