Project

General

Profile

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

# Date Author Comment
3ce84694 05/01/2015 08:36 PM Ermal Luçi

Ticket #4652 actually return value as expected!

120acbae 05/01/2015 07:01 PM Ermal Luçi

Fixes #4652 put workaround for bogus timestamp until real data are cosnumed.

580f4f3f 03/13/2015 03:03 AM Phil Davis

Missin double equals in captiveportal.inc

Looking at where this is nested inside various if statements, I do not think this error did too much harm - only to the $mac['descr'] - in this particular code flow $username is not used for important stuff after this point....

1444c08e 02/11/2015 09:02 AM Phil Davis

Random text typos

that I noticed.

35e3d350 01/12/2015 06:25 PM Ermal Luçi

Do not leak firewall rules as well when (re)creating rules

eab9d9c1 01/12/2015 02:36 PM Renato Botelho

Fix spell typo spotted by phil-davis

9b255a36 01/12/2015 11:27 AM Ermal Luçi

Use this generation now of committing pipes directly and only rules to put on ruleset to avoid memory pressure and the timelimit will than be enforced by the caller

124299a3 01/12/2015 11:26 AM Ermal Luçi

Revert "Ticket #3932 Use array_map to get more parallelism when there are many entries. This makes it not reach the execution timeout with large entries."

This reverts commit 7077addc5a5058fab4b4dc7678270c1000d342c9.

0fc3c465 01/12/2015 11:20 AM Ermal Luçi

Actually improve the previous resource leak commit since the function is there but it was not being used during init_rules process.

339e2fe5 01/12/2015 11:18 AM Ermal Luçi
  • Try to autodetect if the execution limit needs to be raised on big number of passthrough entries.
    Set the time limit to 0 and restore it back to default value when this is detected.
  • Do not leak pipes when reloading ruleset for CP since this will consume available descriptors....
aa685f7a 01/12/2015 09:38 AM Ermal Luçi

Ticket #3932 Use array_map to get more parallelism when there are many entries. This makes it not reach the execution timeout with large entries.

64ed3e60 01/12/2015 08:27 AM Ermal Luçi

Fix inherent issues with isset and empty values set as true by our parser. This made the piep configuration to be wrong at least for passthrough entries. Ticket #3932

553803f4 12/24/2014 06:10 PM Ermal Luçi

Correctly call function for retrieving stats from ipfw. Fixes #4131

ad9bce2c 12/22/2014 02:33 PM Ermal Luçi

Correct issue with not reloading CP properly on calling interface configure.

1eff6ee0 12/22/2014 11:03 AM Ermal Luçi

Do not apply bw limits if the setting is not enabled in CP. Though still respect radius attributes for now with this setting. Resolves #4127

285ef132 11/26/2014 12:10 PM Ermal Luçi

Rather than set the g['booting'] on globals provide a function to test for that doing the right checks

bc9155c3 11/20/2014 10:50 AM Ermal Luçi

Ticket #4007, properly pass the table number here to retrieve the status.

ab8d50ac 11/19/2014 05:33 AM Chris Buechler

Shorten up the MAC pass-through descr. It was redundant, and for those with huge numbers of auto-added MAC passthrough entries, it adds up to a significant amount of config space (adding to delays when launching CP). helps Ticket #3932

402941d1 11/17/2014 12:05 PM Ermal LUÇI

Use the name entry now that there is a definition for it

0cd7c91a 11/13/2014 04:50 PM Renato Botelho

Subnet parameter is mandatory for pfSense_ipfw_Tableaction(), add where it's missing

27c2e32e 11/06/2014 06:38 PM Renato Botelho

Pass zone id to pfSense_ipfw_getTablestats(), should fix #3990

9aec47b7 11/05/2014 11:18 PM Chris Buechler

don't duplicate $message in CP log entries

d338018f 11/01/2014 05:49 PM Ermal LUÇI

