Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
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

7b89ea6a 03/23/2012 11:12 PM Ermal LUÇI

Remove unused code

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

212ab80f 01/20/2012 12:23 PM Ermal LUÇI

Correct the Called-Station-Id attribute setting to be the consistent on authentication packets

cff5204a 01/20/2012 12:21 PM Ermal LUÇI

Correct the Called-Station-Id attribute setting to be the same on STOP/START packets

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

b3765f4c 11/29/2011 02:16 PM Roberto Nunnari

- Added support for MSCHAPv2, MSCHAPv1 and CHAP_MD5 to captive portal
- Corrected bug in javascript funtion enable_change(enable_change)

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

e6bd2312 07/15/2011 08:03 AM Ermal LUÇI

Fixes #1618. Always convert the NAS_PORT value to int in php and pass the attribute type during encoding to guarantee that it is encoded as an integer.

ac655e1b 05/06/2011 08:36 PM Ermal LUÇI

Use the availble constant on php for this and also the right value that comes with it since PHP never supported u_int. There is a bug open still on PHP about bcmod but some more info is needed.

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.

d0d70b03 01/10/2011 05:00 PM Ermal LUÇI

Ticket #1013. Force NAS_PORT to be of type integer to avoid it being interpreted as char and generate wrong radius packet.

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.

5082282c 06/17/2010 07:39 PM Ermal LUÇI

Use the configured src ip attribute choosen for accounting too.

34e9ca60 06/17/2010 07:33 PM Ermal LUÇI

Show even VIP's in the list. This is copied from nat code and probably should be generalized.

822b687b 06/17/2010 07:22 PM Ermal LUÇI

Do not assume WAN as the default interface to get the ip from for the calling station id. Instead add a select box(list) to choose the interface(ip) to send to radius.

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

e3a78007 05/25/2010 10:58 PM Ermal LUÇI

Actually send the wan ip address as calledstationid as advertised on captiveportal configuration page. The same fix was previously done to radius authentication code.

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.

27588018 05/24/2010 10:18 PM Ermal LUÇI

Actually match the description and send the wan interface ip as Called-Station-Id on default settings.

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.

45a99750 04/14/2010 01:28 PM Ermal LUÇI

Ticket #483. Load the bcmath extension dynamically through PEAR for Radius accounting.

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.

89a31c7e 09/13/2009 08:13 PM Ermal Luçi

Prevent negative RADIUS_NAS_PORT. This is a hack on m0n0 and not needed on pfSense.

15527c00 09/13/2009 12:12 PM Ermal Luçi

Prevent negative RADIUS_NAS_PORT attribute. Before this was a hack made in m0n0 but which is not anymore valid in pfSense.

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...
0092b3bd 03/15/2009 12:39 AM mgrooms

Modify captive portal to use centralized user management. The user manager has
been modified to include an account expiration option to support this service.

6e41522c 08/12/2008 05:08 PM Scott Ullrich

Return after redirecting.

40657838 08/12/2008 04:58 PM Scott Ullrich

Ensure we unlock captive portal before redirecting.

8abb1030 08/12/2008 04:51 PM Scott Ullrich

Remove duplicate function portal_mac_fixed()

4993f81c 04/13/2008 11:09 PM Chris Buechler

changes from Dimitri Rodis

d3665a71 08/27/2007 08:36 PM Scott Ullrich

Fix CP not sending Acct-Session-Time to Radius during accounting update

Ticket #1434

bc48e820 07/16/2007 08:27 PM Scott Ullrich

Remove bogus warning.

637345f3 03/21/2007 04:29 PM Scott Ullrich

Silence eclipse errors

5918fbaf 03/21/2007 04:28 PM Scott Ullrich

Silence eclipse errors

ef345a70 02/27/2007 05:14 PM Scott Ullrich

Sync w/ m0n0wall

ef03e6a5 12/12/2006 05:37 PM Scott Ullrich

Duh. $type is a variable.

6a92a6e1 12/12/2006 05:34 PM Scott Ullrich

Log an error when we reach maximum capacity to system logs

2653f750 12/12/2006 05:31 PM Scott Ullrich

Log an error to system logs when $type is not set.

56ea4f47 12/12/2006 04:55 PM Scott Ullrich

Revert $type commit. This is being set by the called function per Jonathon.

ea9b53c1 12/11/2006 05:43 PM Scott Ullrich

Silence Eclipse warnings