How to limit packets/second flow?

can you please help me how can we limit nonstandard packet flow? We would like to limit packet/sec for src or dst IP addresses. How to configure it?

Search scripting forum, this has been answered long ago.

But I do nod need to use script and e-mail notofication.