Fixes #3938. Do more error checking.

621fed0e 10/17/2014 11:33 PM Ermal LUÇI

Ticket #3932 For more than 100 entries create pipes in line with the rules file to speedup the process

971de1f9 07/07/2014 11:06 PM Renato Botelho

Convert almost all /sbin/sysctl calls to php functions

cbe38717 06/12/2014 09:06 PM Ermal LUÇI

Bring the code of captiveportal up to speed with its module counterpart requirments

1b244d38 05/19/2014 10:49 PM Colin Fleming

Update SCRIPT tags.

Add CDATA sections to SCRIPT tags in various files

4320083f 05/06/2014 03:24 PM Renato Botelho

Fix http and https port for cpzone

36de334e 05/06/2014 11:58 AM Renato Botelho

Use global cpzoneid variable

391cad9f 05/06/2014 11:49 AM Renato Botelho

Drop double $$ from variable name

87b8992f 05/06/2014 11:48 AM Renato Botelho

Remove redundant set

5cf91315 04/30/2014 07:47 PM Renato Botelho

Migrate captive portal code to SQLite3 php module

fb0c2bd6 04/28/2014 08:27 AM Ermal LUÇI

Correct the ridirection URL to unbreak ones passed through Radius attributes and repsect user choices. Reported-by: Antoine Guillemot

b7b461fc 04/19/2014 03:35 PM derelict-pf

Add nohttpsforwards option to captive portal

4010266a 04/17/2014 08:35 AM Ermal LUÇI

GC unused code and do not set this to 0 for now since it is not anymore relevant

ca321bfd 04/07/2014 03:30 PM Ermal LUÇI

Correct typo on function name that has slipped unnoticed. Reported-by: https://forum.pfsense.org/index.php?topic=74688.0

a7ee038b 04/07/2014 09:06 AM Ermal LUÇI

Put the fix to be more generic to prevent any other leak possible in the long run. Fixes #3062

39f3d843 04/07/2014 09:01 AM Dsi Unicaen

Update captiveportal.inc

Release unused pipeno when client is already authenticated.

Bug #3062

6fba8620 03/25/2014 05:35 PM Renato Botelho

Merge pull request #1031 from ayvis/master-br-patch

replaced uppercase html tags with lowercase

0fcae2ec 03/24/2014 08:44 PM Ermal LUÇI

Fixes #3543, correct the typo in spelling

cfa53879 03/24/2014 08:14 PM Ermal LUÇI

While here escape the passed valuye to avoid problems with input

3b68d29c 03/24/2014 08:07 PM Ermal LUÇI

Somehow these got changed to /usr/local/sbin/ipfw instead of /sbin/ipfw

375eba14 03/24/2014 07:58 PM Ermal LUÇI

Fix this for master

dae77fe3 03/24/2014 07:26 PM Renato Botelho

Fix deletion of ipfw rules and pipes for passthru mac, it fixes #3538

91f026b0 03/19/2014 10:38 PM ayvis

replaced uppercase html tags with lowercase
js files saved as UTF-8 / LF
language="JavaScript" deprecated, replaced with type="text/javascript"

7f7626ba 03/17/2014 02:17 PM Renato Botelho

Merge branch 'master-br' of https://github.com/ayvis/pfsense into ayvis-master-br

0734024c 03/15/2014 12:28 AM Chris Buechler

standardize URLs

8cd558b6 03/14/2014 08:24 PM ayvis

xhtml Compliance
replaced <br>, <br/> and </br> with <br />

ac420abd 02/24/2014 02:39 PM Ermal LUÇI

Properly compile the query to insert the values. Pointy-hat: myself. While here respect the redirurl when passed to portal_allow and use proper function to do redirection.

7519cc29 02/20/2014 07:32 PM Ermal LUÇI

If set use the default bandwidth setting on the CP even for mac passthrough. Reported-by: https://forum.pfsense.org/index.php/topic,72761.0.html

