New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Projects
None yet
2 participants
@nmchowdary

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

This comment has been minimized.

Show comment
Hide comment
Owner

pstavirs commented Dec 11, 2015

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

@pstavirs pstavirs closed this in 147469b Dec 11, 2015

cdm-work pushed a commit to cdm-work/ostinato that referenced this issue Dec 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment