helloweishi / ostinato

Automatically exported from code.google.com/p/ostinato
GNU General Public License v3.0
1 stars 2 forks source link

Failed to open saved in PDML format stream #132

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Problem Description:
Error message occurs when opening saved in PDML format stream.

Steps to reproduce:
1. Connect to Ostinato.
2. Select interface within 'Ports Group' tree.
3. Create new stream.
4. Go into the stream.
5. Configure IPv4 packet: MAC, EthII and IPv4 layers.
6. Save stream in PDML format.
8. Remove the stream from Ostinato.
9. Import previously saved stream in PDML format.
10. Verify that all configured layers within stream are presented and displayed 
correctly.

Expected results:
Saved stream in PDML format is opened in Ostinato and kept all configured 
layers.

Actual results:
Error message occurs when opening saved in PDML format stream:
Error message: '../path/stream is not a valid PCAP file'

Additional info: tshark should be installed: sudo apt-get install tshark

Life Hack: Go to saved stream and remove header -> save stream -> open through 
Ostinato again -> test PASS

Header that should be removed:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="pdml2html.xsl"?>
<!-- You can find pdml2html.xsl in /usr/share/wireshark or at 
http://anonsvn.wireshark.org/trunk/wireshark/pdml2html.xsl. -->

Ostinato version: 0.6
OS: Linux 3.11.0-15-generic #25~precise1-Ubuntu 86_64 x86_64 x86_64 GNU/Linux

Type-Defect
Priority-Medium

Original issue reported on code.google.com by developers@plvision.eu on 22 Sep 2014 at 1:24

GoogleCodeExporter commented 9 years ago
Not able to repro.

I suspect this may have something to do with the tshark version. I'm using 
tshark 1.4.4. What tshark version do you have? Can you try with another version?

Original comment by pstav...@gmail.com on 5 Oct 2014 at 8:09

GoogleCodeExporter commented 9 years ago
I've tried with version 1.4.4 and issue is not reproducible, but still exists 
with tshark versions 1.6.7 and 1.12.1.

Original comment by developers@plvision.eu on 16 Oct 2014 at 12:01

GoogleCodeExporter commented 9 years ago
Can you please attach the pdml files generated by the various tshark versions 
that you tried for analysis?

Original comment by pstav...@gmail.com on 6 Nov 2014 at 3:42

GoogleCodeExporter commented 9 years ago
PDML files of t-shark versions 1.6.7 and 1.12.1 attached.

Original comment by developers@plvision.eu on 6 Nov 2014 at 4:53

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 0bd243d52433.

Original comment by pstav...@gmail.com on 8 Nov 2014 at 4:50

GoogleCodeExporter commented 9 years ago
Verified.

Original comment by developers@plvision.eu on 10 Nov 2014 at 11:32