Project

General

Profile

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

# Date Author Comment
9ee5069a 07/22/2011 12:29 PM Evgeny Yurchenko

Revert wrong fix of Bug #1711.

d73da773 07/22/2011 10:05 AM Ermal LUÇI

Correctly restart the SSL lighty instance when running.

8818c188 07/22/2011 08:55 AM Ermal LUÇI

Remove 'maxproc' since its unused in the code and correctly use maxprocperip to allow the GUI setting to be actually usable. Reported-by: http://forum.pfsense.org/index.php/topic,39155.0.html

ee0617fa 07/22/2011 02:53 AM Evgeny Yurchenko

Bug #1711. Acct-x-Octets are always 0 in Captive Portal -> Radius acct messages.

1623ed97 07/06/2011 12:41 PM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

Conflicts:
etc/inc/priv.defs.inc

2c063971 06/30/2011 09:31 PM Ermal LUÇI

Correct pid filename so the instance of lighty for SSL is running.

f0b17f3f 06/20/2011 11:50 AM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

1540194f 06/15/2011 04:57 PM Ermal LUÇI

PHP says that arrays cannot be used as keys, protect against this case as reported that some keys are arrays!

f45075dd 06/15/2011 02:22 PM Ermal LUÇI

Restore this back to allow both users and vouchers enabled at same time.

b09c2d86 06/13/2011 12:34 PM Ermal LUÇI

Do not call time() uselessly every time for each entry. Instead just snapshot it and use it in calculations. This helps performance and useless paranoic time fetching since every 60 seconds the code will be executed again.

48de5a10 06/13/2011 12:22 PM Ermal LUÇI

Do not test for availbility of voucher session_timeout in the database it is mandatory for vouchers. This will make sure that if ever a corrupted db happens a user will be required to relogin and correct the db. Possibly related to: http://forum.pfsense.org/index.php/topic,37636.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

e64c894f 06/07/2011 05:15 PM Ermal LUÇI

Allow a second optional argument to captiveportal_read_db to be able to index the read db by the field in the db.

f989aa5b 06/07/2011 05:06 PM Ermal LUÇI

Correct variable name so voucher disconnect on synchronized vouchers works properly.

d8012adb 06/07/2011 01:47 PM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

Conflicts:
etc/inc/voucher.inc
usr/local/www/fbegin.inc

7d6be855 06/06/2011 01:12 PM Ermal LUÇI

Correct possible lock leak.

ac07425a 06/06/2011 12:40 PM Ermal LUÇI

Fix whitespace.

adcf909a 05/26/2011 07:39 PM Ermal LUÇI

Just use the long reference here instead of creating potential dangerous reference.

d21d6e20 05/23/2011 06:41 PM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

Conflicts:
etc/inc/interfaces.inc
etc/inc/upgrade_config.inc
etc/inc/vpn.inc

2d4003aa 04/21/2011 09:39 PM Ermal LUÇI

If the bandwidth value is coming from radius scale it up to the requested Kbit/s unit.

bca0472d 03/29/2011 04:36 PM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

Conflicts:
etc/inc/voucher.inc

cd2c71fc 03/25/2011 11:33 PM Ermal LUÇI

Make sure that there is a value before using it as a redirection.

3e404e0c 03/25/2011 10:04 PM Ermal LUÇI

Make the two default page codes similar in regarding to redirurl in hope that when one voucher login succeeds it redirects to the url submmitted.

a34b8b3b 03/25/2011 08:47 PM Ermal LUÇI

Display the correct error page if vouchers are active or if normal CP is active when default provided forms are used.

152ab4d0 03/25/2011 11:59 AM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

Conflicts:
etc/inc/interfaces.inc
etc/inc/priv.defs.inc
etc/inc/shaper.inc
etc/inc/system.inc

54bdff75 03/25/2011 11:49 AM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

Conflicts:
etc/inc/auth.inc
etc/inc/config.lib.inc
etc/inc/filter.inc
etc/inc/pfsense-utils.inc
etc/inc/pkg-utils.inc
etc/inc/priv.defs.inc
etc/inc/services.inc...

2279a587 03/24/2011 03:27 PM Ermal LUÇI

Try to not stomp rule to each other. Reported-by: http://forum.pfsense.org/index.php/topic,34787.msg180186.html#msg180186

9634e95b 03/24/2011 12:59 PM Ermal LUÇI

Correct wrong comment.

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

Fix voucher disconnect sync issue

32c392aa 03/15/2011 12:52 PM Ermal LUÇI

Make sure we have an ip to kill sessions from.

e92916d6 03/12/2011 12:26 AM Ermal LUÇI

Make sure we do not write stale data during prunning periods.

3e5c0ab7 03/08/2011 05:47 PM Ermal LUÇI

Use foreach here to be sure we do not reference unexisting results.

ce1942d6 03/04/2011 08:27 PM Ermal LUÇI

Oops more make code correct.

328c1def 03/04/2011 08:24 PM Ermal LUÇI

Oops make code correct.

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....
17e7a243 02/25/2011 05:45 PM Scott Ullrich

missing $

da666ca8 02/25/2011 05:44 PM Scott Ullrich

missing $

a6f4ac66 02/25/2011 05:42 PM Scott Ullrich

misc whitespace cleanups

ac631bba 02/22/2011 07:27 PM Luiz Gustavo S. Costa

Move all functions from index.php for captiveportal.inc

0e3e825c 02/21/2011 02:15 AM Chris Buechler

log when CP is restarted. ticket #1278

e35d6cda 02/10/2011 09:36 PM Ermal LUÇI

There is no need to call the script to reconfigure CP here. Even more when it breaks all kind of things.

e8aef0ec 02/07/2011 10:19 PM Scott Ullrich

minicron is now used on a number of items in the gui. tell the cp prune process to use the pid name cp-prunedb.pid

aa69dbd2 02/07/2011 10:12 PM Scott Ullrich

Do not launch multiple copies of the captive portal database pruner.

847e5e82 02/02/2011 09:39 PM Scott Ullrich

Note reinit will disconnect folks

7d9d6f6a 02/02/2011 09:37 PM Ermal LUÇI

Correctly grab the hostname from config for filterdns.

9d3d8d00 01/28/2011 07:32 PM Vinicius Coque

Merge branch 'master' into inc

Conflicts:
etc/inc/captiveportal.inc
etc/inc/config.console.inc
etc/inc/config.lib.inc
etc/inc/easyrule.inc
etc/inc/filter.inc
etc/inc/ipsec.inc
etc/inc/pkg-utils.inc
etc/inc/shaper.inc...

c3770c78 01/26/2011 10:44 PM Ermal LUÇI

Ups actually single quotes are needed when / is the first char of a command. Requirment enforced by the parser.

f7f22750 01/26/2011 10:15 PM Ermal LUÇI

Remove last references to dnswatch.

422b8b4e 01/26/2011 06:40 PM Ermal LUÇI

Switch to filterdns new and shiny for taking care of dns in CP.

c4e228f3 01/25/2011 08:11 PM Scott Ullrich

Transform PORTAL_REDIRURL variable

2953848b 01/25/2011 07:09 PM Scott Ullrich

remove single quotes

9abe1997 01/25/2011 06:38 PM Scott Ullrich

Brute force dnswatch kill if needed

75d12406 01/25/2011 06:03 PM Scott Ullrich

Launch dnswatch correctly.

8b73cc7e 01/25/2011 06:00 PM Scott Ullrich

Allowed hostname is now working. Make bw up and down checks a bit more strict using intval() and comparing >0. Fix bw and upload checks allowing either to be set.

0b108eda 01/25/2011 05:58 PM Scott Ullrich

Allowed hostname is now working. Make bw up and down checks a bit more strict using intval() and comparing >0. Fix bw and upload checks allowing either to be set.

55c18b30 01/25/2011 04:55 PM Scott Ullrich

Adding preliminary version of allowed hostnames. Allowed hostnames function similar to allowed IP addresses and permit the captive portal to pass traffic out. An example usage of this is to allow access to a hotel web page freely and then require authentcation hotlinking from this point.

f23a6091 01/25/2011 04:35 PM Scott Ullrich

Fix formatting. Die, VIM, DIE!

5060dea7 01/25/2011 03:32 PM Scott Ullrich

Reformat file. VIM needs to die a flaming death.

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.

eb7aa263 12/22/2010 12:27 AM Ermal LUÇI
  • Use exclusive locking for parts of config involving CP db.
  • Use more strict checking against empty/not set values for timeout and idletimeout
  • Do not overwrite idletimeout value with the per user idletimeout value during processing
  • Make distinction between radius accounting and re-authentication with radius to allow the code to be executed correctly. Ticket #1013
d12003c9 12/14/2010 10:22 PM Jim Pingle

Revert "Add voucher backup, configurable from Diagnostics > NanoBSD. Fixes #1087" - voucher db backup already existed under a different name. Ticket is still fixed, just by different code that was already there.

This reverts commit 0d89a2fcac3deea06bdc4a481bbdfae4f18b1ff8.

0d89a2fc 12/14/2010 10:10 PM Jim Pingle

Add voucher backup, configurable from Diagnostics > NanoBSD. Fixes #1087

