summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
Commit message (Collapse)AuthorAgeFilesLines
* Disable logging for now since it will spam every 60secs * #usersErmal2012-05-231-1/+1
|
* If specified use the default settings for bw limitation rather than 0Ermal2012-05-231-2/+2
|
* Make file names match to make this workErmal2012-05-231-1/+1
|
* Oops add forgotten global for configErmal2012-05-221-0/+1
|
* If extra bw attributes are supplied during reauthentication apply and log themErmal2012-05-221-3/+49
|
* Unlock if error occursErmal2012-05-221-1/+4
|
* Make this unconditional to have the pfil hooks setuped always rightErmal2012-03-121-2/+1
|
* Resolves #2052. Remove duplicate ruleErmal2012-02-081-2/+0
|
* Fixes #2082. Actually just correct the log to display the correct informationErmal2012-02-071-2/+5
|
* Fixes #2082. Correct checking of existing session to take into consideration ↵Ermal2012-02-071-1/+1
| | | | when possible/needed the mac address
* Take routing table into account when figuring out which IP address to use ↵jim-p2011-12-221-0/+8
| | | | for talking to CP clients.
* Fixes #1976. Correct passthrough mac entries to not overwrite each other ↵Ermal2011-11-021-5/+2
| | | | this is different from allowed ips that used tables.
* 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
* Correct pid filename so the instance of lighty for SSL is running.Ermal2011-06-301-1/+1
|
* 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.
* 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.
* If the bandwidth value is coming from radius scale it up to the requested ↵Ermal2011-04-211-2/+2
| | | | Kbit/s unit.
* 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.
* 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
|
* 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
|
OpenPOWER on IntegriCloud