Ethereal-dev: [Ethereal-dev] RE: [PATCH] Minor fix for 3GPP2 A11 Session Update and Sample Cap

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

From: "Ravi Valmikam" <rvalmikam@xxxxxxxxxxx>
Date: Tue, 28 Mar 2006 14:15:31 -0500
 
Andres

I have downloaded the nightly image and noticed a couple of things in 3GPP2 GRE dissector.

1. The Flow Id is now showing up as 2 bytes. It should be only 1 byte. In the attached capture, for example, flow Id should have been 0x00. It shows up incorrectly as 0x007E.

2. The attribute display is a bit difficult to read. 

     > 1x SDB/HRPD DoS Indicator (Reserved)
          .000 0001 = Type: Short Data Indicator (0x01)
          Length: 0x02
          0... .... .... .... = Short Data Indicator(SDI): Reserved

     > 1x SDB/HRPD DoS Indicator (packet suitable for 1x SDB or HRPD DOS transmission)
          .000 0001 = Type: Short Data Indicator (0x01)
          Length: 0x02
          1... .... .... .... = Short Data Indicator(SDI): packet suitable for 1x SDB or HRPD DOS transmission

     > Flow Control Indicator (XOFF, INDEFINITE)
         Length: 0x02
         1... .... .... .... = Flow Control Indicator: XOFF
         .1.. .... .... .... = Duration Indicator: INDEFINITE:
   
   Unless expanded, they will look like
     > 1x SDB/HRPD DoS Indicator (Reserved)
     > 1x SDB/HRPD DoS Indicator (packet suitable for 1x SDB or HRPD DOS transmission)
     > Flow Control Indicator (XOFF, INDEFINITE)

   This will make it really easy for me in everyday debugging in the lab.

Let me know if this is OK with you.

Also, can you spare a moment and let me know how you got the PPP dissection working? I tried my best to figure out the code path but could not figure it out :-)

Thanks
Ravi
       


Date: Mon, 27 Mar 2006 18:30:11 +0200
From: "Anders Broman" <a.broman@xxxxxxxxx>
Subject: SV: [Ethereal-dev] [PATCH] Minor fix for 3GPP2 A11 Session
	Update	andSample Captures
To: "'Ethereal development'" <ethereal-dev@xxxxxxxxxxxx>
Message-ID: <001f01c651bb$b7dc2530$6800a8c0@ditt7huk3o9fm5>
Content-Type: text/plain;	charset="iso-8859-1"

Checked in alongside some changes to the way the GRE information is
displayed and making the PPP dissector display the payload.
Brg
Anders

-----Ursprungligt meddelande-----
Från: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx] För Ravi Valmikam
Skickat: den 27 mars 2006 02:29
Till: ethereal-dev@xxxxxxxxxxxx
Ämne: [Ethereal-dev] [PATCH] Minor fix for 3GPP2 A11 Session Update
andSample Captures

 
Hi

Attached file contains a minor fix for 3GPP2 A11 Session Update and a
set of capture files .cap and decoded .txt files.

Please apply the patch to the source tree at your convenience.

I will update the Wiki pages as soon as possible.

Thanks
Ravi
================================
No.     Time        Source                Destination           Protocol Info
      1 0.000000    30.136.1.254          30.136.1.2            GRE      Encapsulated CDMA2000 A10 3GPP2 Packet

Frame 1 (145 bytes on wire, 145 bytes captured)
Ethernet II, Src: 00:09:5b:1f:fa:31 (00:09:5b:1f:fa:31), Dst: 00:01:af:14:f1:9c (00:01:af:14:f1:9c)
Internet Protocol, Src: 30.136.1.254 (30.136.1.254), Dst: 30.136.1.2 (30.136.1.2)
Generic Routing Encapsulation (CDMA2000 A10 3GPP2 Packet)
    Flags and version: 0x3000
    Protocol Type: CDMA2000 A10 3GPP2 Packet (0x88d2)
    Payload length: 60432
    Call ID: 74
    Sequence number: 1
    3GPP2 Attributes
        1x SDB/HRPD DoS Indicator: 0... .... = Not Set
        1x SDB/HRPD DoS Indicator: 1... .... = Set
        Flow Control Indicator: 0... .... = XON
        Duration Indicator: .0.. .... = TEMPORARY
        Flow Control Indicator: 0... .... = XON
        Duration Indicator: .1.. .... = INDEFINITE
        Flow Control Indicator: 1... .... = XOFF
        Duration Indicator: .0.. .... = TEMPORARY
        Flow Control Indicator: 1... .... = XOFF
        Duration Indicator: .1.. .... = INDEFINITE
        Segmentation Indicator: Packet Started
        Segmentation Indicator: Packet Continuing
        Segmentation Indicator: Packet Ended
        Segmentation Indicator: 0x03 - Unknown
        Flow Discriminator: 0 (0x00)
    Data (56 bytes)

