Where does the filtering happen?
Filtering runs on your server, at the edge, before your application. Traffic goes through HAProxy at TLS termination, then AppSec inspection and CrowdSec. A blocked request never reaches PHP. No request is sent to an external service to obtain a verdict: the decision is local.