Project

General

Profile

Download (9.24 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
91f026b0 03/19/2014 10:38 PM ayvis

replaced uppercase html tags with lowercase
js files saved as UTF-8 / LF
language="JavaScript" deprecated, replaced with type="text/javascript"

1d7ba683 03/18/2014 07:09 PM ayvis

replaced <br>, <br/> with <br /> in ANSI encoded files. Converted these files to UTF-8

362ec35d 12/20/2013 10:32 PM Ermal LUÇI

Do not register the _ENV superglobal since its not required and probably not very useful in a [F]CGI world and its limit is restricted nowdays in pfSense.

baec2b00 11/21/2013 09:18 PM Ermal LUÇI

Properly create zones for the CP with the new command arguments and properly invoke ipfw for applying rules and other configuration options.

81ce28d8 09/14/2013 01:54 PM Renato Botelho

Remove unecessary blockedmacs db and read it directly from config

8d5ddc09 09/12/2013 12:43 PM Renato Botelho

Redirect blocked macs to desired URL or show an error message

12feed15 08/01/2013 10:26 AM Ermal LUÇI

Add Zone to the messages logged on syslog from CP to easy troubleshooting

a8cb0038 02/07/2013 01:15 PM Renato Botelho

Implement privilege for allowing login through CP

- The feature is optional, on by default for new zones, off for current
ones when upgrading

It should fix #1010

16a0308d 01/29/2013 06:59 PM Michael Newton

allow empty CP password to be sent to RADIUS server

5370146c 01/23/2013 08:32 PM Ermal LUÇI

Make sure this is in global scope

09294e84 01/21/2013 09:08 PM Ermal LUÇI

Validate the cpzone parameter passed that it actually is a valid zone

4734474e 01/21/2013 08:47 PM Ermal LUÇI

Revert "There should be always a zone given from lighty to us so try to get that first"

This reverts commit 497d0b192f8e065ec3b4d1d94764b51c924a89b8.

497d0b19 01/21/2013 08:46 PM Ermal LUÇI

There should be always a zone given from lighty to us so try to get that first

fad944a9 01/16/2013 12:05 AM Cyrill B

Update to master

de132ae3 01/15/2013 10:26 PM Cyrill B

Add portal_hostname_from_client_ip function

3b832418 01/15/2013 09:12 PM Cyrill B

Update usr/local/captiveportal/index.php

a3e97754 01/15/2013 01:06 AM Cyrill B

Remove redundant code fragment

f89afb47 01/04/2013 10:26 AM Ermal LUÇI

Get back to trim() and strip / from left/right but when redirecting properly create the redirurl var

e3c4516b 01/03/2013 10:24 AM Ermal LUÇI

Use rtrim to avoid issues

905d1e8e 12/17/2012 02:28 PM Cyrill B

Add square brackets around IPv6 addresses

eb258d39 12/15/2012 04:05 PM Cyrill B

only trim the / if it is alone

59775347 12/15/2012 03:51 PM Cyrill B

only trim the / at the end of the redirurl

b7ae00c0 12/15/2012 03:48 PM Cyrill B

always use the shortcut cpcfg variable

0d20a040 12/14/2012 08:50 AM Ermal LUÇI

Correctly retrieve the mac address

4a5feb83 12/13/2012 09:42 PM Ermal LUÇI

Do not exit from php rather return to not have to refork again from the manager

6cbda317 12/13/2012 09:37 PM Ermal LUÇI

Switch all the actions(pipe create/table modify/get mac address) during fast path of CP to pfSense modules ones.

007161dc 11/28/2012 04:03 PM Ermal LUÇI

Simplify logic

ad361510 11/28/2012 03:59 PM Ermal LUÇI

Only try to get mac if the its required

6e895d5f 07/27/2012 07:18 PM Ermal LUÇI

Put fix for IE 8/9 url handling bug

ac10faad 05/25/2012 10:11 AM Warren Baker

Ensure there is a '.' between hostname and domain. Partially fixes #2454

89341b50 05/06/2012 06:07 PM Chris Buechler

fix vouchers

470d24a3 05/03/2012 04:34 PM Darren Embry

implement #2407: create config option for captive portal listening port

eedd093a 05/01/2012 05:32 AM Chris Buechler

correct hostname variable, and use FQDN

a53794c9 03/29/2012 03:18 PM Darren Embry

possible fix for Bug #2311: Wrong redirection URL (from http -> https) missing colon char

bef75b4c 03/22/2012 12:56 AM Darren Embry

fix for: Captive Portal Login dies on empty input

Not actually tested because CP doesn't work right now.

http://redmine.pfsense.org/issues/1874

48387425 01/20/2012 12:57 PM Erik Fonnesbeck

Should be preg_split instead of explode

cfbfd941 01/19/2012 07:33 PM Seth Mos

The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.
Replacing it surpresses all the warnings

90477318 09/13/2011 07:30 PM Ermal LUÇI

Fixes #1874. Correctly error out when the user or the pass is not posted during login of CP.

ebc0e4b6 09/07/2011 07:59 PM Ermal LUÇI

Add support for multiple radius server to be used during authentication

b4792bf8 09/07/2011 01:04 PM Ermal LUÇI

Add the multi instance CP to master branch. This allows to define CP with different properties on different interfaces.

739e227a 07/21/2011 09:10 PM Ermal LUÇI

Plug a security risk on CP where a user can login by submitting a special request

adbb495c 07/21/2011 09:09 PM Ermal LUÇI

Fix redirurl collection so after login the user can be redirected correctly

401fb0ad 03/15/2011 12:53 PM Ermal LUÇI

ipfw is not referenced here.

006802ab 03/04/2011 08:15 PM Ermal LUÇI
  • Prevent concurrent logins on CP to not be recorded on the DB.
  • 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....
ac631bba 02/22/2011 07:27 PM Luiz Gustavo S. Costa

Move all functions from index.php for captiveportal.inc

38060391 01/25/2011 06:13 PM Scott Ullrich

Handle PORTAL_REDIRURL variable

532cb894 01/18/2011 10:21 PM Ermal LUÇI

Ticket #836 Ticket #1194 and 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.

60b66b60 12/23/2010 06:41 PM Ermal LUÇI

Ticket #1128. Ooops pass the right parameter to unlock.

2d7bbd65 12/22/2010 03:36 PM Scott Ullrich

Nuke trailing carriage returns

d31bc32a 12/22/2010 01:11 AM Ermal LUÇI

Make the CP locking more granular and make use correctly of exclusive/shared locks where appripriate. This speeds up CP login process.

232846a2 10/18/2010 11:52 AM Ermal LUÇI

Ticket #868. Add Connection: close to the header to be proxy friendly. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html for reference.

8015e67b 09/25/2010 08:36 AM Erik Fonnesbeck

Separate this control structure from the one before it, change the order, and rename the function.

03552507 09/25/2010 05:09 AM Erik Fonnesbeck

Add an option for allowing clients to pass through the captive portal a limited number of times before requiring login.

b6494b87 09/24/2010 06:03 AM Erik Fonnesbeck

Restore this code so the redirect after logging into the captive portal will work again. Ticket #918

c9cb32c4 09/15/2010 01:04 PM Ermal LUÇI

Do not overwrite the redirurl parameter already taken care of.

c7cdfe20 08/24/2010 10:06 PM Scott Ullrich

Remove ORIGINAL_PORTAL_IP option. Never did get it working correctly.

8ebbae22 08/11/2010 04:32 PM Ermal LUÇI

Fixes #821. Force usage of configured redirurl when one has been configured.

d83dccff 07/28/2010 06:01 AM Chris Buechler

clarify text

2e12b76c 07/15/2010 05:07 PM Jim Pingle

Pull in RADIUS reply messages for logout page.

eb15decb 06/01/2010 09:09 PM Ermal LUÇI

Provide a default error message on error pages if there is none provided by other means.

b90996c5 06/01/2010 08:49 PM Ermal LUÇI

Add forgotten newlines.

e06b7fa2 06/01/2010 08:33 PM Ermal LUÇI

Do not overwrite previous rules.

4d349ede 06/01/2010 08:31 PM Ermal LUÇI

Free ipfw ruleno so it can be reused. Propperly delete passthrough mac entries that are not used.

3bf8eb93 06/01/2010 08:22 PM Ermal LUÇI

Use correct array to iterate.

fe383a26 05/28/2010 10:40 PM Ermal LUÇI

Use REQUEST to hanle both POST/GET.

5b87b24e 05/28/2010 09:30 PM Ermal LUÇI

Make the logout page configurable like the other pages. The only difference is that this page/code will be treated as a .php page so it may contain internal php CP variables referenced.

d462a851 05/28/2010 09:01 PM Ermal LUÇI

Provide an error message to the call.

72b9e452 05/28/2010 08:17 PM Ermal LUÇI

Some configurations want to be able to ask users about replacing their 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.

1c291e64 05/28/2010 07:16 PM Ermal LUÇI

Add the username to the auto added mac passthrough entry. Add an option to services->captiveportal page to activate/deactivate the auto-saving of username with the auto added mac passthrough.

4fc68c5a 05/28/2010 06:35 PM Ermal LUÇI

Do comparions as meant not assignment. Pointy-hat: Myself

814992f7 05/24/2010 11:43 PM Ermal LUÇI

Use url_redirection even on successful login case if present. Add a redir functionality to portal_reply_page to keep the code centralized.

0eb9b1b4 05/24/2010 10:54 PM Ermal LUÇI

Actually use the radius WISPr(4) attribute 'url_redirection' when present.

9628bd1c 05/24/2010 10:12 PM Ermal LUÇI

Actually use the radius WISPr(4) attribute 'url_redirection' if present.

3bc77cd3 05/22/2010 03:09 AM Scott Ullrich

Do not allow nonstop redirects to self

38080cc1 05/22/2010 02:20 AM Scott Ullrich

Move get_include_contents function to pfsense-utils.inc

7a7e94a7 05/22/2010 02:18 AM Scott Ullrich

Allow php code to be included in the primary captive portal page. Add new ORIGINAL_PORTAL_IP post item which will be experimenting with a master mutli voucher setup.

091cb5e9 05/19/2010 10:03 PM Ermal LUÇI

Add a global declaration.

9faa6c3c 05/05/2010 03:28 PM Ermal LUÇI

Improve/correct the passthrumac rules when this option is enabled.

d5ae560d 05/03/2010 06:14 PM Ermal LUÇI

Ticket #565. Correct deleting passthru mac entries. revert back to always 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.

d535ab71 05/01/2010 05:50 AM Chris Buechler

fix up text

0852838c 04/20/2010 09:31 PM Ermal LUÇI

Warn the user when we cannot get the MAC address on pass through auto add case. Also when a user does a logout through clicking the logout form exit after showing sending info on logout successful.

1dbe445a 04/20/2010 06:32 PM Ermal LUÇI

Use tables of ipfw for passthrough mac entries. This makes it scale way 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.

6ce61a8f 04/20/2010 12:40 AM Ermal LUÇI

Add a new option which allows the admin user to configure CP so that it 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.

483e6de8 11/21/2009 09:08 PM Scott Ullrich

Rework includes/require. This saves about 4 megabytes.
Simplify get_memory(). Tested on mips/i386

18cbd65f 11/15/2009 04:12 AM Chris Buechler

fix typos

729b7029 11/15/2009 03:15 AM Chris Buechler

fix typo

d102e3ed 11/15/2009 03:12 AM Chris Buechler

fix typos

59318e0f 10/04/2009 10:42 PM Ermal Luçi

Make the username comparison for CP case insensitive. Feature-imported-from: m0n0

16744359 09/29/2009 09:30 AM Ermal Luçi

No need to rewrite the captiveportal database when there is concurrent login! Small optimization.

f6fbd03e 09/20/2009 02:20 PM Ermal Luçi

Teach captiveportal code to use the mac in tables functionality. Change the default ruleset to reflect this.

40b48c6c 09/14/2009 05:16 PM Ermal Luçi

Fix multiple radius server handling.

f5024891 09/12/2009 08:01 PM Scott Ullrich

Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additions

9568c1a1 08/14/2009 05:25 PM Ermal Luçi

Add my copyright.

f9f71ad3 08/14/2009 05:13 PM Ermal Luçi
  • Convert captive portal rules to use tables. This reduces the number of 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....
336e3c1c 06/13/2009 05:24 PM Charlie

Port voucher login ability on CaptivePortal from M0n0Wall.

Various locking fixes are done with the import and this means that as of now pfSense has a better performin/behaving CP than m0n0wall.

f8b11310 05/21/2009 09:44 PM Ermal Luçi

Make CP multi-interface capable.

b4989d63 05/14/2009 02:26 AM Ermal Luçi

Remove dubious/forgotten unlocking that is uneccesary.

acea2b12 05/13/2009 05:54 PM Ermal Luçi

Fix lock leaking on portal_allow function.

f80a6148 05/09/2009 04:16 AM Ermal Luçi

The other half of CP locks conversion to new locking functions.

a55e9c70 03/30/2009 12:38 AM Ermal Luçi
  • Hide interfaces internals to other code and use the propper interfaces.
    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...