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

Consider using sharkd when it's available #138

Open
gcla opened this issue Jul 15, 2022 · 0 comments
Open

Consider using sharkd when it's available #138

gcla opened this issue Jul 15, 2022 · 0 comments

Comments

@gcla
Copy link
Owner

gcla commented Jul 15, 2022

One of the first comments I received on termshark's initial release was did I consider using sharkd instead of tshark... I didn't, but out of ignorance! Sharkd is a daemon with a JSON interface that supports loading pcaps, checking filters, and various other tshark operations. It would have two main advantages:

  • it would be faster for things like filter syntax checking because I wouldn't need to run a separate process each time
  • it would be better for large pcaps because I wouldn't need the optimizations around loading pdml in chunks, reducing complexity a lot

The main disadvantages, afaict, are that

  • sharkd isn't bundled on Windows.
  • I can't see a way to get psml and pdml from it (but I must be missing that, surely)
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

1 participant