2e080989 02/20/2014 07:30 PM Ermal LUÇI

Use the default bw specification if configured even for allowed ip and hostname.

9e875e0c 02/18/2014 11:35 AM Renato Botelho

Revert "Replaced gethostbyname() with gethostbynamel() to get a list of all IPs associated with the dns name and add them to the allowed list"

This change is not needed, filterdns will handle it.

This reverts commit d460371416d4e2cfef976d5a7616f63f6faa203f.

9305e219 02/18/2014 10:15 AM Renato Botelho

Merge pull request #904 from dv-user1/master

Replaced gethostbyname() with gethostbynamel() to get a list of all IPs ...

bae729da 02/17/2014 10:36 AM Ermal LUÇI

Consider setting of noconcurrent login for passthrough expiry of users. Fixes #3340

74a40221 02/17/2014 09:34 AM Ermal LUÇI

Use the 11th column for the radius context rather than overriding the interim interval field with it. Fixes #3447

d4603714 02/07/2014 08:11 PM Francois Blanchette

Replaced gethostbyname() with gethostbynamel() to get a list of all IPs associated with the dns name and add them to the allowed list

21f82ab6 01/03/2014 03:05 PM Ermal LUÇI

Do not allocate the same pipe to everyone rather give each person its own!

f38b383b 01/03/2014 02:53 PM Ermal LUÇI

Use empty here for testing even if the setting is unset

1f965b69 12/24/2013 10:45 AM Ermal LUÇI

Merge manually 4fd85b115e2550969ddeadd43a2bc6dafff21779 3f2ae9d58f5ea3d9de175e8daa9c8902b3f23440 and e049c5e74f009430e22e446f149a552d00846d7a

a2a42c72 12/24/2013 10:34 AM Ermal LUÇI

Remove not relevant comment now. Also make the operation clear to avoid priority issues.

531b9f0e 11/25/2013 02:06 PM Ermal LUÇI

No need for a second rule forwarding http

1c69dbb0 11/25/2013 02:06 PM Ermal LUÇI

Correct generation of lighty configuration with zoneid changing to lower that 4000 value

fcaf1709 11/23/2013 07:32 PM Ermal LUÇI

Catch up with mac needed for all operations in the table nowdays.

baec2b00 11/21/2013 09:18 PM Ermal LUÇI

Properly create zones for the CP with the new command arguments and properly invoke ipfw for applying rules and other configuration options.

40a8f669 10/18/2013 08:32 PM Renato Botelho

Prevent a possible division by zero. it fixes #3212

81ce28d8 09/14/2013 01:54 PM Renato Botelho

Remove unecessary blockedmacs db and read it directly from config

a413e743 09/12/2013 12:43 PM Renato Botelho

Do not add a ipfw rule to block mac since auth can take care of block or redirect it

3b2769be 09/12/2013 11:44 AM Renato Botelho

Make sure db doesn't exist when start to configure macs

0d33f1fc 09/12/2013 11:44 AM Renato Botelho

When block a MAC address, add it to a DB to make it possible to redirect it to a URL

6b1cb3fd 09/12/2013 11:44 AM Renato Botelho

Add action to auto created passtru mac rule

0bf1e925 09/12/2013 11:44 AM Renato Botelho

Remove unused variable $macdb

5eee3755 09/12/2013 11:44 AM Renato Botelho

Make captiveportal_passthrumac_delete_entry() return rules instead of execute them as other similar functions do

6ffb064f 09/12/2013 11:44 AM Renato Botelho

Add action to auto created passtru mac rule

666f88e0 09/12/2013 11:44 AM Renato Botelho

Add actions (block or pass) to Captive Portal passtrumac

7fdf2970 08/02/2013 02:35 PM Ermal LUÇI

Correct bandwidth assignment so the configuration is not reverted courtesy of ipfw(4) swapped arguments. Reported-by: http://forum.pfsense.org/index.php/topic,65069.0.html

