Wireshark-bugs: [Wireshark-bugs] [Bug 1809] Implement 3GPP protocoll SABP (ASN.1) #25.419

Date: Thu, 13 Mar 2008 11:36:27 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1809


Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.r.mathieson@googlemai
                   |                            |l.com




--- Comment #7 from Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>  2008-03-13 11:36:25 GMT ---
There is already a SABP dissector.  I know its been tested on test files that
didn't have proper transport details.

As a test, I added the following lines to proto_reg_handoff_sabp():

    sabp_handle = find_dissector("sabp");
    dissector_add_handle("tcp.port", sabp_handle);

I was then able to right-click and Decode-as SABP. I've pasted the decode I got
below.

Better, though, would be to register the well-known port.  Iana says its 3452
for TCP and UDP, so I also added:

    dissector_add("tcp.port", 3452, sabp_handle);
    dissector_add("udp.port", 3452, sabp_handle);

This also seems to work.

I'll try to check in a change later today, but this dissector is generated from
a template file, and I'm not sure if I have the correct tools to run the
generation script at the moment...


Protocol Info
     10 90.001479              172.31.98.145         137.58.189.57         SABP
    id-Restart-Indication 

Frame 10 (100 bytes on wire, 100 bytes captured)
Ethernet II, Src: ExtremeN_1d:32:60 (00:04:96:1d:32:60), Dst: HewlettP_98:ab:dc
(00:15:60:98:ab:dc)
Internet Protocol, Src: 172.31.98.145 (172.31.98.145), Dst: 137.58.189.57
(137.58.189.57)
Transmission Control Protocol, Src Port: 49331 (49331), Dst Port: 3452 (3452),
Seq: 1, Ack: 1, Len: 46
UTRAN Iub interface SABP signalling
    SABP-PDU: initiatingMessage (0)
        initiatingMessage
            procedureCode: id-Restart-Indication (4)
            criticality: ignore (1)
            value
                Restart
                    protocolIEs: 2 items
                        Item 0: id-Service-Areas-List
                            Item
                                id: id-Service-Areas-List (15)
                                criticality: ignore (1)
                                value
                                    Service-Areas-List: 4 items
                                        Item 0
                                            Item
                                                pLMNidentity: 32F519
                                                lac: 00CE
                                                sac: 0001
                                        Item 1
                                            Item
                                                pLMNidentity: 32F519
                                                lac: 00CE
                                                sac: FFFF
                                        Item 2
                                            Item
                                                pLMNidentity: 32F519
                                                lac: 00CE
                                                sac: 1234
                                        Item 3
                                            Item
                                                pLMNidentity: 32F519
                                                lac: 00CE
                                                sac: 0000
                        Item 1: id-Recovery-Indication
                            Item
                                id: id-Recovery-Indication (12)
                                criticality: ignore (1)
                                value
                                    Recovery-Indication: data-lost (0)


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