Skip to content
This repository was archived by the owner on Apr 14, 2024. It is now read-only.
This repository was 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

@nmchowdary

Description

@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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions