Project

General

Profile

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

# Date Author Comment
6dd45e0d 08/15/2011 07:20 PM Ermal LUÇI

Another roll at fixing the voucher sync problems.

12a5a039 07/20/2011 09:16 PM Ermal LUÇI

Fix php behaviour on xmlrpc sync and vouchers starting with a number. Apparently php uses that to deduce the type of var and gets confused.

1a863be2 07/04/2011 07:56 PM Ermal LUÇI

If vouchers are disabled do not allow users to authenticate thorugh existing(active/in use) vouchers. Reported-by: http://forum.pfsense.org/index.php/topic,38342.0.html

5ebe85e9 06/10/2011 08:02 PM Ermal LUÇI

Fixes #1327. Trigger synching of vouchers to config through check_reload_status. Retire the saveinterval option since it is not useful anymore. Use the prune process of captiveportal to sync vouchers as well to fix issues as reported-by: http://forum.pfsense.org/index.php/topic,37636.0.html

2c85b316 06/07/2011 05:25 PM Ermal LUÇI

Disconnect any voucher forced to expire if there are active sessions with it.

05771a24 05/25/2011 08:28 PM Ermal LUÇI

Provide a voucher_expire function so that voucher can be expired through a POST.

f6f1c847 05/25/2011 11:02 AM Ermal LUÇI

Update some code to be more readble and more compliant to php5

60c5d29b 05/13/2011 01:45 PM Jim Pingle

Test for array before using variable as one.

3b68081f 03/25/2011 10:44 PM Ermal LUÇI

Make the return values on error consistent with the normal return value.

2fe347eb 03/25/2011 10:33 PM Ermal LUÇI

Actually correctly report the timeleft in log messages. This is mostly cosmetic.

351b6990 03/25/2011 09:56 PM Ermal LUÇI

Correctly synchronize the db of vouchers from master. Also correctly write it to the files since before it is only allowed during bootup and not from xmlrpc.

509e1202 03/25/2011 08:32 PM Ermal LUÇI

Correct log messages to not display port twice.

d322e3b3 03/23/2011 11:14 PM Scott Ullrich

Fix voucher disconnect sync issue

13927322 03/08/2011 03:23 PM Ermal LUÇI

Do a proper test otherwise a override of the total_minutes var might happen.

c4ea3691 03/08/2011 03:16 PM Ermal LUÇI

Properly do testing of voucher existing or not rather than relying on an obscure feature of php. Also do exclusive locking rather than shared one when writing dbs.

4e8d55dd 12/22/2010 04:42 PM Scott Ullrich

Include captiveportal.inc if captiveportal_syslog() is not defined.

34507786 12/22/2010 04:41 PM Scott Ullrich

Use captiveportal_syslog()

4d5bbdfb 12/22/2010 03:32 PM Scott Ullrich

White space fixes and (C) for both Ermal and myself

4ac251b8 12/22/2010 03:29 PM Scott Ullrich

Log voucher errors. Fix whitespace. Remove trailing c/r

7afb7ea9 12/17/2010 11:28 PM Ermal LUÇI

Safe belts to avoid errors.

451e4a05 12/16/2010 12:19 AM Erik Fonnesbeck

Fix condition that needed to be negated after a recent layout change here and prevent a PHP warning if there are no voucher rolls. Fixes #1106

f5c05fcc 12/14/2010 10:48 PM Ermal LUÇI

Make voucher xmlrpc error checking the same as others.

666bc4d1 12/14/2010 10:39 PM Ermal LUÇI

Ticket #1087. Cleanup whitespace and also do not rely on having the db dirty flag set for backing up the dbs but always do this!

eaca40df 12/14/2010 10:27 PM Ermal LUÇI

Cleanup of whitespace and use exclusive lock during reconfiguration of vouchers.

2f384448 08/31/2010 02:20 AM Scott Ullrich

Check for less time available on remote node

6c9ca678 08/31/2010 02:01 AM Scott Ullrich

Only make one XMLRPC call

fa3ab36a 08/31/2010 12:34 AM Scott Ullrich

Sync rolls if needed. This might be required if the operator removed/added or changed the rolls on the master node

830c33be 08/30/2010 04:57 PM Scott Ullrich

Add Captive Portal voucher database sync to secondary nodes. How this works is you designate one of your access points with a voucher database as the master and then on the slave nodes you setup the 4 fields on the voucher edit screen. This will then sync the voucher database and anytime someone attempts to authenticate the slave nodes will use XMLRPC over to the master node to ensure that the voucher has not been used, etc....

c14d9967 08/24/2010 02:45 PM Scott Ullrich

Resolve issue where used variable might be an array (multiple voucher rolls)

25a2bf77 08/23/2010 03:43 PM Scott Ullrich

nuke trailing c/r

451ec561 02/11/2010 03:00 PM Ermal Luçi

Ticket #351. Prevent wrong config.xml creation.

7ec341cb 02/10/2010 07:27 PM Ermal Luçi

Ticket #350. Correct calculation to be the same as in the voucher_auth.

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

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

2ee5fe9b 11/15/2009 05:12 PM Ermal Luçi

Fix Bug #147.

e593f555 11/15/2009 06:26 AM Chris Buechler

yes, I'll even fix typos in comments

523855b0 09/12/2009 07:34 PM Scott Ullrich

Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additions

a8ced10b 06/30/2009 05:18 PM Ermal Luçi

Convert even voucher to the new subsystem_dirty functions. This reduces another global.

619fe0c4 06/30/2009 01:26 PM Ermal Luçi
  • Garbage collect a variable used for lockfile in the CP before but is unuseful now.
  • Rename the dirtyfile variable to voucher_dirtyfile to reduce namespace problems or clashes with other variables.
156487ed 06/30/2009 10:37 AM Ermal Luçi

Fix various issues reported on http://forum.pfsense.org/index.php/topic,8672.0.html.

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.