mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
This tries to improve on the existing sniffer in a couple of ways: - In addition to being usable as a context manager, also allow explicitly starting and stopping the capture. - Try to synchronize the start of the capture by snooping stderr and wait for tcpdump to start up. This should eliminate the need for sleeps before starting to send packets. - By default, execute a safety sleep when terminating the capture to ensure that any straggling packets have had time to arrive at their destination.