c92ccac7 12/14/2010 11:56 AM Vinicius Coque

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/auth.inc
etc/inc/config.lib.inc
etc/inc/filter.inc
etc/inc/gwlb.inc
etc/inc/interfaces.inc
etc/inc/pfsense-utils.inc
etc/inc/pkg-utils.inc...

0ba17c67 11/27/2010 02:47 PM Ermal LUÇI

Ooops add missing or.

cfa62e06 11/26/2010 12:20 PM Ermal LUÇI

include broadcast address to allow dhcp to work.

43652f2f 09/28/2010 01:19 PM Renato Botelho

Merge remote branch 'mainline/master' into inc

6991e1a6 09/24/2010 05:40 AM Erik Fonnesbeck

Fix the contents of the captive portal logout popup. Fixes #836

8c04b1ae 09/08/2010 01:20 PM Renato Botelho

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/filter.inc
etc/inc/pkg-utils.inc
etc/inc/service-utils.inc
etc/inc/system.inc
etc/inc/vpn.inc

10370262 08/31/2010 12:06 AM Scott Ullrich

Use enable voucher variable

5e56c56d 08/30/2010 10:36 PM Renato Botelho

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/captiveportal.inc

c2056357 08/30/2010 08:29 PM Scott Ullrich

Fix formatting in if()

023aa1f2 08/30/2010 08:25 PM Scott Ullrich

Detect and use a sample voucher page when vouchers are defined. Otherwise default to the user/pass default page.

ce7c3bb5 08/30/2010 06:21 PM Scott Ullrich

Escape $ variables

487caee6 08/30/2010 11:26 AM Renato Botelho

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/interfaces.inc

b260c8e0 08/24/2010 11:11 PM Scott Ullrich

Improve the standard Captive Portal pages when a custom page is not set

fdc55311 08/13/2010 08:05 PM Carlos Eduardo Ramos

Implement gettext() calls on captiveportal.inc

fb516dda 08/09/2010 09:11 PM Chris Buechler

don't include 255.255.255.255 here

d6a0379d 07/22/2010 11:16 PM Ermal LUÇI

Add a subnet option to allowed ip addresses on CP.

746e60c9 07/22/2010 02:33 PM Ermal LUÇI

Fixes #741. Restore behaviour of CP in 1.2.x by allowing in ipfw rules anything to the host ip on the interfaces configured for CP.

eade409a 06/21/2010 11:06 AM Ermal LUÇI

Use proper locking.

1d9e9cca 06/21/2010 11:02 AM Ermal LUÇI

Do not flush all tables unless Save was hit on webgui. This avoids flushing the tables that keep logged in users.

769e254e 06/18/2010 06:35 PM Ermal LUÇI

Do not reconfigure CP on every event of interfaces or while reloading the webGUI. Create 2 new function to just rewrite rules and restart the webserver for CP repctively for interface events and webGUI restart events.

36ff7f81 06/17/2010 10:10 PM Ermal LUÇI

Ooops curly missing.

4a756e9b 06/17/2010 10:09 PM Ermal LUÇI

Actually correctly handle some vip types ips for getNasIP.

64c0462b 06/17/2010 09:57 PM Ermal LUÇI

Teach even getNasIP for the new callingstation ip setting.

ffcf81bb 06/17/2010 02:21 AM Chris Buechler

correct the limiter, it reversed up/down before

6ef98d29 06/02/2010 10:55 PM Ermal LUÇI

Mute this command so people do not think something went wrong.

bf444c34 06/02/2010 04:56 PM Ermal LUÇI

Use the new functions on CP code too.

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.

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

Remove part of the message displayed some people might find its completely ok to use it.

fac13a5e 05/28/2010 06:38 PM Ermal LUÇI

Add a function to find the mac address on a passthrough mac entry by username(if present) in the <username> tag of the entry.

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.

71fdaecd 05/19/2010 01:44 PM Ermal LUÇI

Include filter.inc for the ipfw load function.

da9d6701 05/07/2010 10:22 AM Ermal LUÇI

Check if interface exists before issuing a command when disabling captiveportal.

83e16ead 05/05/2010 04:59 PM Ermal LUÇI

The gui defaults to https in 2.0 correct it to make sure it is not stopped by CP on the CP interface[s].

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.

b01792a0 05/03/2010 05:43 PM Ermal LUÇI

Ticket #566. Reimplement the allowed ips keeping previous funcitonality and improving by adding a both direction. The problem with previous commit is that it always assumes that allowed ip address would have a pipe configured and entires without one would just get dropped.

68d0b70a 04/20/2010 06:44 PM Ermal LUÇI

Make pasthrough GUI code catch-up with the latest changes.