Re: Ip Blocking
| From: | Mark | Date: | Thu, 04 Oct 2001 18:51:52 +0000 |
| Subject: | Re: Ip Blocking | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70132@lists.php.net to get a copy of this message | ||
On Fri, 5 Oct 2001 14:12:46 -0400, Prottoss wrote:
>What would be the most effective way to create blocking of users by
>ip using
>mysql. In such as way that the "blocking system" allows for masks
>such as
>24.127.89.*
>24.*.*.*
>etc...
>
>So far the what I've come up with is either breaking the ip into 4
>INTs and
>then running an SQL query to check if that ip is found in "Blocked
>Users"
>table.
>
>Replies would be appriciated
>
>Prottoss
>
have you thought about using ipchains?
--
Mark, maggelet@mminternet.com on 10/04/2001