Projet

Général

Profil

Télécharger (72,7 ko) Statistiques
| Branche: | Tag: | Révision:

univnautes / etc / inc / captiveportal.inc @ 391cad9f

# Date Auteur Commentaire
391cad9f 06 mai 2014 13:49 Renato Botelho

Drop double $$ from variable name

87b8992f 06 mai 2014 13:48 Renato Botelho

Remove redundant set

5cf91315 30 avril 2014 21:47 Renato Botelho

Migrate captive portal code to SQLite3 php module

fb0c2bd6 28 avril 2014 10:27 Ermal

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

b7b461fc 19 avril 2014 17:35 derelict-pf

Add nohttpsforwards option to captive portal

4010266a 17 avril 2014 10:35 Ermal

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

ca321bfd 07 avril 2014 17:30 Ermal

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

a7ee038b 07 avril 2014 11:06 Ermal

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

39f3d843 07 avril 2014 11:01 dsiunicaen

Update captiveportal.inc

Release unused pipeno when client is already authenticated.

Bug #3062

6fba8620 25 mars 2014 18:35 Renato Botelho

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

replaced uppercase html tags with lowercase

0fcae2ec 24 mars 2014 21:44 Ermal

Fixes #3543, correct the typo in spelling

cfa53879 24 mars 2014 21:14 Ermal

While here escape the passed valuye to avoid problems with input

3b68d29c 24 mars 2014 21:07 Ermal

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

375eba14 24 mars 2014 20:58 Ermal

Fix this for master

dae77fe3 24 mars 2014 20:26 Renato Botelho

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

91f026b0 19 mars 2014 23:38 ayvis

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

7f7626ba 17 mars 2014 15:17 Renato Botelho

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

0734024c 15 mars 2014 01:28 Chris Buechler

standardize URLs

8cd558b6 14 mars 2014 21:24 ayvis

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

ac420abd 24 février 2014 15:39 Ermal

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 20 février 2014 20:32 Ermal

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 20 février 2014 20:30 Ermal

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

9e875e0c 18 février 2014 12:35 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 18 février 2014 11:15 Renato Botelho

Merge pull request #904 from dv-user1/master

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

bae729da 17 février 2014 11:36 Ermal

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

74a40221 17 février 2014 10:34 Ermal

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

d4603714 07 février 2014 21:11 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 03 janvier 2014 16:05 Ermal

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

f38b383b 03 janvier 2014 15:53 Ermal

Use empty here for testing even if the setting is unset

1f965b69 24 décembre 2013 11:45 Ermal

Merge manually 4fd85b115e2550969ddeadd43a2bc6dafff21779 3f2ae9d58f5ea3d9de175e8daa9c8902b3f23440 and e049c5e74f009430e22e446f149a552d00846d7a

a2a42c72 24 décembre 2013 11:34 Ermal

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

531b9f0e 25 novembre 2013 15:06 Ermal

No need for a second rule forwarding http

1c69dbb0 25 novembre 2013 15:06 Ermal

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

fcaf1709 23 novembre 2013 20:32 Ermal

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

baec2b00 21 novembre 2013 22:18 Ermal

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

40a8f669 18 octobre 2013 22:32 Renato Botelho

Prevent a possible division by zero. it fixes #3212

81ce28d8 14 septembre 2013 15:54 Renato Botelho

Remove unecessary blockedmacs db and read it directly from config

a413e743 12 septembre 2013 14:43 Renato Botelho

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

3b2769be 12 septembre 2013 13:44 Renato Botelho

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

0d33f1fc 12 septembre 2013 13:44 Renato Botelho

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

6b1cb3fd 12 septembre 2013 13:44 Renato Botelho

Add action to auto created passtru mac rule

0bf1e925 12 septembre 2013 13:44 Renato Botelho

Remove unused variable $macdb

5eee3755 12 septembre 2013 13:44 Renato Botelho

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

6ffb064f 12 septembre 2013 13:44 Renato Botelho

Add action to auto created passtru mac rule

666f88e0 12 septembre 2013 13:44 Renato Botelho

Add actions (block or pass) to Captive Portal passtrumac

7fdf2970 02 août 2013 16:35 Ermal

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 01 août 2013 19:51 Ermal

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

12feed15 01 août 2013 12:26 Ermal

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

2657f21f 15 juillet 2013 22:05 Ermal

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 11 juillet 2013 15:59 Ermal Luçi

Fix copy/pasto introduced in previous commit.

7fb23399 10 juillet 2013 17:26 Ermal

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 10 juillet 2013 17:20 Ermal

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

d2c98878 03 juillet 2013 05:39 falbertopl

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 02 juillet 2013 21:05 Ermal

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 17 juin 2013 11:25 Ermal

Add used binary

c2e2d133 10 mai 2013 15:01 Ermal

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

