Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 2616] wireshark doest not parse iSCSI login PDU

Date: Tue, 17 Jun 2008 07:18:02 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2616





--- Comment #2 from Eran <erang@xxxxxxxxxxxx>  2008-06-17 07:18:01 PDT ---
(In reply to comment #1)
> The dissector uses this heuristic to determine a valid login command:
>         /* exactly one of the T and C bits must be set
>          * and the two reserved bits in byte 1 must be 0
>          */
> Neither of these bits is set so the packet is rejected as iSCSI. Since the
> dissectors is updated to only Draft 13, it might lag in this and other
> respects.

This is a quote from the 3270 RFC:
10.12.2. C (Continue) Bit
When set to 1, indicates that the text (set of key=value pairs) in
this Login Request is not complete (it will be continued on
subsequent Login Requests); otherwise, it indicates that this Login
Request ends a set of key=value pairs. A Login Request with the C
bit set to 1 MUST have the T bit set to 0.

As you can see the condition is: ( C => !T) and not (C ^ T).
This hasn't changed since 2004.


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.