Skip to content

Is there a way of speeding up the apply_on_packets/iteration of a big capture ? #551

Answered by KimiNewt
DiorroerStlenneg asked this question in Q&A
Discussion options

You must be logged in to vote

If you're already using the json mode, try and see if the summary mode can be used for your purposes, or else to add parameters using custom_parameters to tshark so it doesn't parse as many protocols (perhaps limiting it to parse just IP or TCP?). Other than that there's nothing built in to pyshark to speed it up more - though you are more than welcome to write one.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@DiorroerStlenneg
Comment options

@KimiNewt
Comment options

@DiorroerStlenneg
Comment options

Answer selected by DiorroerStlenneg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants