Giter VIP home page Giter VIP logo

Comments (2)

pocc avatar pocc commented on May 20, 2024

Could it use capinfos - which will work its way through the pcap much more quickly than a tshark process that is generating XML output..

For getting the # of packets in a pcap, capinfos is the correct tool.

Multigig Pcaps

If you have a multigig pcap, I think it is expected to take longer. The solution here is to use a capture/display filters as part of the capture process. If you must have an unfiltered multigig pcap, there are tools to find what you're looking for. Especially given that termshark doesn't add much overhead to tshark processing, I don't think this should be the focus. The user has control over the size of capture and it's as simple as using -a -b -c.

(suggested title) Feature Request: Lazy load packets for a more responsive UI

Termshark is dependent on tshark -T psml, and currently will run through the whole pcap to generate the packet list, slowly updating the progress bar as it goes.

Can we just turn off the progress bar early, when enough packets have been loaded for several screens-worth of scrolling. All seems to add extra complexity.

This is the problem and I might retitle the issue. termshark should buffer $(arbitrary #) of packets from tshark and then show that to the user so termshark has a "responsive" UI. To be clear, nothing is broken per se, but having this feature is important to the UI.

from termshark.

gcla avatar gcla commented on May 20, 2024

Here's a link to a question I added to the FAQ: https://github.com/gcla/termshark/blob/master/docs/FAQ.md#how-much-memory-does-termshark-use

I'll close this issue now.

from termshark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.