How can i remove packet headers with script
Hi, I wish to remove packet headers as vlan and mpls (maybe other headers in the future) on a pcap file, i have a few problems:
- I need to do it with a script (Python based)(on windows env)(I have a lot of them so using gui based applications as TraceWrangler takes to much time)
- I'm able to do so with editcap (it can remove vlan tags, but couldn't find any option for other headers).
- With editcap i can remove other headers with the -C option, but the only way i was able to check the size and offset of a spesific header is with tshark extract to pdml file, the problem is it takes too long and i don't know why.
Thanks.