cartalyst / sentinel

A framework agnostic authentication & authorization system.
BSD 3-Clause "New" or "Revised" License
1.52k stars 240 forks source link

IP exclusion #431

Closed gwiwoloku closed 5 years ago

gwiwoloku commented 6 years ago

Hi,

Is there a way to bypass the Sentinel checkpoint so a set of ips won't it the throttle?

Thanks

basherdesigns commented 6 years ago

I would also like to know how you could "whitelist" an IP so it is excluded from throttling. Thanks!

brunogaspar commented 5 years ago

Hello

This doesn't seem to be possible at the moment but would be a very good feature to have implemented i think.

We totally welcome it if someone want's to try to implement it.

As a workaround and one of the ways to achieve this is by using a middleware, where you check the IP address and disable throttling if that IP is within a range of IP's for example.