What is a best way to record packets in a way I can pretty much see them in real time?
Right now I have this tcp dump loop that writes to file, but problem is, it's just a rotation between 10 files. I would like something that would write files by date, and 1 file per hour or something, so that the files are not in use requiring me to stop the process so I can look at it. Anyway to make tcp dump write to file by date? (and change automatically when the date/hour changes)
Right now I have this tcp dump loop that writes to file, but problem is, it's just a rotation between 10 files. I would like something that would write files by date, and 1 file per hour or something, so that the files are not in use requiring me to stop the process so I can look at it. Anyway to make tcp dump write to file by date? (and change automatically when the date/hour changes)
