ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 7255] dissector for generic ISO 7816 messages (atr and apd

Date: Mon, 14 May 2012 16:01:33 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7255

--- Comment #9 from Martin Kaiser <wireshark@xxxxxxxxx> 2012-05-14 16:01:33 PDT ---

Hi Pascal,

(In reply to comment #8)

> (In reply to comment #0)
> >So far, I've coded only the basic apdu structure. When the dissector is merged,
> >I'll add the apdus and parameters defined in iso7816-4 and other 7816 parts.
> Will you add also the decoding of SW1SW2 bytes (I assume they have the same
> kind of meaning as in the ETSI/3GPP specs)?

there's a section in iso7816-4 about the possible values of the status bytes. I
plan to add this as well (don't know about 3GPP).

> > The caller of this dissector has to supply a direction (to the smartcard or
> > from the smartcard), this is stored in a frame's private data.
> Why not use pinfo->p2p_dir = P2P_DIR_SENT or P2P_DIR_RECV instead of adding the
> direction to private data?

Thanks for pointing this out, I wasn't aware of these constants. It looks like
that's going to simplify the dissector. I'll provide an updated patch within
the next couple of days.

Best regards,

   Martin

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