To whatever node your client is talking to, the invalid transactions should not be relayed. This is more of a DDOS situation than anything novelly technical. Like all computer systems, DDOS is a technical challenge that requires careful consideration.