Project

General

Profile

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

# Date Author Comment
e26b805c 07/03/2018 12:40 PM Renato Botelho

Fix #7024: Deprecate /etc/inc/radius.inc in favor of pear-Auth_RADIUS port

29a272f7 04/16/2018 11:13 AM Selman ULUG

fix #8441;

ipfw rules must be deleted before cp record delete.

f87ddb3b 04/05/2018 01:35 PM Caio Plumbeo

Captive portal: add option to choose whether to use the bandwidth limits retrieved from RADIUS or not

Automatically upgrade config to preserve old RADIUS bandwidth limits behaviour on existing installations.

e4c34f17 04/05/2018 01:19 PM Caio Plumbeo

Captive portal: add the explicit reason why a user was disconnected to the log

f3e403d5 04/05/2018 01:19 PM Caio Plumbeo

Captive portal: add option to retrieve the traffic quota value from RADIUS

Add an option to enable retrieving a user's traffic quota from RADIUS. The code uses a new vendor-specific attribute so the RADIUS server must be configured appropriately and load the pfSense dictionary.

acbd943d 04/05/2018 01:19 PM Caio Plumbeo

Captive portal: add a traffic quota option

Add a new option to disconnect users after they exceed a traffic quota (sum of downloaded data and uploaded data).

643315be 04/05/2018 01:19 PM Caio Plumbeo

Captive portal: always use the RADIUS-provided session timeout value if the option is enabled

b8963db6 02/26/2018 12:47 PM Renato Botelho

Fix #7972

Rework the way Captive Portal vouchers are synchronized on HA:

- When voucher use is enabled on primary, do the same on secondary
- When voucher rolls are created/modified/deleted, sync to secondary
- When voucher is used, disconnected or expired, sync it in both...

9d706ff8 02/12/2018 04:26 PM Renato Botelho

Break some long lines

356f29a0 02/12/2018 04:26 PM Renato Botelho

Fix #8317

Verify if pipes were created in current system before attempt to remove
them

ff8b4019 02/12/2018 03:12 PM Renato Botelho

Do no try to lock when file doesn't exist

b27df7cf 02/12/2018 03:08 PM Renato Botelho

Implement dry_run mode in captiveportal_free_dnrules()

To be used later on a fix for ticket #8317 just return the array
containing pipes to be removed without removing them from
captiveportaldn.rules

a464eaf7 02/02/2018 04:45 PM Stephen Jones

Fixed #8226 Check for MAC duplicates

loop through auto pass MAC addresses for duplicates
before automatically adding a pass thru.

b8f91b7c 01/05/2018 01:44 PM Luiz Souza

Update the Copyright notice for pfSense.

918ef12c 12/27/2017 01:32 PM Jim Pingle

Add missing $cpzone declaration. Fixes #8238

7c4e07c6 11/15/2017 02:01 PM Jim Pingle

Ensure that the value passed to ipfw pipes is always an integer, no matter the source. Fixes #8097

3ed3a367 11/02/2017 04:39 PM Doktor Notor

Disable HSTS for captive portals

bd068df3 09/22/2017 01:52 PM Luiz Souza

Revert "Do not associate IP and MAC on down table. It should help #7813 and #7833"

This reverts commit aa61ecfde0952ed1c3a035ac9489f5a5f9c51425.

aa61ecfd 09/21/2017 06:10 PM Renato Botelho

Do not associate IP and MAC on down table. It should help #7813 and #7833

a6f8dd7a 09/21/2017 06:08 PM Renato Botelho

Revert "Update translation files"

Bad commit log

This reverts commit ff8d44d194b6a5ada8fcd2aafe8c7ec358a7adae.

ff8d44d1 09/21/2017 06:05 PM Renato Botelho

Update translation files

b2c92623 09/19/2017 05:21 PM Renato Botelho

Fix #7834: Delete IPFW pipes when disable Captive Portal zone

5c7fead1 09/19/2017 05:21 PM Renato Botelho

Remove correct file

fbfbc6bd 09/19/2017 05:21 PM Renato Botelho

Ticket #7834: Add missing global declarations

e14c441b 07/26/2017 01:44 PM Renato Botelho

Make rules that deal with IP+MAC pairs to be layer2 only

f6e6ff31 07/25/2017 06:55 PM Renato Botelho

Restore calls to pfSense_ipfw_table_zerocnt(), it's fixed now

f4c867e0 07/25/2017 05:10 PM Renato Botelho

Remove unused parameters

