Ask Your Question

Revision history [back]

Storing packets on Data Base

I'm developing a project to store real-time packet capture data on a DB. My current strategy is to run Tshark to make a JSON file and then read that by script and store it on DB. But here I'm facing an issue script not being able to read JSON file simultaneously. it says "Permission Denied". I need help with this. Is there any better strategy or this is the one? Because this is also memory-consuming because the .pcapng file also creating behind with json file because both are useless because DB is what I need. My ultimate goal is to access packet data through API by a GUI.