Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
6317d31d 01/01/2015 12:13 PM Phil Davis

Fix lineup of copyright lines

and module names and other bits of formatting and typos in header
comment sections.

d961e7e3 12/31/2014 06:22 PM Renato Botelho

Welcome 2015

29aef6c4 11/11/2014 05:36 AM Jim Thompson

Change copyright statement to reflect reality

762a7b89 09/28/2014 03:23 PM Phil Davis

Spelling

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"

1d7ba683 03/18/2014 07:09 PM ayvis

replaced <br>, <br/> with <br /> in ANSI encoded files. Converted these files to UTF-8

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

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

362ec35d 12/20/2013 10:32 PM Ermal LUÇI

Do not register the _ENV superglobal since its not required and probably not very useful in a [F]CGI world and its limit is restricted nowdays in pfSense.

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.

8ad84ebb 09/28/2013 01:16 PM Renato Botelho

Remove redundant copies of getNasIP(), it should fix #3234

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

Remove unecessary blockedmacs db and read it directly from config

8d5ddc09 09/12/2013 12:43 PM Renato Botelho

Redirect blocked macs to desired URL or show an error message

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

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

9a2d3fc1 04/12/2013 06:47 AM Ermal Luçi

Merge pull request #556 from tuyan/c8b07434e3a1c9ae905c2e6cbef6f8fb25e3db00

Fix calculation of accounting gigawords.

c8b07434 04/11/2013 07:51 PM Tuyan Ozipek

Fixed PHP_INT_MAX not being 2^32 for accounting gigawords.

a8cb0038 02/07/2013 01:15 PM Renato Botelho

Implement privilege for allowing login through CP

- The feature is optional, on by default for new zones, off for current
ones when upgrading

It should fix #1010

97e0cb61 01/29/2013 07:42 PM Ermal LUÇI

Use unset to free resources now that php does not use exit on CP

16a0308d 01/29/2013 06:59 PM Michael Newton

allow empty CP password to be sent to RADIUS server

338c0941 01/24/2013 11:47 AM Ermal LUÇI

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

5370146c 01/23/2013 08:32 PM Ermal LUÇI

Make sure this is in global scope

09294e84 01/21/2013 09:08 PM Ermal LUÇI

Validate the cpzone parameter passed that it actually is a valid zone

4734474e 01/21/2013 08:47 PM Ermal LUÇI

Revert "There should be always a zone given from lighty to us so try to get that first"

This reverts commit 497d0b192f8e065ec3b4d1d94764b51c924a89b8.

497d0b19 01/21/2013 08:46 PM Ermal LUÇI

There should be always a zone given from lighty to us so try to get that first

fad944a9 01/16/2013 12:05 AM Cyrill B

Update to master

de132ae3 01/15/2013 10:26 PM Cyrill B

Add portal_hostname_from_client_ip function

3b832418 01/15/2013 09:12 PM Cyrill B

Update usr/local/captiveportal/index.php

a3e97754 01/15/2013 01:06 AM Cyrill B

Remove redundant code fragment

f89afb47 01/04/2013 10:26 AM Ermal LUÇI

Get back to trim() and strip / from left/right but when redirecting properly create the redirurl var

e3c4516b 01/03/2013 10:24 AM Ermal LUÇI

Use rtrim to avoid issues

905d1e8e 12/17/2012 02:28 PM Cyrill B

Add square brackets around IPv6 addresses

eb258d39 12/15/2012 04:05 PM Cyrill B

only trim the / if it is alone

59775347 12/15/2012 03:51 PM Cyrill B

only trim the / at the end of the redirurl

b7ae00c0 12/15/2012 03:48 PM Cyrill B

always use the shortcut cpcfg variable

0d20a040 12/14/2012 08:50 AM Ermal LUÇI

Correctly retrieve the mac address

4a5feb83 12/13/2012 09:42 PM Ermal LUÇI

Do not exit from php rather return to not have to refork again from the manager

6cbda317 12/13/2012 09:37 PM Ermal LUÇI

Switch all the actions(pipe create/table modify/get mac address) during fast path of CP to pfSense modules ones.

007161dc 11/28/2012 04:03 PM Ermal LUÇI

Simplify logic

