Here is my fork of mallory: https://bitbucket.org/sskaje/mallory, which, as it’s said, is a powerful TCP/UDP proxy, but way too old.
Here you can find how to install it, but the official repo one.
I created a pull request here, but seems IntrepidusGroup guys are not working on this anymore.
And the TCP/UDP raw protocol debug still not work for me. Hope I can figure it out one day.
Btw, quotes of my commit logs: