Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

telnetlib.Telnet does not process DATA MARK (DM) #45094

Closed
norbertb mannequin opened this issue Jun 15, 2007 · 3 comments
Closed

telnetlib.Telnet does not process DATA MARK (DM) #45094

norbertb mannequin opened this issue Jun 15, 2007 · 3 comments
Assignees
Labels
extension-modules C modules in the Modules dir

Comments

@norbertb
Copy link
Mannequin

norbertb mannequin commented Jun 15, 2007

BPO 1737737
Nosy @jackdied

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/jackdied'
closed_at = <Date 2009-04-06.02:25:13.292>
created_at = <Date 2007-06-15.09:59:07.000>
labels = ['extension-modules', 'invalid']
title = 'telnetlib.Telnet does not process DATA MARK (DM)'
updated_at = <Date 2009-04-06.02:25:13.290>
user = 'https://bugs.python.org/norbertb'

bugs.python.org fields:

activity = <Date 2009-04-06.02:25:13.290>
actor = 'jackdied'
assignee = 'jackdied'
closed = True
closed_date = <Date 2009-04-06.02:25:13.292>
closer = 'jackdied'
components = ['Extension Modules']
creation = <Date 2007-06-15.09:59:07.000>
creator = 'norbert_b'
dependencies = []
files = []
hgrepos = []
issue_num = 1737737
keywords = []
message_count = 3.0
messages = ['32331', '85041', '85607']
nosy_count = 2.0
nosy_names = ['jackdied', 'norbert_b']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1737737'
versions = []

@norbertb
Copy link
Mannequin Author

norbertb mannequin commented Jun 15, 2007

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..

@norbertb norbertb mannequin added extension-modules C modules in the Modules dir labels Jun 15, 2007
@jackdied
Copy link
Contributor

jackdied commented Apr 1, 2009

assigning all open telnetlib items to myself

@jackdied
Copy link
Contributor

jackdied commented Apr 6, 2009

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).

@jackdied jackdied closed this as completed Apr 6, 2009
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension-modules C modules in the Modules dir
Projects
None yet
Development

No branches or pull requests

1 participant