ad361510 11/28/2012 03:59 PM Ermal LUÇI

Only try to get mac if the its required

6e895d5f 07/27/2012 07:18 PM Ermal LUÇI

Put fix for IE 8/9 url handling bug

805b9ab6 06/11/2012 07:00 AM Ermal LUÇI

Revert "Make mac_format aware of multiple Captiveportal instances"

This reverts commit 54df925b9ea447bdd10f88a886e2ef11d44c3059.

54df925b 06/09/2012 08:33 PM Cyrill B

Make mac_format aware of multiple Captiveportal instances

ac10faad 05/25/2012 10:11 AM Warren Baker

Ensure there is a '.' between hostname and domain. Partially fixes #2454

89341b50 05/06/2012 06:07 PM Chris Buechler

fix vouchers

470d24a3 05/03/2012 04:34 PM Darren Embry

implement #2407: create config option for captive portal listening port

eedd093a 05/01/2012 05:32 AM Chris Buechler

correct hostname variable, and use FQDN

a53794c9 03/29/2012 03:18 PM Darren Embry

possible fix for Bug #2311: Wrong redirection URL (from http -> https) missing colon char

7b89ea6a 03/23/2012 11:12 PM Ermal LUÇI

Remove unused code

bef75b4c 03/22/2012 12:56 AM Darren Embry

fix for: Captive Portal Login dies on empty input

Not actually tested because CP doesn't work right now.

http://redmine.pfsense.org/issues/1874

48387425 01/20/2012 12:57 PM Erik Fonnesbeck

Should be preg_split instead of explode

212ab80f 01/20/2012 12:23 PM Ermal LUÇI

Correct the Called-Station-Id attribute setting to be the consistent on authentication packets

cff5204a 01/20/2012 12:21 PM Ermal LUÇI

Correct the Called-Station-Id attribute setting to be the same on STOP/START packets

cfbfd941 01/19/2012 07:33 PM Seth Mos

The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.
Replacing it surpresses all the warnings

b3765f4c 11/29/2011 02:16 PM Roberto Nunnari

- Added support for MSCHAPv2, MSCHAPv1 and CHAP_MD5 to captive portal
- Corrected bug in javascript funtion enable_change(enable_change)

90477318 09/13/2011 07:30 PM Ermal LUÇI

Fixes #1874. Correctly error out when the user or the pass is not posted during login of CP.

ebc0e4b6 09/07/2011 07:59 PM Ermal LUÇI

Add support for multiple radius server to be used during authentication

b4792bf8 09/07/2011 01:04 PM Ermal LUÇI

Add the multi instance CP to master branch. This allows to define CP with different properties on different interfaces.

739e227a 07/21/2011 09:10 PM Ermal LUÇI

Plug a security risk on CP where a user can login by submitting a special request

adbb495c 07/21/2011 09:09 PM Ermal LUÇI

Fix redirurl collection so after login the user can be redirected correctly

e6bd2312 07/15/2011 08:03 AM Ermal LUÇI

Fixes #1618. Always convert the NAS_PORT value to int in php and pass the attribute type during encoding to guarantee that it is encoded as an integer.

ac655e1b 05/06/2011 08:36 PM Ermal LUÇI

Use the availble constant on php for this and also the right value that comes with it since PHP never supported u_int. There is a bug open still on PHP about bcmod but some more info is needed.

401fb0ad 03/15/2011 12:53 PM Ermal LUÇI

ipfw is not referenced here.

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....
ac631bba 02/22/2011 07:27 PM Luiz Gustavo S. Costa

Move all functions from index.php for captiveportal.inc

38060391 01/25/2011 06:13 PM Scott Ullrich

Handle PORTAL_REDIRURL variable

532cb894 01/18/2011 10:21 PM Ermal LUÇI

Ticket #836 Ticket #1194 and http://forum.pfsense.org/index.php/topic,32175.msg166263.html#msg166263 suggest that now that CP actions are quite fast its better to send the logout data before actually disconnecting the client.

d0d70b03 01/10/2011 05:00 PM Ermal LUÇI

Ticket #1013. Force NAS_PORT to be of type integer to avoid it being interpreted as char and generate wrong radius packet.

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.

