Project Home
Project Home
Trackers
Trackers
Tasks
Tasks
Build & Test
Build & Test
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Reports
Reports
Project Information
Project Info
Forum Topic - qnet protocol dissector for ethereal/wireshark: (5 Items)
   
qnet protocol dissector for ethereal/wireshark  
Here is too silent.

I spent some time on reading qnet code and wrote a packet dissector for wireshark to analyze qnet packets(not finished 
yet)
below is a one of the packets and later I will post a picture here.

Frame 1 (184 bytes on wire, 184 bytes captured)
    Arrival Time: Aug 27, 2009 14:05:14.284193000
    [Time delta from previous captured frame: 0.000000000 seconds]
    [Time delta from previous displayed frame: 0.000000000 seconds]
    [Time since reference or first frame: 0.000000000 seconds]
    Frame Number: 1
    Frame Length: 184 bytes
    Capture Length: 184 bytes
    [Frame is marked: False]
    [Protocols in frame: eth:l4]
Ethernet II, Src: Vmware_6e:00:0a (00:0c:29:6e:00:0a), Dst: IntelCor_bf:a4:c5 (00:1c:c0:bf:a4:c5)
    Destination: IntelCor_bf:a4:c5 (00:1c:c0:bf:a4:c5)
        Address: IntelCor_bf:a4:c5 (00:1c:c0:bf:a4:c5)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
    Source: Vmware_6e:00:0a (00:0c:29:6e:00:0a)
        Address: Vmware_6e:00:0a (00:0c:29:6e:00:0a)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
    Type: QNX 6 QNET protocol (0x8204)
QNX6 QNET L4 protocol
    version: L4 little endian (42)
    type: L4 Lan Resolver packets (0x0b)
    flag: 0x03 (First Fragment) (Last Fragment)
        .... ...1 = first: Yes
        .... ..1. = last: Yes
        .... .0.. = crc: Not used
    layer: Lan Resolver (2)
    qos information
        src_nd_for_dst: 0
        dst_nd_for_src: 0
        sconn: 0x00000000
        dconn: 0x00000000
        seq: 0
        qos_type: Load balance (0)
        src_qos_idx: 0
    offset: 0
    length: 132
    crc: 0x00000008
QNX6 QNET LR protocol
    version: 1 (1)
    type: Reply (0x02)
    length: 132
    source: source node information
        name_offset: 4 (EA6e0a)
        name_len: 7
        domain_offset: 11 (ott.qnx.com)
        domain_len: 12
        addr_offset: 23 (00:0c:29:6e:00:0a)
        addr_len: 16
    destination: destination node information
        name_offset: 39 (EAbfa4c5)
        name_len: 9
        domain_offset: 48 (ott.qnx.com)
        domain_len: 12
        addr_offset: 60 (00:1c:c0:bf:a4:c5)
        addr_len: 16






another one LR request:
QNX6 QNET L4 protocol
    version: L4 little endian (42)
    type: L4 Lan Resolver packets (0x0b)
    flag: 0x03 (First Fragment) (Last Fragment)
        .... ...1 = first: Yes
        .... ..1. = last: Yes
        .... .0.. = crc: Not used
    layer: Lan Resolver (2)
    qos information
        src_nd_for_dst: 0
        dst_nd_for_src: 0
        sconn: 0x00000000
        dconn: 0x00000000
        seq: 0
        qos_type: Load balance (0)
        src_qos_idx: 0
    offset: 0
    length: 114
    crc: 0x07f34d60
QNX6 QNET LR protocol
    version: 1 (1)
    type: Request (0x01)
    length: 114
    source: source node information
        src_name_offset: 4 (EA6e0a)
        src_name_len: 7
        src_domain_offset: 11 (ott.qnx.com)
        src_domain_len: 12
        src_addr_offset: 23 (00:0c:29:6e:00:0a)
        src_addr_len: 16
    destination: destination node information
        dst_name_offset: 39 (EA6e0a)
        dst_name_len: 7
        dst_domain_offset: 46 (ott.qnx.com)
        dst_domain_len: 12
        dst_addr_offset: 0
        dst_addr_len: 0
Re: qnet protocol dissector for ethereal/wireshark  
Hi Yao,

Can you please send me the packet format and the sequence for QNet?
Please share if any document regarding the Qnet protocol in detail.
Re: qnet protocol dissector for ethereal/wireshark  
> Hi Yao,
> 
> Can you please send me the packet format and the sequence for QNet?
> Please share if any document regarding the Qnet protocol in detail.

I don't have any document and the only document is the source code of qnet on foundry27. If you need the dissector I can
 post here although I didn't finish it yet.
Re: qnet protocol dissector for ethereal/wireshark  
Hi Yao,
Please send me the dissector. That would be very helpful for me. You can send me in whatever state it is now, If I am 
able to add something to it, I can do that and send it across to u.
Thanks 
Lalit
Re: qnet protocol dissector for ethereal/wireshark  
> Hi Yao,
> Please send me the dissector. That would be very helpful for me. You can send 
> me in whatever state it is now, If I am able to add something to it, I can do 
> that and send it across to u.
> Thanks 
> Lalit


Hi,

I put the files under this http://community.qnx.com/svn/repos/qfuse/trunk/utils/w/wireshark.

You need to check out wireshark source by yourself from wireshark svn then apply the files here. If you can contribute 
more then that will be great. Don't forget to read the doc/README.developer before you want to contribute:) Their code 
is pretty good and very strict.