Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

problem in saving stream as python script for unimplemented protocols like GRE, MPLS... #170

Closed
nmchowdary opened this issue Dec 11, 2015 · 1 comment

Comments

@nmchowdary
Copy link

I am importing PCAP file having MPLS protocol, as MPLS protocol is not available, ostinato treats MPLS as a hexdump and it is decoding layers above MPLS properly.
Through ostinato GUI i am able to send packets properly and in wireshark capture i am be able to see all the headers including MPLS properly.
But when i save it as python script, MPLS header is dumped as hex field and content for that field is exported as empty.(snippt of python script pasted below )

p.protocol_id.id = ost_pb.Protocol.kHexDumpFieldNumber
p.Extensions[hexDump].content = ''
p.Extensions[hexDump].pad_until_end = False

Note : same problem observed for all unimplemented protocols like GRE, GTP...

@pstavirs
Copy link
Owner

Originally reported on the mailing list - https://groups.google.com/forum/#!topic/ostinato/IMSZKc2pMyQ

cdm-work pushed a commit to cdm-work/ostinato that referenced this issue Dec 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants