summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal/index.php
Commit message (Collapse)AuthorAgeFilesLines
* Implement privilege for allowing login through CPRenato Botelho2013-02-071-0/+4
| | | | | | | - The feature is optional, on by default for new zones, off for current ones when upgrading It should fix #1010
* allow empty CP password to be sent to RADIUS serverMichael Newton2013-01-291-1/+1
|
* Make sure this is in global scopeErmal2013-01-231-0/+2
|
* Validate the cpzone parameter passed that it actually is a valid zoneErmal2013-01-211-0/+6
|
* Revert "There should be always a zone given from lighty to us so try to get ↵Ermal2013-01-211-4/+1
| | | | | | that first" This reverts commit 497d0b192f8e065ec3b4d1d94764b51c924a89b8.
* There should be always a zone given from lighty to us so try to get that firstErmal2013-01-211-1/+4
|
* Update to masterbcyrill2013-01-161-23/+5
|\
| * Add portal_hostname_from_client_ip functionbcyrill2013-01-151-26/+8
| |
* | Update usr/local/captiveportal/index.phpbcyrill2013-01-151-123/+121
|/
* Remove redundant code fragmentbcyrill2013-01-151-1/+0
|
* Get back to trim() and strip / from left/right but when redirecting properly ↵Ermal2013-01-041-3/+3
| | | | create the redirurl var
* Use rtrim to avoid issuesErmal2013-01-031-2/+2
|
* Add square brackets around IPv6 addressesbcyrill2012-12-171-3/+7
|
* only trim the / if it is alonebcyrill2012-12-151-1/+2
|
* only trim the / at the end of the redirurlbcyrill2012-12-151-1/+1
|
* always use the shortcut cpcfg variablebcyrill2012-12-151-10/+10
|
* Correctly retrieve the mac addressErmal2012-12-141-2/+4
|
* Do not exit from php rather return to not have to refork again from the managerErmal2012-12-131-7/+7
|
* Switch all the actions(pipe create/table modify/get mac address) during fast ↵Ermal2012-12-131-1/+1
| | | | path of CP to pfSense modules ones.
* Simplify logicErmal2012-11-281-7/+8
|
* Only try to get mac if the its requiredErmal2012-11-281-1/+2
|
* Put fix for IE 8/9 url handling bugErmal2012-07-271-1/+2
|
* Ensure there is a '.' between hostname and domain. Partially fixes #2454Warren Baker2012-05-251-6/+6
|
* fix vouchersChris Buechler2012-05-061-1/+1
|
* implement #2407: create config option for captive portal listening portDarren Embry2012-05-031-3/+6
|
* correct hostname variable, and use FQDNChris Buechler2012-05-011-1/+1
|
* possible fix for Bug #2311: Wrong redirection URL (from http -> https) ↵Darren Embry2012-03-291-1/+1
| | | | missing colon char
* fix for: Captive Portal Login dies on empty inputDarren Embry2012-03-211-1/+1
| | | | | | Not actually tested because CP doesn't work right now. http://redmine.pfsense.org/issues/1874
* Should be preg_split instead of explodeErik Fonnesbeck2012-01-201-1/+1
|
* The function split() is replaced by the function explode(). Starting with ↵smos2012-01-191-1/+1
| | | | | | PHP 5.3 this is deprecated and with version 6 gone. Replacing it surpresses all the warnings
* Fixes #1874. Correctly error out when the user or the pass is not posted ↵Ermal2011-09-131-6/+9
| | | | during login of CP.
* Add support for multiple radius server to be used during authenticationErmal2011-09-071-6/+24
|
* Add the multi instance CP to master branch. This allows to define CP with ↵Ermal2011-09-071-18/+21
| | | | different properties on different interfaces.
* Plug a security risk on CP where a user can login by submitting a special ↵Ermal2011-07-211-1/+1
| | | | request
* Fix redirurl collection so after login the user can be redirected correctlyErmal2011-07-211-4/+4
|
* ipfw is not referenced here.Ermal2011-03-151-1/+0
|
* * Prevent concurrent logins on CP to not be recorded on the DB.Ermal2011-03-041-1/+1
| | | | | | | * 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
* Move all functions from index.php for captiveportal.inclgcosta2011-02-221-406/+0
|
* Handle PORTAL_REDIRURL variableScott Ullrich2011-01-251-0/+6
|
* Ticket #836 Ticket #1194 and ↵Ermal2011-01-181-3/+3
| | | | http://forum.pfsense.org/index.php/topic,32175.msg166263.html#msg166263 suggest that now that CP actions are quite fast its better to send the logout data before actually disconnecting the client.
* Ticket #1128. Ooops pass the right parameter to unlock.Ermal2010-12-231-1/+1
|
* Nuke trailing carriage returnsScott Ullrich2010-12-221-1/+1
|
* Make the CP locking more granular and make use correctly of exclusive/shared ↵Ermal2010-12-221-27/+9
| | | | locks where appripriate. This speeds up CP login process.
* Ticket #868. Add Connection: close to the header to be proxy friendly. See ↵Ermal2010-10-181-0/+1
| | | | http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html for reference.
* Separate this control structure from the one before it, change the order, ↵Erik Fonnesbeck2010-09-251-4/+9
| | | | and rename the function.
* Add an option for allowing clients to pass through the captive portal a ↵Erik Fonnesbeck2010-09-241-1/+93
| | | | limited number of times before requiring login.
* Restore this code so the redirect after logging into the captive portal will ↵Erik Fonnesbeck2010-09-241-0/+2
| | | | work again. Ticket #918
* Do not overwrite the redirurl parameter already taken care of.Ermal2010-09-151-6/+5
|
* Remove ORIGINAL_PORTAL_IP option. Never did get it working correctly.Scott Ullrich2010-08-241-6/+1
|
* Fixes #821. Force usage of configured redirurl when one has been configured.Ermal2010-08-111-27/+28
|
OpenPOWER on IntegriCloud