7aff41fe 05 mars 2013 20:07 Ermal

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

46209e0b 05 mars 2013 12:03 Ermal

Make sure some value is present here during boot

5b0e0182 27 février 2013 15:26 Renato Botelho

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

52034432 25 février 2013 13:32 Renato Botelho

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

5705c60a 17 février 2013 15:34 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 15 février 2013 10:35 rbgarga

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

Use associative array for captive portal database

f1ab195e 15 février 2013 07:06 Michael Newton

self-explanatory now, no comments needed

00109fef 15 février 2013 07:01 Michael Newton

while we're here, send named termination causes

91ca7e9f 15 février 2013 06:14 Michael Newton

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

e35ab948 15 février 2013 01:11 Michael Newton

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

62f20eab 15 février 2013 00:19 Michael Newton

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

1b584e3f 13 février 2013 22:58 Ermal

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

eb162790 11 février 2013 19:59 Michael Newton

remove unsed getNasID function

1a1967d6 11 février 2013 12:16 Ermal

Test that timeout value is bigger than 0

bb58ed63 11 février 2013 09:20 Ermal

Cleanup some code

fe2eb995 05 février 2013 17:05 Ermal

Unlink pid file before starting a new process

0677741a 04 février 2013 10:26 rbgarga

Merge pull request #371 from bcyrill/patch-18

Fix filterdns termination

7b5eab84 02 février 2013 21:22 bcyrill

Kill filterdns when not being used

f48abba2 02 février 2013 00:22 Michael Newton

check for optional reversing of statistics

0674bc42 27 janvier 2013 17:42 Ermal

Configure pipe directly in php until ipfw binary is fixed to correctly configure pipes even that context is specified

657d2c66 27 janvier 2013 17:28 Ermal

Configure pipe directly in php until ipfw binary is fixed to correctly configure pipes even that context is specified

1f8c8819 27 janvier 2013 15:46 bcyrill

Fix ipfw config generation for allowed IPs

4ce92461 25 janvier 2013 21:34 Ermal Luçi

Merge pull request #320 from bcyrill/patch2

Allow empty RADIUS secrets

4586abb7 25 janvier 2013 20:28 bcyrill

Fix concurrent username logins

338c0941 24 janvier 2013 12:47 Ermal

Merge #237 manually whitout the GUI option for specifying interim interval. It will read now this attribute if present in a reply and use it. Fixes #1492

287f7e26 23 janvier 2013 17:24 Ermal

Convert all captiveportal code to not use ipfw_set_context since its not needed anymore. Also add code to validate cpzone on webgui pages before being used

3760b867 21 janvier 2013 21:58 Ermal

Use symlink rather than forked commands. Also simplify a bit code

f32eae2d 21 janvier 2013 20:38 Ermal

Unser some vars to free space

bc2b0144 21 janvier 2013 20:21 Ermal

Remove remenant of file based days

f8cb8685 18 janvier 2013 11:29 Ermal

Correct stoping of the db and sending radius stops

d5ac388b 16 janvier 2013 15:47 bcyrill

Missing return statement

422e9d00 16 janvier 2013 00:58 Ermal Luçi

Merge pull request #329 from bcyrill/patch-8

Update etc/inc/captiveportal.inc

de132ae3 15 janvier 2013 23:26 bcyrill

Add portal_hostname_from_client_ip function

87e7fdea 15 janvier 2013 22:28 bcyrill

Update etc/inc/captiveportal.inc

dbce0c2c 10 janvier 2013 18:27 bcyrill

Allow empty RADIUS keys

a96f2d3d 04 janvier 2013 10:51 Ermal

Remove to parameters from system_generate_lighty_config that are unused and do a better job at tuning started php processes to not use less/more than needed. This also avoids DoS the system with php processes

081320a4 03 janvier 2013 09:26 Ermal

Move to varrun_path for consistency

5d6495a7 02 janvier 2013 19:43 Ermal

Tell filterdns to reload the config rather than restart if its running

e9189747 31 décembre 2012 00:22 Chris Buechler

Merge pull request #293 from bcyrill/patch-11

Add some unobtrusive IPv6 changes to CP

41085ea8 31 décembre 2012 00:22 Chris Buechler

Merge pull request #294 from bcyrill/patch-12

Fix: Invert if condition

8301cc5f 31 décembre 2012 00:22 Chris Buechler

Merge pull request #298 from bcyrill/cp-sqlite

Various fixes to removal of pipes

5038fb53 29 décembre 2012 19:41 bcyrill

Fix: Disconnect CP client

be0a33ef 29 décembre 2012 15:22 bcyrill

Fix: Remove entries from captiveportal DB

f92595dc 29 décembre 2012 15:19 bcyrill

Fix: Check for the existence of the rules file