Ethereal-dev: [Ethereal-dev] Telnet dissector bug ?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "J.P. Tosoni" <jp.tosoni@xxxxxxxxx>
Date: Mon, 10 Jan 2005 15:41:04 +0100
Sorry if this is not the right place to post a bug; I didn't find where to do this.

there is a difference between the client and server COM PORT options dissection.

the following TELNET sequence
FF FA 2C 0B FF FF FF F0
which means suboption-begin com-port client-modemstatemask FF suboption-end
is wrongly (?) displayed as:
Suboption begin: COM port control
	client <invalid modemstate mask>
Command: unknown (0xff)
Command suboption End

The doubled FF sequence is not recognized as a single FF. However this works for the server modemstate, for example:
the following TELNET sequence
FF FA 2C 6F FF FF FF F0
which means suboption-begin com-port server-modemstatemask FF suboption-end
is correctly displayed as:
Suboption begin: COM port control
	Server set modemstate DCTS, DDSR, TERI, DDCD, CTS, DSR, RI, DCD
Command suboption End

J.P. Tosoni
Acksys