Skip to content
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

Can not open pcap.gz #42

Open
thegreathir opened this issue Jan 16, 2024 · 3 comments
Open

Can not open pcap.gz #42

thegreathir opened this issue Jan 16, 2024 · 3 comments

Comments

@thegreathir
Copy link

Failed to open pcap.gz file

sharkd sent unexpected stderr: 'sanity check(3a): [3] wrong type

Wireshark and tshark are OK with this.

@mbehr1
Copy link
Owner

mbehr1 commented Jan 17, 2024

Wasn't aware the gzips are natively supported. will take a look a try to add that as well!

@mbehr1
Copy link
Owner

mbehr1 commented Sep 17, 2024

hmm. interesting. sharkd (4.4.0) seems to support this as well:

{"jsonrpc":"2.0","method":"load", "params": {"file":"/Users/mbehr/Downloads/vsc-webshark-pcaps/success.pcap.gz"}, "id":1}
load: filename=/Users/mbehr/Downloads/vsc-webshark-pcaps/success.pcap.gz
{"jsonrpc":"2.0","id":1,"result":{"status":"OK"}}

mbehr1 added a commit that referenced this issue Sep 17, 2024
Pcap/pcapng/cap files with extension .pcapng.gz ... are supported as well.
Tested with wireshark/sharkd 4.4.0.

Issue: Can not open pcap.gz #42
mbehr1 added a commit that referenced this issue Sep 17, 2024
Pcap/pcapng/cap files with extension .pcapng.gz ... are supported as well.
Tested with wireshark/sharkd 4.4.0.

Issue: Can not open pcap.gz #42
@mbehr1
Copy link
Owner

mbehr1 commented Sep 17, 2024

@thegreathir implemented with v2.3.0 for .pcapng.gz/.zst/.lz4. Let me know whether it works for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants