I would try this route first.
Here is my logic: it’s the effort to find what you are looking for in a bunch of files and I don’t know how many lines of source code versus the effort to search for some packets (which you should listen for anyway in the final solution) sent from a specific IP address over a relatively small amount of time.
Project Zomboid, more than 30 hours in.
I am a bit of a cheater because I do backup saves and restore them when did.