[isf-wifidog] Possible de faire PAID TOKEN moi-meme?

Philippe April isf_lists at philippeapril.com
Mer 24 Oct 21:48:18 EDT 2007


As Benoit said, it can (and should!) all be done on the  
authentication side by not saying "allow" to a connection unless he  
paid for it.

It _should_ be pretty straightforward, although I haven't checked  
into the details.

I guess you could generate a user automatically (associated to his  
mac address) after the user paid, which contains the "time left to  
surf", and give that user's password/access code to the user. The  
user uses that for a login, and surfs.

The Wifidog gateway (what runs on the routers) already pings and  
sends statistics to the auth server every x minutes and at the same  
time verifies that the connection is still allowed. When time has  
expired, it could start responding "denied", and the connection will  
be cut !

On 24-Oct-07, at 8:28 PM, Bruno Remy wrote:

> As far as i'm concern by this topic on this list, i would say :
> Guys, please don't forget that, at the origin, Wifidog was
> thought,written and builted in purpose to offer a "FREE WIRELESS
> SERVICE" with a captive portail and an (optional) authentification  
> database.
> So, in this context, it makes sense that implementing a "PAID TOKEN"
> occures some "fundamentals" changes in Wifidog"s code.
>
> Just my two cents,
>
> Bruno
>
> Jesse Lloyd a écrit :
>
>> Thanks for getting back to me.  I didn't know it was an international
>> list... so I'll write in English.
>>
>> So it's basically impossible to do what I need?  We were thinking of
>> installing the client and server on the same machine so that we could
>> have HTML php pages that sort of interface with the server to pass a
>> MAC address through to the internet after someone pays for, say, an
>> hour of use or whatever...  And maybe making the at daemon that linux
>> provides keep track of the time.
>>
>> Am I going about this the wrong way?  I can't think of any other way
>> to do this, and if this doesn't work... I'm fired!
>>
>> Thanks
>>
>> On 10/24/07, Benoit Grégoire <bock at step.polymtl.ca> wrote:
>>
>>
>>> On Wednesday 24 October 2007, Jesse Lloyd wrote:
>>>
>>>
>>>> Salut mecs,
>>>>
>>>> Petite question pour vous.
>>>>
>>>> Un de mes amis a écrit un courier au sujet de "Token  
>>>> Architecture" et
>>>> si c'était possible de programmer Wifidog pour que il puisse  
>>>> recevoir
>>>> l'argent de Paypal pour quelque minutes / heures de temps sur
>>>> l'internet en échange.  Apres l'heure est terminé, il doit payer
>>>> encore.  Très simple.  Benoit disait que ça pourrait prendre 6 mois
>>>> peut-être pour l'équipe Île-Sans-Fil de faire ça.
>>>>
>>>>
>>> 6 mois avant qu'on y travaille si ce n'est que pour les besoins  
>>> d'Île sans
>>> fil, pas 6 mois de travail.
>>>
>>>
>>>
>>>> Par-ce qu'on a besoin que ça fonctionne immédiatement comme ça  
>>>> et on
>>>> ne peut pas attendre 6 mois, j'ai décidé que je vais essayer de
>>>> completer ce projet moi-même… Mais je veux savoir quelque chose
>>>> simple… est-ce que c'est possible de faire quelque chose qui  
>>>> resemble
>>>> à les demandes si-dessous? (example… j'ai inventé les cmds)
>>>>
>>>> linux:/usr/local/wifidog# wifidog –enable-mac 5F:00:1A:23:2D:DA
>>>>
>>>>    et:
>>>>
>>>> linux:/usr/local/wifidog# wifidog –disable-mac 5F:00:1A:23:2D:DA
>>>>
>>>> Si c'est possible to faire un cmd comme ça sur wifidog, je pense  
>>>> que
>>>> pourrais completer le système dans quelques heures / jours en
>>>> utilisant "at daemon" sur linux et des buttons que Paypal vous  
>>>> donne.
>>>>
>>>>
>>> Ce n'est pas possible, et ç'est en fait contraire au design de  
>>> wifidog de
>>> garder le gateway simple, et de prendre les décisions sur le serveur
>>> d'authentification (où c'est d'ailleurs beaucoup plus facile à
>>> implanter/modifier).
>>>
>>>
>>>
>>>> Merci pour lire mon courriel!  J'espère que ça fait du sense…  
>>>> français
>>>> n'est pas ma langue maternelle!
>>>>
>>>>
>>> So post in english, this is an international list, most people on  
>>> it are
>>> anglophones or speak english.
>>>
>>>
>>>
>>> --
>>> Benoit Grégoire
>>> Technologies Coeus inc.
>>>
>>>
>>>
>>>
>> _______________________________________________
>> WiFiDog mailing list
>> WiFiDog at listes.ilesansfil.org
>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>
>>
>>
>
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>



Plus d'informations sur la liste de diffusion WiFiDog