summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
Commit message (Collapse)AuthorAgeFilesLines
* Revert wrong fix of Bug #1711.Evgeny Yurchenko2011-07-221-2/+2
|
* Bug #1711. Acct-x-Octets are always 0 in Captive Portal -> Radius acct messages.Evgeny Yurchenko2011-07-211-2/+2
|
* Correctly restart the SSL lighty instance when running.Ermal2011-07-221-0/+1
|
* Remove 'maxproc' since its unused in the code and correctly use maxprocperip ↵Ermal2011-07-221-2/+2
| | | | to allow the GUI setting to be actually usable. Reported-by: http://forum.pfsense.org/index.php/topic,39155.0.html
* Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-07-061-1/+1
|\ | | | | | | | | Conflicts: etc/inc/priv.defs.inc
| * Correct pid filename so the instance of lighty for SSL is running.Ermal2011-06-301-1/+1
| |
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-06-201-12/+31
|\ \ | |/
| * PHP says that arrays cannot be used as keys, protect against this case as ↵Ermal2011-06-151-2/+6
| | | | | | | | reported that some keys are arrays!
| * Restore this back to allow both users and vouchers enabled at same time.Ermal2011-06-151-1/+1
| |
| * Do not call time() uselessly every time for each entry. Instead just ↵Ermal2011-06-131-7/+16
| | | | | | | | snapshot it and use it in calculations. This helps performance and useless paranoic time fetching since every 60 seconds the code will be executed again.
| * Do not test for availbility of voucher session_timeout in the database it is ↵Ermal2011-06-131-1/+1
| | | | | | | | mandatory for vouchers. This will make sure that if ever a corrupted db happens a user will be required to relogin and correct the db. Possibly related to: http://forum.pfsense.org/index.php/topic,37636.0.html
| * Fixes #1327. Trigger synching of vouchers to config through ↵Ermal2011-06-101-0/+6
| | | | | | | | check_reload_status. Retire the saveinterval option since it is not useful anymore. Use the prune process of captiveportal to sync vouchers as well to fix issues as reported-by: http://forum.pfsense.org/index.php/topic,37636.0.html
| * Allow a second optional argument to captiveportal_read_db to be able to ↵Ermal2011-06-071-2/+2
| | | | | | | | index the read db by the field in the db.
| * Correct variable name so voucher disconnect on synchronized vouchers works ↵Ermal2011-06-071-1/+1
| | | | | | | | properly.
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-06-071-30/+26
|\ \ | |/ | | | | | | | | Conflicts: etc/inc/voucher.inc usr/local/www/fbegin.inc
| * Correct possible lock leak.Ermal2011-06-061-5/+2
| |
| * Fix whitespace.Ermal2011-06-061-19/+19
| |
| * Just use the long reference here instead of creating potential dangerous ↵Ermal2011-05-261-6/+5
| | | | | | | | reference.
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-05-231-2/+2
|\ \ | |/ | | | | | | | | | | Conflicts: etc/inc/interfaces.inc etc/inc/upgrade_config.inc etc/inc/vpn.inc
| * If the bandwidth value is coming from radius scale it up to the requested ↵Ermal2011-04-211-2/+2
| | | | | | | | Kbit/s unit.
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-03-291-78/+4
|\ \ | |/ | | | | | | Conflicts: etc/inc/voucher.inc
| * Make sure that there is a value before using it as a redirection.Ermal2011-03-251-1/+1
| |
| * Make the two default page codes similar in regarding to redirurl in hope ↵Ermal2011-03-251-1/+1
| | | | | | | | that when one voucher login succeeds it redirects to the url submmitted.
| * Display the correct error page if vouchers are active or if normal CP is ↵Ermal2011-03-251-76/+2
| | | | | | | | active when default provided forms are used.
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-03-251-2/+13
|\ \ | |/ | | | | | | | | | | | | Conflicts: etc/inc/interfaces.inc etc/inc/priv.defs.inc etc/inc/shaper.inc etc/inc/system.inc
| * Try to not stomp rule to each other. Reported-by: ↵Ermal2011-03-241-1/+1
| | | | | | | | http://forum.pfsense.org/index.php/topic,34787.msg180186.html#msg180186
| * Correct wrong comment.Ermal2011-03-241-1/+1
| |
| * Fix voucher disconnect sync issueScott Ullrich2011-03-231-0/+11
| |
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-03-251-99/+512
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: etc/inc/auth.inc etc/inc/config.lib.inc etc/inc/filter.inc etc/inc/pfsense-utils.inc etc/inc/pkg-utils.inc etc/inc/priv.defs.inc etc/inc/services.inc etc/inc/shaper.inc etc/inc/voucher.inc etc/inc/vpn.inc usr/local/www/fbegin.inc
| * Make sure we have an ip to kill sessions from.Ermal2011-03-151-10/+11
| |
| * Make sure we do not write stale data during prunning periods.Ermal2011-03-121-6/+10
| |
| * Use foreach here to be sure we do not reference unexisting results.Ermal2011-03-081-42/+41
| |
| * Oops more make code correct.Ermal2011-03-041-2/+2
| |
| * Oops make code correct.Ermal2011-03-041-1/+1
| |
| * * Prevent concurrent logins on CP to not be recorded on the DB.Ermal2011-03-041-90/+83
| | | | | | | | | | | | | | * Make the locking more complex to avoid locking exclusively during pruning task which would hurt a lot CP performance. * Retire the disconnect_client and make all the disconnect functions use the sessionid as identifier. All this was triggered by: http://forum.pfsense.org/index.php/topic,33879.0.html
| * missing $Scott Ullrich2011-02-251-1/+1
| |
| * missing $Scott Ullrich2011-02-251-1/+1
| |
| * misc whitespace cleanupsScott Ullrich2011-02-251-3/+1
| |
| * Move all functions from index.php for captiveportal.inclgcosta2011-02-221-1/+412
| |
| * log when CP is restarted. ticket #1278Chris Buechler2011-02-201-1/+3
| |
| * There is no need to call the script to reconfigure CP here. Even more when ↵Ermal2011-02-101-4/+4
| | | | | | | | it breaks all kind of things.
| * minicron is now used on a number of items in the gui. tell the cp prune ↵Scott Ullrich2011-02-071-5/+5
| | | | | | | | process to use the pid name cp-prunedb.pid
| * Do not launch multiple copies of the captive portal database pruner.Scott Ullrich2011-02-071-0/+4
| |
| * Note reinit will disconnect folksScott Ullrich2011-02-021-0/+1
| |
| * Correctly grab the hostname from config for filterdns.Ermal2011-02-021-4/+4
| |
* | Merge branch 'master' into incVinicius Coque2011-01-281-463/+506
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: etc/inc/captiveportal.inc etc/inc/config.console.inc etc/inc/config.lib.inc etc/inc/easyrule.inc etc/inc/filter.inc etc/inc/ipsec.inc etc/inc/pkg-utils.inc etc/inc/shaper.inc etc/inc/system.inc etc/inc/voucher.inc
| * Ups actually single quotes are needed when / is the first char of a command. ↵Ermal2011-01-261-4/+4
| | | | | | | | Requirment enforced by the parser.
| * Remove last references to dnswatch.Ermal2011-01-261-2/+2
| |
| * Switch to filterdns new and shiny for taking care of dns in CP.Ermal2011-01-261-9/+13
| |
| * Transform PORTAL_REDIRURL variableScott Ullrich2011-01-251-0/+8
| |
OpenPOWER on IntegriCloud