I want to use c language to realize such a function, for example: an existing server and client, I want to write a plugin for packets between the two, and modified only in sent to the address, the client role discarded items, for example, will send packets to the server, used to lower the full-scale news, so I'm going to intercept packets are modified into package, I need this plugin is running on the server, not the client use, excuse me, how to realize, I thought listener port, but occupied ports can no longer be other programs to monitor,
Implementation method had better not associated with the kernel drive these, because I am not a professional, don't have much time to learn those at the bottom of things,
CodePudding user response:
In order not to break the law, if you have any permissions on the server, Suggestions to modify the server code directly,