A few months ago, when BF42 servers everywhere (including TPU) were being hit by a nasty exploit, I discovered this web site: http://bfmods.com
Several of the site's contributors are adept at patching the server software, and they came up with a patch to prevent the hack. I applied the patch to the TPU server and the hacks stopped.
There's plenty of other useful information on the web site, including server-side modding, as well as modding tools. Check it out!