0000  00 01 af 14 f1 9c 00 09 5b 1f fa 31 08 00 45 00   ........[..1..E.
0010  00 83 00 00 40 00 40 2f fa 3c 1e 88 01 fe 1e 88   ....@.@/.<......
0020  01 02 30 00 88 d2 ec 10 00 4a 00 00 00 01 01 02   ..0......J......
0030  00 00 01 02 80 00 02 02 00 00 02 02 40 00 02 02   ............@...
0040  80 00 02 02 c0 00 04 02 00 00 04 02 40 00 04 02   ............@...
0050  80 00 04 02 c0 00 83 01 00 7e ff 03 00 21 45 00   .........~...!E.
0060  00 30 00 00 40 00 3c 11 f9 49 0a 04 09 29 0a 35   .0..@.<..I...).5
0070  28 12 0d 59 0d 59 00 1c 2c 2c 0a 64 73 64 73 64   (..Y.Y..,,.dsdsd
0080  73 64 73 64 0a 0a 64 73 64 73 64 73 64 0a 16 a1   sdsd..dsdsdsd...
0090  7e                                                ~

=============================
Generic Routing Encapsulation (CDMA2000 A10 3GPP2 Packet)
    Flags and version: 0x3000
    Protocol Type: CDMA2000 A10 3GPP2 Packet (0x88d2)
    Payload length: 60432
    Call ID: 74
    Sequence number: 1
    3GPP2 Attributes
        .000 0001 = Type: Short Data Indicator (0x01)
        Length: 0x02
        0... .... .... .... = Short Data Indicator(SDI): Reserved
        .000 0001 = Type: Short Data Indicator (0x01)
        Length: 0x02
        1... .... .... .... = Short Data Indicator(SDI): packet suitable for 1x SDB or HRPD DOS transmission
        .000 0010 = Type: Flow Control Indication (0x02)
        Length: 0x02
        0... .... .... .... = Flow Control Indicator: XON
        .0.. .... .... .... = Duration Indicator: TEMPORARY
        .000 0010 = Type: Flow Control Indication (0x02)
        Length: 0x02
        0... .... .... .... = Flow Control Indicator: XON
        .1.. .... .... .... = Duration Indicator: INDEFINITE:
        .000 0010 = Type: Flow Control Indication (0x02)
        Length: 0x02
        1... .... .... .... = Flow Control Indicator: XOFF
        .0.. .... .... .... = Duration Indicator: TEMPORARY
        .000 0010 = Type: Flow Control Indication (0x02)
        Length: 0x02
        1... .... .... .... = Flow Control Indicator: XOFF
        .1.. .... .... .... = Duration Indicator: INDEFINITE:
        .000 0100 = Type: Segmentation Indication (0x04)
        Length: 0x02
        00.. .... .... .... = Type: Packet Started (0x0000)
        .000 0100 = Type: Segmentation Indication (0x04)
        Length: 0x02
        01.. .... .... .... = Type: Packet continued (0x0001)
        .000 0100 = Type: Segmentation Indication (0x04)
        Length: 0x02
        10.. .... .... .... = Type: Packet Ended (0x0002)
        .000 0100 = Type: Segmentation Indication (0x04)
        Length: 0x02
        11.. .... .... .... = Type: Unknown (0x0003)
        .000 0011 = Type: IP Flow Discriminator (0x03)
        Length: 0x01
        Flow ID: 007E
=========================