Posted on 2008-06-12 16:25:03-07 by baks
Splitting Telnet command across multiple TCP segments
Hi All, I have a observation and a query following. In RH9 Linux I observed that on pressing control-C while connected through a telnet session , the telnet server responds with a DATA MARK command option but the command is split across 2 TCP segments. I mean the 1st TCP segment contains the IAC (0xFF) and the 2nd TCP segment contains the DM (0xF2). My question is that is it legitimate that the command be split across 2 TCP{ segments because as per the RFC 854: TELNET COMMAND STRUCTURE All TELNET commands consist of at least a two byte sequence: the "Interpret as Command" (IAC) escape character followed by the code for the command. Any help in this regard will be great. Regards Arnab
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.