Why don't you create a software to intercept and modify net traffic?
You can pick
LSP[
^] or
WFP[
^]
For LSP you can download a simple sample I created way back in 2009
here to block anything from a spesific IP address
Or
here, for a complete sample for WFP.
Good luck!