232846a2 10/18/2010 11:52 AM Ermal LUÇI

Ticket #868. Add Connection: close to the header to be proxy friendly. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html for reference.

8015e67b 09/25/2010 08:36 AM Erik Fonnesbeck

Separate this control structure from the one before it, change the order, and rename the function.

03552507 09/25/2010 05:09 AM Erik Fonnesbeck

Add an option for allowing clients to pass through the captive portal a limited number of times before requiring login.

b6494b87 09/24/2010 06:03 AM Erik Fonnesbeck

Restore this code so the redirect after logging into the captive portal will work again. Ticket #918

c9cb32c4 09/15/2010 01:04 PM Ermal LUÇI

Do not overwrite the redirurl parameter already taken care of.

c7cdfe20 08/24/2010 10:06 PM Scott Ullrich

Remove ORIGINAL_PORTAL_IP option. Never did get it working correctly.

8ebbae22 08/11/2010 04:32 PM Ermal LUÇI

Fixes #821. Force usage of configured redirurl when one has been configured.

d83dccff 07/28/2010 06:01 AM Chris Buechler

clarify text

2e12b76c 07/15/2010 05:07 PM Jim Pingle

Pull in RADIUS reply messages for logout page.

5082282c 06/17/2010 07:39 PM Ermal LUÇI

Use the configured src ip attribute choosen for accounting too.

34e9ca60 06/17/2010 07:33 PM Ermal LUÇI

Show even VIP's in the list. This is copied from nat code and probably should be generalized.

822b687b 06/17/2010 07:22 PM Ermal LUÇI

Do not assume WAN as the default interface to get the ip from for the calling station id. Instead add a select box(list) to choose the interface(ip) to send to radius.

eb15decb 06/01/2010 09:09 PM Ermal LUÇI

Provide a default error message on error pages if there is none provided by other means.

b90996c5 06/01/2010 08:49 PM Ermal LUÇI

Add forgotten newlines.

e06b7fa2 06/01/2010 08:33 PM Ermal LUÇI

Do not overwrite previous rules.

4d349ede 06/01/2010 08:31 PM Ermal LUÇI

Free ipfw ruleno so it can be reused. Propperly delete passthrough mac entries that are not used.

3bf8eb93 06/01/2010 08:22 PM Ermal LUÇI

Use correct array to iterate.

fe383a26 05/28/2010 10:40 PM Ermal LUÇI

Use REQUEST to hanle both POST/GET.

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.

d462a851 05/28/2010 09:01 PM Ermal LUÇI

Provide an error message to the call.

72b9e452 05/28/2010 08:17 PM Ermal LUÇI

Some configurations want to be able to ask users about replacing their existing mac during auto mac passthrough logins if they change equipment. Allow this in the backend by requiring the user to need posting a replacemacpassthru field with the post. Also add the possibility to send back with a portal_reply_page generated page the username and password posted.

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

Add the username to the auto added mac passthrough entry. Add an option to services->captiveportal page to activate/deactivate the auto-saving of username with the auto added mac passthrough.

4fc68c5a 05/28/2010 06:35 PM Ermal LUÇI

Do comparions as meant not assignment. Pointy-hat: Myself

e3a78007 05/25/2010 10:58 PM Ermal LUÇI

Actually send the wan ip address as calledstationid as advertised on captiveportal configuration page. The same fix was previously done to radius authentication code.

814992f7 05/24/2010 11:43 PM Ermal LUÇI

Use url_redirection even on successful login case if present. Add a redir functionality to portal_reply_page to keep the code centralized.

0eb9b1b4 05/24/2010 10:54 PM Ermal LUÇI

Actually use the radius WISPr(4) attribute 'url_redirection' when present.

27588018 05/24/2010 10:18 PM Ermal LUÇI

Actually match the description and send the wan interface ip as Called-Station-Id on default settings.

9628bd1c 05/24/2010 10:12 PM Ermal LUÇI

Actually use the radius WISPr(4) attribute 'url_redirection' if present.

3bc77cd3 05/22/2010 03:09 AM Scott Ullrich

Do not allow nonstop redirects to self

38080cc1 05/22/2010 02:20 AM Scott Ullrich

Move get_include_contents function to pfsense-utils.inc