Wireshark-bugs: [Wireshark-bugs] [Bug 5278] New: [NAS EPS] Add dissection of special conformance
Date: Wed, 6 Oct 2010 04:29:02 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5278

           Summary: [NAS EPS] Add dissection of special conformance
                    testing functions
           Product: Wireshark
           Version: 1.5.x (Experimental)
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: pascal.quantin@xxxxxxxxx


Pascal Quantin <pascal.quantin@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5268|                            |review_for_checkin?
               Flag|                            |

Created an attachment (id=5268)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=5268)
patch adding EPC test procedure messages dissection

Build Information:
Version 1.5.0 (SVN Rev 34393 from /trunk)

Copyright 1998-2010 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.12.12, (32-bit) with GLib 2.16.6, with libpcap 1.0.0, with
libz 1.2.3.3, without POSIX capabilities, without libpcre, without SMI, without
c-ares, without ADNS, without Lua, without Python, with GnuTLS 2.4.2, with
Gcrypt 1.4.1, with MIT Kerberos, without GeoIP, without PortAudio, without
AirPcap.

Running on Linux 2.6.26-2-686-bigmem, with libpcap version 1.0.0, with libz
1.2.3.3, GnuTLS 2.4.2, Gcrypt 1.4.1.

Built using gcc 4.3.2.

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
The attached patch adds the ability o dissect the EPC test procedure message
used for conformance testing as specified in 3GPP TS 36.509 V9.1.0.

Here is a few dissection samples:

27 95 68 e4 b9 03 0f 80 00 06 12 34 01 11 11 05
Non-Access-Stratum (NAS)PDU
    0010 .... = Security header type: Integrity protected and ciphered (2)
    .... 0111 = Protocol discriminator: EPS mobility management messages (7)
    Message authentication code: 0x9568e4b9
    Sequence number: 3
    GSM A-I/F DTAP - Close UE Test Loop
        Protocol Discriminator: Tests procedures described in 3GPP TS 44.014,
3GPP TS 34.109 and 3GPP TS 36.509
            0... .... = TI flag: allocated by sender
            .000 .... = TIO: 0
            .... 1111 = Protocol discriminator: Tests procedures described in
3GPP TS 44.014, 3GPP TS 34.109 and 3GPP TS 36.509 (15)
        DTAP Tests Procedures Message Type: Close UE Test Loop (0x80)
        0000 00.. = Spare bit(s): 0
        .... ..00 = UE test loop mode: A (0)
        UE Test Loop Mode A LB Setup
            Length: 6
            Number of LB entities: 2
            LB entity 0
                0001 0010  0011 0100 = Uplink PDCP SDU size in bits: 4660
                ...0 0001 = Data Radio Bearer identity number: 1
            LB entity 1
                0001 0001  0001 0001 = Uplink PDCP SDU size in bits: 4369
                ...0 0101 = Data Radio Bearer identity number: 5

27 ce f8 bf 43 03 0f 81
Non-Access-Stratum (NAS)PDU
    0010 .... = Security header type: Integrity protected and ciphered (2)
    .... 0111 = Protocol discriminator: EPS mobility management messages (7)
    Message authentication code: 0xcef8bf43
    Sequence number: 3
    GSM A-I/F DTAP - Close UE Test Loop Complete
        Protocol Discriminator: Tests procedures described in 3GPP TS 44.014,
3GPP TS 34.109 and 3GPP TS 36.509
            0... .... = TI flag: allocated by sender
            .000 .... = TIO: 0
            .... 1111 = Protocol discriminator: Tests procedures described in
3GPP TS 44.014, 3GPP TS 34.109 and 3GPP TS 36.509 (15)
        DTAP Tests Procedures Message Type: Close UE Test Loop Complete (0x81)

27 70 11 42 10 01 0f 84 00
Non-Access-Stratum (NAS)PDU
    0010 .... = Security header type: Integrity protected and ciphered (2)
    .... 0111 = Protocol discriminator: EPS mobility management messages (7)
    Message authentication code: 0x70114210
    Sequence number: 1
    GSM A-I/F DTAP - Activate Test Mode
        Protocol Discriminator: Tests procedures described in 3GPP TS 44.014,
3GPP TS 34.109 and 3GPP TS 36.509
            0... .... = TI flag: allocated by sender
            .000 .... = TIO: 0
            .... 1111 = Protocol discriminator: Tests procedures described in
3GPP TS 44.014, 3GPP TS 34.109 and 3GPP TS 36.509 (15)
        DTAP Tests Procedures Message Type: Activate Test Mode (0x84)
        0000 00.. = Spare bit(s): 0
        .... ..00 = UE test loop mode: A (0)

27 cc 52 96 78 01 0f 85
Non-Access-Stratum (NAS)PDU
    0010 .... = Security header type: Integrity protected and ciphered (2)
    .... 0111 = Protocol discriminator: EPS mobility management messages (7)
    Message authentication code: 0xcc529678
    Sequence number: 1
    GSM A-I/F DTAP - Activate Test Mode Complete
        Protocol Discriminator: Tests procedures described in 3GPP TS 44.014,
3GPP TS 34.109 and 3GPP TS 36.509
            0... .... = TI flag: allocated by sender
            .000 .... = TIO: 0
            .... 1111 = Protocol discriminator: Tests procedures described in
3GPP TS 44.014, 3GPP TS 34.109 and 3GPP TS 36.509 (15)
        DTAP Tests Procedures Message Type: Activate Test Mode Complete (0x85)

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