-
Notifications
You must be signed in to change notification settings - Fork 46
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
Pcap Next generation #4
Comments
Pypacker supports plain pcap format which is described here: |
It looks like you've added some pcapng support over the years and even have some tests built, but I'm not having any luck using it even with pcapng from your test files. Getting:
Example code: print("pcapng reader") cnt = 0 for ts, buf in png_reader: for k in keys: png_reader.close() |
Hi, no pcapng is currently not planned to be implemented because of the reasons mentioned above. There was a contribution for pcapng long time ago but this was only partially (and only reading support afaik). Additionally: the github repo is outdated for a long time and development is done now in gitlab (see main page of the github repo). |
When I try to use Pcap Next generation format file , pypacker gives me back this exception:
raise ValueError("invalid tcpdump header, magic value: %s" % self.__fhdr.magic)
ValueError: invalid tcpdump header, magic value: 168627466
[fix] I think, for now Pypacker don't support next gen Pcap file. [fix] , sorry it supports but i dont know why i can't use pcapng files. With Wireshark , there are no errors when i open pcapng file.
The text was updated successfully, but these errors were encountered: