summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal/index.php
Commit message (Collapse)AuthorAgeFilesLines
* Provide an error message to the call.Ermal2010-05-281-1/+1
|
* Some configurations want to be able to ask users about replacing their ↵Ermal2010-05-281-5/+24
| | | | existing mac during auto mac passthrough logins if they change equipment. Allow this in the backend by requiring the user to need posting a replacemacpassthru field with the post. Also add the possibility to send back with a portal_reply_page generated page the username and password posted.
* Add the username to the auto added mac passthrough entry. Add an option to ↵Ermal2010-05-281-1/+14
| | | | services->captiveportal page to activate/deactivate the auto-saving of username with the auto added mac passthrough.
* Do comparions as meant not assignment. Pointy-hat: MyselfErmal2010-05-281-1/+1
|
* Use url_redirection even on successful login case if present. Add a redir ↵Ermal2010-05-241-9/+13
| | | | functionality to portal_reply_page to keep the code centralized.
* Actually use the radius WISPr(4) attribute 'url_redirection' when present.Ermal2010-05-241-1/+7
|
* Actually use the radius WISPr(4) attribute 'url_redirection' if present.Ermal2010-05-241-4/+4
|
* Do not allow nonstop redirects to selfScott Ullrich2010-05-211-1/+1
|
* Move get_include_contents function to pfsense-utils.incScott Ullrich2010-05-211-10/+0
|
* Allow php code to be included in the primary captive portal page. Add new ↵Scott Ullrich2010-05-211-7/+32
| | | | ORIGINAL_PORTAL_IP post item which will be experimenting with a master mutli voucher setup.
* Add a global declaration.Ermal2010-05-191-2/+2
|
* Improve/correct the passthrumac rules when this option is enabled.Ermal2010-05-051-182/+176
|
* Ticket #565. Correct deleting passthru mac entries. revert back to always ↵Ermal2010-05-031-15/+1
| | | | allow a passthru mac as with allowed ips. Remove the check during login for passthru mac entries they will never make it to the login page.
* fix up textChris Buechler2010-05-011-1/+1
|
* Warn the user when we cannot get the MAC address on pass through auto add ↵Ermal2010-04-201-1/+3
| | | | case. Also when a user does a logout through clicking the logout form exit after showing sending info on logout successful.
* Use tables of ipfw for passthrough mac entries. This makes it scale way ↵Ermal2010-04-201-26/+23
| | | | better than previously. Fix multiple entries on adding mac through entries automatically after login for the same user. The changes allow even pass through mac to be controlled from the Status->Captiveportal. Use serialize/unserialize on some files that keep temporary information to speed up calculations. Really allow mac passthrough to follow radius rules or time out rules when present.
* Add a new option which allows the admin user to configure CP so that it ↵Ermal2010-04-201-21/+57
| | | | automatically enters an MAC passthru entry. The MAC is taken from login details and has to be removed manually. Also do improvements on rules handling and pipes. Add some optmizations. Teach the GUI/backend on ip/mac passthrough to configure a bw limit for this entries.
* Rework includes/require. This saves about 4 megabytes.Scott Ullrich2009-11-211-0/+1
| | | | Simplify get_memory(). Tested on mips/i386
* fix typosChris Buechler2009-11-141-3/+3
|
* fix typoChris Buechler2009-11-141-1/+1
|
* fix typosChris Buechler2009-11-141-2/+2
|
* Make the username comparison for CP case insensitive. Feature-imported-from: ↵Ermal Luçi2009-10-041-1/+1
| | | | m0n0
* No need to rewrite the captiveportal database when there is concurrent ↵Ermal Luçi2009-09-291-3/+2
| | | | login! Small optimization.
* Teach captiveportal code to use the mac in tables functionality. Change the ↵Ermal Luçi2009-09-201-10/+17
| | | | default ruleset to reflect this.
* Fix multiple radius server handling.Ermal Luçi2009-09-141-4/+2
|
* Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additionsScott Ullrich2009-09-121-0/+4
|
* Add my copyright.Ermal Luçi2009-08-141-0/+1
|
* * Convert captive portal rules to use tables. This reduces the number of ↵Ermal Luçi2009-08-141-11/+10
| | | | | | | | | | rules ALOT. * Make the peruserbw setting use tables also by taking advantage of the tablearg option. * Convert statistics to use the new improvements of ipfw tables merged previously. * Make the limit of users allowed around 25000 instead of 9999 of before. NOTE: The only thing remaining for full optimization on ipfw(4) side is converting passthrumac and layer2 secure rules to tables aswell.
* Port voucher login ability on CaptivePortal from M0n0Wall.Charlie2009-06-131-0/+51
| | | | Various locking fixes are done with the import and this means that as of now pfSense has a better performin/behaving CP than m0n0wall.
* Make CP multi-interface capable.Ermal Luçi2009-05-211-7/+24
|
* Remove dubious/forgotten unlocking that is uneccesary.Ermal Luçi2009-05-141-2/+0
|
* Fix lock leaking on portal_allow function.Ermal Luçi2009-05-131-1/+6
|
* The other half of CP locks conversion to new locking functions.Ermal Luçi2009-05-091-6/+6
|
* * Hide interfaces internals to other code and use the propper interfaces.Ermal Luçi2009-03-301-3/+3
| | | | | | | Basically use get_interface*() functions instead of accessing fields like 'ipaddr'/'descr' etc... * Make get_interfaces_with_gateway less heavyweight by getting information from the configuration stored in config.xml * Some other missed custom interface list building and substituing with propper get_configured_interface*() NOTE: This should give indipendce on dynamic interfaces on some services that before could not be used on top of this type of interfaces.
* Modify captive portal to use centralized user management. The user manager hasmgrooms2009-03-151-28/+4
| | | | been modified to include an account expiration option to support this service.
* Return after redirecting.Scott Ullrich2008-08-121-0/+1
|
* Ensure we unlock captive portal before redirecting.Scott Ullrich2008-08-121-0/+1
|
* Remove duplicate function portal_mac_fixed()Scott Ullrich2008-08-121-21/+0
|
* changes from Dimitri RodisChris Buechler2008-04-131-2/+4
|
* Remove bogus warning.Scott Ullrich2007-07-161-3/+0
|
* Duh. $type is a variable.Scott Ullrich2006-12-121-1/+1
|
* Log an error when we reach maximum capacity to system logsScott Ullrich2006-12-121-0/+1
|
* Log an error to system logs when $type is not set.Scott Ullrich2006-12-121-0/+4
|
* Revert $type commit. This is being set by the called function per Jonathon.Scott Ullrich2006-12-121-2/+2
|
* Silence Eclipse warningsScott Ullrich2006-12-111-1/+1
|
* Do not use blank variable $type. Use the same variable $cpdb[$i][2] that is ↵Scott Ullrich2006-12-111-1/+1
| | | | being used in the other calls.
* Move helper function to correct areaScott Ullrich2006-09-221-25/+0
|
* Fix $VARIABLES$Scott Ullrich2006-09-051-382/+373
|
* Instead of simply bailing leaving the client with a blank screen, output ↵Scott Ullrich2006-08-211-51/+55
| | | | that an error occured and write out to the system log more verbose information for what the problem is. If in the case of a missing mac address, suggest that the user may want to disable mac filtering if they do not need this functionality.
* Redirect back to index.php?foo. Safari does not like otherwise and breaks ↵Scott Ullrich2006-07-231-7/+8
| | | | the image on captive portal page.
OpenPOWER on IntegriCloud