5f6825bb 07/25/2017 05:08 PM Renato Botelho

Do not associate IP and MAC on down table

75395abf 07/25/2017 05:04 PM Renato Botelho

Fix syntax

fa6ae0ea 07/25/2017 04:56 PM Renato Botelho

Remove leftover debug

3c4fcd5b 07/25/2017 04:47 PM Renato Botelho

Ressurrect nomacfilter option on CP now IPFW supports combined tables with IP and MAC address

b40b4a3e 07/25/2017 12:04 PM Renato Botelho

Re-introduce Captive Portal statistics

d4e42c54 05/08/2017 03:19 PM Jim Pingle

Only cache CP RADIUS Auth credentials when reauthentication is enabled. Fixes #7528

b05c860c 03/05/2017 09:20 PM Doktor Notor

Add reason to write_config() call

1579e70f 02/01/2017 08:33 AM Phil Davis

Code with multiple %s in etc

47f96785 01/05/2017 05:19 PM Caio Plumbeo

Captive portal: make captiveportal_disconnect_all() faster

captiveportal_disconnect_all() removes the users one at a time and in some cases, when many hundreds of users are connected, can take up to several dozens of seconds to complete.
Instead of looping through all users, send all the accounting information, reset the user database and delete all the active rules and reinit them. Use locking to prevent new users from logging in until the function ends.

364d473b 01/04/2017 04:36 PM Renato Botelho

Merge pull request #3315 from plumbeo/accounting-on-disable-reboot

3ece6d54 12/29/2016 05:45 PM Caio Plumbeo

Captive portal: rework logging and RADIUS accounting when disabling a zone or rebooting

Make captiveportal_radius_stop_all() log the disconnections in the system log and fix it so that it works with the zone id parameter and sends complete RADIUS accounting packets....

d793617e 12/29/2016 10:55 AM Caio Plumbeo

Captive portal: use locking to avoid race conditions between rc.prunecaptiveportal and captiveportal_disconnect_all()

Convert rc.prunecaptiveportal to lock()/unlock()/try_lock() and use the lock to ensure that there aren't race conditions between it and captiveportal_disconnect_all().

025ec94a 12/29/2016 10:55 AM Caio Plumbeo

Captive portal: work around race condition between captiveportal_disconnect_all() and captiveportal_prune_old()

Captiveportal_disconnect_all() loops through the active users and disconnects them immediately but doesn't remove them from the user database, only adding them to a list that is processed after the end of the loop....

feab4e54 12/24/2016 10:37 PM Caio Plumbeo

Captive portal: add button to disconnect all users

Add a function to disconnect all logged in users and a button to call it in the captive portal status page.

e85f3a2b 12/07/2016 02:32 PM Renato Botelho

Merge pull request #3130 from omnia-dev/master

1878e1c9 12/03/2016 05:03 PM Caio Plumbeo

Captive portal: add option to include idle time in total session time

Add an option to choose whether the time spent idle by a user disconnected for exceeding the idle timeout must be included in the total session time sent to the RADIUS server or not.

f3838572 12/01/2016 04:04 PM Caio Plumbeo

Fix reversed accounting style

393c1317 10/28/2016 05:47 PM Renato Botelho

Always create a pipe for each allowed MAC or IP

aab966f2 10/28/2016 05:44 PM Renato Botelho

host_ips tables is not supposed to use pipes

99a537e1 10/25/2016 11:06 AM Renato Botelho

Make sure filterdns is disabled when CP zone is disabled

9945720f 10/25/2016 01:22 AM Luiz Souza

Fix the ipfw rule to use the table cp_ifaces and not the interface cp_ifaces.

a4aebf44 10/24/2016 09:26 PM Renato Botelho

Stop using -y on filterdns call

517b893e 10/24/2016 09:22 PM Renato Botelho

Rework captive portal to run with stock IPFW (round 1)

- Remove use of IPFW context
- Create a rule that will skip to proper rule for each cp zone
- Use new PHP module functions wherever is possible

1289c0c1 10/12/2016 07:23 PM Renato Botelho

Remove all calls to conf_mount_r* functions

81299b5c 09/06/2016 07:23 PM Renato Botelho

Move copyright from ESF to Netgate

aa1c6774 09/05/2016 03:37 PM Jonatan Ramos

Fix bandwidth limitation in mac passthrough auth

b12ea3fb 07/15/2016 07:30 PM Renato Botelho

Move to Apache License 2.0

