News: This forum is now permanently frozen.
Pages: [1]
Topic: Captive Portal  (Read 1653 times)
« on: July 25, 2010, 06:54:57 »
momothefox *
Posts: 49

CP shows total bytes in and out for each user, what about storing  these information in xml configuration file, so CP could keep track of bandwidth used by users.
for this, after each session ends, the downloaded/uploaded bytes are added to the total size stored in xml as <traffic>2345222</traffic> and so the uploaded bytes.
It could be automated every defined period of time. to avoid power loss.
maybe limiting users to use certain amount of bandwidth monthly, weekly. maybe be adding another editable page shows traffic consumption for each user. warning about used bandwidth, and every authenticated user could be redirected to it .
this needs to change the way CP works with user names and passwords.
instead of removing the user after expiry, the user get suspended or disabled.
so users would get <status>disabled</status> <status>suspended</status> instead of <expirationdate/>
this will be a major add-on to the Captive Portal.
also if adding static IP and Mac Address entry for each user would be great, and it will minimize the need for external radius server. if not defined, the user get authenticated normally.  
i hope i could write php to bring up more help.
i even don't know how much lines needs to be added to captive portal files.
but i hope it is not pretty much.
thanks for reading my long boring and non well-arranged post.
i will try to re arrange it as a replay for it

Best Regards,
Mohammed Ismail.
 
 
« Last Edit: July 26, 2010, 23:21:11 by momothefox »

Mohammed Ismail
« Reply #1 on: July 25, 2010, 06:59:16 »
momothefox *
Posts: 49

Adding bandwidth calculator to control download/upload with muximum value over month/week.
Automated update for data every certain time.
Adding editable page shows bandwidth consumption for each user.
Changing <expirationdate/> to <status/> as disabled or Suspended.
Adding static IP,MAC address to force user not to change IP,MAC.
All data stored in XML.

Best Regards,
Mohammed Ismail.

Mohammed Ismail
« Reply #2 on: August 02, 2010, 03:23:15 »
momothefox *
Posts: 49

is this conflict with the idea of m0n0wall running from RAM? and data is being written to a flash memory which is limited to a number of write attempts? 

Mohammed

Mohammed Ismail
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines