Run tcpdump regarding a match in a log file
Hello !
I'm looking for your help. I'm searching for a script which I have used onto a F5 some years ago. It was a script present on the F5 OS, not a specific script added manualy (in a v10.x version as far as I remember).
The goal of this script is to run a tcpdump during for a certain number of packets. When this number of packets is exceeded, the script will run automatically a new tcpdump, and check on a specified log file if there was a specific match. If a specific log was generated, the pcap file is conserved, if not, deleted.
This script was especially helpfull to be able to perform the capture of random events.
I have a random issue here, and I need this tool to be able to take a packet capture this way... however, even after grinding 2 hours in my mails, I wasn't able to find out the mail from F5 giving me the procedure and/or the name of the script !
If anyone have more informations for me, it would be great !