af125177 08/01/2013 05:51 PM Ermal LUÇI

Resolves #3121. Fix the command so it does perform correctly

12feed15 08/01/2013 10:26 AM Ermal LUÇI

Add Zone to the messages logged on syslog from CP to easy troubleshooting

2657f21f 07/15/2013 08:05 PM Ermal LUÇI

Enable filtering on ipfw sysctl not dependent on ipfw module otherwise issue reported here http://forum.pfsense.org/index.php/topic,64412.0.html happens

5b0f7191 07/11/2013 01:59 PM Ermal Luçi

Fix copy/pasto introduced in previous commit.

7fb23399 07/10/2013 03:26 PM Ermal LUÇI

Implement proper releasing of pipes allocated based on CPzone. Keep track of which zone a pipe is and release those pipes during disabling/deleting of zone. Ticket #3062, Pull request #698

0f50d70d 07/10/2013 03:20 PM Ermal LUÇI

Use empty to cover all needed cases as suggested on #3062. Suggested from pull request #698

d2c98878 07/03/2013 03:39 AM Alberto Palau

modified radius function to release the pineno

modified radius function to release the pinene if the client is not authenticated properly, and modified function captiveportal_get_next_dn_ruleno to initially takes the value 2000 for the first pipeno.

bdba4fa7 07/02/2013 07:05 PM Ermal LUÇI

Correct variable used to delete symlinks and files delete from CP filemanager. Reported-by: http://forum.pfsense.org/index.php/topic,64016.0/topicseen.html. While here reduce some uneeded extra operations

fafcae72 06/17/2013 09:25 AM Ermal LUÇI

Add used binary

c2e2d133 05/10/2013 01:01 PM Ermal LUÇI

Prevent errors from flowing up to the clients workspace and preventing functionality

7aff41fe 03/05/2013 07:07 PM Ermal LUÇI

Give the rules their own number and swap table numbers to correct statistics gathering.

46209e0b 03/05/2013 11:03 AM Ermal LUÇI

Make sure some value is present here during boot

5b0e0182 02/27/2013 02:26 PM Renato Botelho

Consider CP allowed IPs for both directions. It will help ticket #2780

52034432 02/25/2013 12:32 PM Renato Botelho

Make sure captiveportal section of config is an array, reported on ticket #2838

5705c60a 02/17/2013 02:34 PM Renato Botelho

Revert "Merge pull request #417 from miken32/cp-database-fix"

It breaks customizations, it's not a good time for such big change.

This reverts commit 40c7b1a98bfdc61261154adaac5fdefc234ecb08, reversing
changes made to d896f86751bae79625197da6c80d709fdf185448.

40c7b1a9 02/15/2013 09:35 AM rbgarga

Merge pull request #417 from miken32/cp-database-fix

Use associative array for captive portal database

f1ab195e 02/15/2013 06:06 AM Michael Newton

self-explanatory now, no comments needed

00109fef 02/15/2013 06:01 AM Michael Newton

while we're here, send named termination causes

91ca7e9f 02/15/2013 05:14 AM Michael Newton

use associative array for captive portal to prevent confusion, messiness, and abuse

e35ab948 02/15/2013 12:11 AM Michael Newton

only send Accounting-On at boot; can't tell if CP's being newly enabled or not

62f20eab 02/14/2013 11:19 PM Michael Newton

add support for RADIUS NAS accounting, fixes redmine feature request 2143

1b584e3f 02/13/2013 09:58 PM Ermal LUÇI

During bootup do not try to resolve hostnames filterdns will handle those

eb162790 02/11/2013 06:59 PM Michael Newton

remove unsed getNasID function

1a1967d6 02/11/2013 11:16 AM Ermal LUÇI

Test that timeout value is bigger than 0

bb58ed63 02/11/2013 08:20 AM Ermal LUÇI

Cleanup some code