c5d81585 07/15/2016 06:30 PM Renato Botelho

Review license / copyright on all files (final round)

ac24dc24 07/14/2016 09:33 PM Renato Botelho

Review license / copyright on all files (1st round)

86573bb9 06/27/2016 11:31 PM Phil Davis

Update include() to include_once()

For safety, use include_once() when including various "side" files.
There are a couple of instances of include("guiconfig,inc") that I
changes to use require_once() to be consistent with everywhere else.
The remaining cases of include() are just (hundreds of) head.inc and...

0c388fef 05/12/2016 10:48 AM Renato Botelho

Fix #6278

$cpzone is always in lowercase, it's used as the array key used in
config.xml. Use it in two cases where the $cp['zone'] was being wrongly
used:

- To find out zoneid
- To replace PORTAL_ACTION url

0a02fc5e 04/19/2016 11:55 AM Phil Davis

Escape username before use in CP SQL

A maybe "better" version to try.

a1ec93a6 03/29/2016 01:17 AM Chris Buechler

Specify the zone in the PORTAL_ACTION URL. Ticket #6037

5f18e743 03/22/2016 07:14 AM NOYB NOYB

HTML Compliance - Captiveportal

Text Align & Background Color

d18f3f6e 02/17/2016 01:33 PM Phil Davis

Internationalize etc inc a-i files

7aaf60a8 02/11/2016 04:53 AM k-paulius

Fix RADIUS spelling. It is written in all caps.

00de7de6 02/04/2016 09:02 PM Jim Pingle

Fix multi-session time counting for the FreeRADIUS start/stop case. Ticket #2164

ab225849 01/28/2016 07:03 PM Jim Pingle

Add option for FreeRADIUS-friendly stop/start RADIUS accounting updates.
It needs a sleep between the stop and start, and it needs slightly different figures for start/stop time in the request.

b5ccfb0b 01/20/2016 05:21 PM Renato Botelho

Initialize $stop_time inside foreach to make sure it resets to proper value each iteration since it's changed inside loop. Reported on https://github.com/pfsense/pfsense/pull/2487

2e5d559e 01/19/2016 11:58 PM Chris Buechler

Remove ORIGINAL_PORTAL_IP, it was never used.

09221bc3 01/15/2016 01:44 PM Renato Botelho

Update license on files from /etc/inc

57cc06af 01/05/2016 11:08 AM Chris Buechler

un-break SVG graphs

4877ae1e 01/05/2016 11:08 AM Chris Buechler

start converting CP to nginx

c4a278f2 01/05/2016 11:08 AM Chris Buechler

start switching CP to nginx

5e71234e 12/18/2015 01:00 AM Chris Buechler

Flush zone's tables if its db must be reset to avoid leaving behind any table entries. Ticket #5622

18ca572b 12/17/2015 10:21 PM Chris Buechler

Add busytimeout of 60 seconds for CP database access. This matches the default value PHP uses with sqlite 2.x versions (pfSense 2.1.x and earlier) and prevents the issues noted in Ticket #5622

84b128b6 12/15/2015 08:14 PM Jim Pingle

Fix handling of 0-byte files uploaded to the CP file manager.

6aa3723a 12/15/2015 06:03 PM Renato Botelho

Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever was the reason they were added, it was never finished and it's not being used

4e322e2c 12/10/2015 03:09 PM Phil Davis

Code style and white space in etc

69c97c32 12/03/2015 12:22 AM Chris Buechler

Sanitize the session_id/logout_id in captive portal.

6fe72c1c 11/27/2015 11:19 AM fischeol

Bug #2155

Fix of Bug #2155

42d59a5d 10/19/2015 03:01 PM Luiz Souza

Fix the captive portal rules after 98bf4991dc31f97fc7315a6b8aba433de9d39cea.

The malformed rules breaks the parsing of initialisation rules.

Issue: #4746

4169bf0c 10/01/2015 01:59 AM Chris Buechler

Only need to check 'vip' here.

701f5caa 09/30/2015 11:12 PM Chris Buechler

Can't use continue here as it continues the foreach, which skips the "ipfw zone" command, breaking CP for any system that doesn't have VIPs defined.

d2ecbddc 08/25/2015 06:41 PM Jim Pingle

For captive portal, if a user reloads index.php of the portal while already logged in, show the logout page instead if it's custom.

Must be a custom logout page that does not include a redirect.

46bc6e54 08/25/2015 05:49 PM Renato Botelho

Move main pfSense content to src/