Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
Editing TCP packets "on the fly"
Actualy from the description of your problem ettercap is exactly what you are looking for. You can implememnt arp poisoning and have all packets routed through you. Then you can write your filter. So say just use the replace code in the manual for ec and it will tell you how to. Easy as stuff. Unless your looking for GUI then you should stfu.