Limiting Connection Attempts

G’day there.

I want to limit “new” connection attempts from an IP/list to an IP in my network

Say… something like

if new connections from IP > 3 per minute then add-src-to-address-list with a 48 hour timeout

Can anyone explain how to do this?