Project

General

Profile

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

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

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

Remove bogus warning.

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

bba1c4ec 12/11/2006 05:15 PM Scott Ullrich

Do not use blank variable $type. Use the same variable $cpdb[$i][2] that is being used in the other calls.

920cafaf 09/22/2006 02:39 PM Scott Ullrich

Move helper function to correct area

65fbb388 09/05/2006 05:01 PM Scott Ullrich

Fix $VARIABLES$

8c1ce6c7 08/21/2006 09:02 PM Scott Ullrich

Instead of simply bailing leaving the client with a blank screen, output 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.

b2ce71ff 07/23/2006 10:04 PM Scott Ullrich

Redirect back to index.php?foo. Safari does not like otherwise and breaks the image on captive portal page.

e54d4de6 01/02/2006 11:46 PM Scott Ullrich

Remove #!/usr/local/bin/php

08d82407 12/03/2005 08:49 PM Scott Ullrich

Remove debugging helpers

eb0f441c 12/03/2005 07:40 PM Scott Ullrich

Fix captive portal redirects now that we are using LightHTTPD

6fa4bdc6 09/22/2005 10:22 PM Scott Ullrich

Correct carp bringup sequence

f0a12c87 09/21/2005 01:21 AM Scott Ullrich

Sync w/1.2b10

61b040ce 09/12/2005 07:37 PM Scott Ullrich

Reset back to pfSense state

6e865a74 09/12/2005 07:28 PM Scott Ullrich

Sync with m0n0wall 1.2b10

61c5cd36 07/15/2005 09:35 PM Scott Ullrich

Correctly check for allowed ip's

3f0d26d9 07/12/2005 04:10 AM Scott Ullrich

Do not loop through array if its empty

f8dea008 07/11/2005 11:43 PM Scott Ullrich
  • Loop through allowed ips and automatically auth user if they are on the list.
  • Remove the rest of the per user bw settings.
503c732d 06/04/2005 07:56 PM Scott Ullrich

use the correct field for clientip

09086136 05/28/2005 10:06 PM Scott Ullrich

Swap images

7faeda46 03/20/2005 10:24 PM Scott Ullrich

Import m0n0wall 1.2b7's captive portal code WITH user manager.

And the crowd goes wild.

33f0abb1 03/14/2005 01:57 AM Scott Ullrich

Restore 1.2b5's captive portal. 1.2b7 + radius == boom.

ec920231 03/14/2005 01:37 AM Scott Ullrich

Restore 1.2b6's captive portal.

1cdb8423 03/14/2005 01:08 AM Scott Ullrich

You've -> You have (breaks Komodos syntax highlighting for some reason)

05879a72 03/14/2005 01:06 AM Scott Ullrich

Sync with Pascal's latest

87c8f2c9 03/13/2005 08:13 PM Scott Ullrich

Sync with Pascal's latest versin

9699028a 03/07/2005 11:12 PM Scott Ullrich

Add local user manager code imported from Pascal Suter's m0n0wall developers group message.

1d169e0e 02/03/2005 09:55 PM Scott Ullrich

Add T. Howell-Cintron expanded radius attributes patch.

07bd3f83 12/05/2004 07:31 PM Scott Ullrich

Synchornize with m0n0wall 1.2b3. These files have not really been
modified too much so a straight copy works. 9 files remain to be
patched by hand.

3f2b92d2 11/17/2004 05:59 PM Scott Ullrich

Add captive portal logging.

Patch-submitted-to-m0n0wall-list-by: Matt Juszczak <matt_AT_atopia.net>

5b237745 11/07/2004 03:06 AM Scott Ullrich

Initial revision