gchux / cloud-run-tcpdump

Cloud Run packet capturing sidecar
Apache License 2.0
6 stars 0 forks source link

allow pcap to terminate after specific number of packets captured #2

Open gchux opened 2 months ago

gchux commented 2 months ago

PCAP should allow for executions where only specific amount of packets are required to be captured

similar to tcpdump flag -c:

https://www.tcpdump.org/manpages/tcpdump.1.html#:~:text=Exit%20after%20receiving%20count%20packets.


OWNER: @gchux

gchux commented 4 weeks ago

this feature is required to provide similar behavior as tcpdump.