kspviswa / local-packet-whisperer

A Fun project using Ollama, Streamlit & PyShark to chat with PCAP/PCAPNG files locally, privately!
MIT License
30 stars 11 forks source link

Support pcapng files #1

Closed paulpv closed 4 months ago

paulpv commented 4 months ago

Thanks for this! I was excited to try this out on some captures I have. Installed everything and uploaded a file and it says pcapng is not supported.

image

I will look into any simple way to convert pcapng to pcap, but it would be nice if LPW directly supported pcapng files.

Again, thanks!

paulpv commented 4 months ago

To convert:

tshark -F pcap -r {pcapng file} -w {pcap file}

From https://ask.wireshark.org/question/1508/how-to-convert-pcapng-file-to-pcap-file-by-tshark/?answer=1511#post-id-1511

kspviswa commented 4 months ago

Great feedback. Lemme look into this

On Wed, Mar 6, 2024 at 4:33 PM Paul Peavyhouse @.***> wrote:

To convert:

tshark -F pcap -r {pcapng file} -w {pcap file}

From https://ask.wireshark.org/question/1508/how-to-convert-pcapng-file-to-pcap-file-by-tshark/?answer=1511#post-id-1511

— Reply to this email directly, view it on GitHub https://github.com/kspviswa/local-packet-whisperer/issues/1#issuecomment-1981966754, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZBILYWYY6O6MKKHZBB6YLYW6KURAVCNFSM6AAAAABEJ4XWCWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBRHE3DMNZVGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

kspviswa commented 4 months ago

Please try and let me know 😊