[ietf78-tech] idea for max device limit...

kemp kemp at network-services.uoregon.edu
Thu Jul 22 23:38:50 PDT 2010


Was thinking about this one last night.
Since we always store the RegId and the MAC
of the device for that login at login time,
we could just do the check in the index.pl
login script.

The original Captivator code is built using
a similar but different logic.  But I don't think
it would be too much trouble to code up a similar
subroutine, like: numberOfMacsForRegid($Regid) and
then do a quick mysql lookup for that Regid, and
count the unique MAC addresses.   Result would be:

joe-user logged in 5 different devices using Regid #M
The 6th MAC would return an error webpage after joe-user
clicks the login submit button.
Since login really is our point of access
control, seems reasonable to put that there.  And
since the Captivator database is already gathering
those Regid/MAC combos, seemed like the logical place
to grab them from.

Just thought I would run this idea past people.

-- 
John Kemp
kemp at network-services.uoregon.edu
RouteViews Engineer
541-346-1714



More information about the ietf78-tech mailing list