[isf-wifidog] Re: Wifidog MAC Blacklist

Benoit Grégoire bock at step.polymtl.ca
Mer 10 Jan 21:43:34 EST 2007


On Tuesday 09 January 2007 22:59, Dylan Reeve wrote:
> Hi Benoit,
>
> I was the one on #wifidog today as Sycofant.
>
> I have looked at the code, and I think I see what need to happen. But I
> thought I would email you and check my thoughts as I am still a little
> unsure of some of it.
>
> I figure I need to hook into the /auth/index.php

No you need to hook into Authenticator.php, in the login phase 
(login/index.php)

> Essentially call the list of blacklisted MACs from the database (if
> enabled), and check if the client MAC is listed (and active) - if it is,
> I return a failure result and message.

That's right.

> What I don't know is what value I should return (I figure
> ACCOUNT_STATUS_DENIED or LOCKED) and I am not sure where and how I
> should hook into the auth.

Your blacklisted clients won't get to the auth phase.

> Should I be mailing this to the list?

Yes (I CCed)

-- 
Benoit Grégoire
Technologies Coeus inc.
-------------- section suivante --------------
Une pièce jointe non texte a été nettoyée...
Nom: non disponible
Type: application/pgp-signature
Taille: 189 octets
Desc: non disponible
Url: http://listes.ilesansfil.org/pipermail/wifidog/attachments/20070110/2f435bd1/attachment.pgp


Plus d'informations sur la liste de diffusion WiFiDog