Project

General

Profile

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

# Date Author Comment
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.

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

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

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

Use enable voucher variable

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

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

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

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.

1dbe445a 04/20/2010 06:32 PM Ermal LUÇI

Use tables of ipfw for passthrough mac entries. This makes it scale way better than previously. Fix multiple entries on adding mac through entries automatically after login for the same user. The changes allow even pass through mac to be controlled from the Status->Captiveportal. Use serialize/unserialize on some files that keep temporary information to speed up calculations. Really allow mac passthrough to follow radius rules or time out rules when present.

6ce61a8f 04/20/2010 12:40 AM Ermal LUÇI

Add a new option which allows the admin user to configure CP so that it automatically enters an MAC passthru entry. The MAC is taken from login details and has to be removed manually. Also do improvements on rules handling and pipes. Add some optmizations. Teach the GUI/backend on ip/mac passthrough to configure a bw limit for this entries.

3d5b0001 04/14/2010 09:19 PM Ermal LUÇI

radius.inc already has this includes so do not include them explicitly. This unbreaks the loading of bcmath module since PEAR.inc is not yet included!

2f27dffd 03/17/2010 12:51 AM Ermal LUÇI

Use the ipfw(4) list functionality to reduce rules even more. Add allow rules for accessing pfSense webgui to not lock out operators behind the CP. Remove redundant rule regarding dns. Probably every dns request should be forwarded to the local dns server to not force clients to use the pfSense forwarder!

c6e1b0f5 03/01/2010 10:35 AM Ermal Luçi

Add intermmediate certificate support to CP config page.

a55cdcc0 02/26/2010 05:41 PM Ermal Luçi

Include propper includes.

2ee45728 02/26/2010 05:37 PM Ermal Luçi

Put this code on propper context.

a64c15d8 02/21/2010 05:40 AM Chris Buechler

correct icmptypes so CP IP can be pinged

7c587b9f 12/07/2009 02:49 PM Ermal Luçi

Try to prevent empty interfaces.

483e6de8 11/21/2009 09:08 PM Scott Ullrich

Rework includes/require. This saves about 4 megabytes.
Simplify get_memory(). Tested on mips/i386

6b20b7a8 11/15/2009 11:41 PM Ermal Luçi

Properly correct ipfw rule.

f8fa3dd4 11/15/2009 11:41 PM Ermal Luçi

Revert "Correct ipfw rule."
Error of copy paste

This reverts commit 0f6fdf29a2f31bbf816eb3df33c3f1fc38c8b2a6.

0f6fdf29 11/15/2009 09:16 PM Ermal Luçi

Correct ipfw rule.

dd35bb5a 11/15/2009 05:27 AM Chris Buechler

Not sure why this was changed like this. As is, you couldn't disconnect the first client. I don't see any reason to do it that way, and this is the way it's done in RELENG_1_2

cc125e13 11/15/2009 04:21 AM Chris Buechler

always return the IP address hosting the page, rather than forcing to the hostname, requiring functional DNS name resolution which possibly doesn't exist. Restores 1.2.x behavior where client IP isn't in the same subnet as any CP-enabled interface.

734f3966 11/15/2009 02:10 AM Chris Buechler

actually allow DNS to forwarder. CP is still broken, but this is closer at least.

pointy-hat-to: eri

0bcff7b2 11/11/2009 06:31 PM Ermal Luçi

Allow udp only from/to our local dns server. If wanted pass through can be added.

bbc6768b 11/10/2009 12:51 PM Ermal Luçi

- Should fix captive portal on carps Issue #116
- Should fix the captive portal not working reports and Issue #118
NOTE: Now Captive portal is open on dns so no more is needed to add dns servers to pass through ips.

f6497c7d 09/23/2009 09:37 PM Ermal Luçi

Forward all udp request to port 53(DNS) to our local server. This allows people with other dns configured other than the one in pfSense to still be able to authenticate in the CP.

faebbab3 09/21/2009 08:12 PM Scott Ullrich

Only unload ipfw.ko if it is loaded. Doh

f8315dd0 09/20/2009 02:30 PM Ermal Luçi

set 2/3 are no more used with ipfw.

cbed73fd 09/20/2009 02:25 PM Ermal Luçi

Move the allowed ips to set 1 as well.

98a414a4 09/20/2009 02:23 PM Ermal Luçi

Forward everything to the CP portal page since some people might have proxies in between.

e9e3ef84 09/20/2009 02:22 PM Ermal Luçi

Remove the anti lockout rule on captive portal ruleset this opens a can of worms.

f6fbd03e 09/20/2009 02:20 PM Ermal Luçi

Teach captiveportal code to use the mac in tables functionality. Change the default ruleset to reflect this.

27d07d2d 09/18/2009 01:17 AM Scott Ullrich

It seems upon captive portal startup the captiveportal.db file is not written out until the /etc/rc.prunecaptiveportal script is run. If the Operator decides to visit status -> captive portal right after enabling the service they will be greated with some nasty nasty errors. Silence this nonsense by creating a blank captiveportal.db file right after nuking it.

01d57b8c 09/18/2009 12:11 AM Scott Ullrich

Return NULL when captive portal is not enabled

de752609 09/17/2009 11:04 PM Scott Ullrich

Do not process IPFW rules if captive portal is disabled.

40b48c6c 09/14/2009 05:16 PM Ermal Luçi

Fix multiple radius server handling.

f211aa59 09/13/2009 12:20 PM Ermal Luçi

Flush all tables when restarting/saving a CP configuration.

508e5229 09/13/2009 11:53 AM Ermal Luçi

Before configuring CP make sure that all interfaces are not set for filtering with ipfw. Otherwise some wrong misconfigurations might happen when changing the interface on an active CP config.

523855b0 09/12/2009 07:34 PM Scott Ullrich

Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additions

2d53158f 09/08/2009 08:49 PM Josh Stompro

Spelling and comment formatting changes, no code changes.

93958dab 09/05/2009 04:40 PM Ermal Luçi

Correct typo. Reported-by: stompro(forums:http://forum.pfsense.org/index.php/topic,18841.0.html)

d43ad788 08/24/2009 10:15 PM Scott Ullrich

Merge branch 'master' of git://rcs.pfsense.org/pfsense/nigel-ca-chain into review/master

Conflicts:
etc/inc/certs.inc
etc/inc/upgrade_config.inc

9568c1a1 08/14/2009 05:25 PM Ermal Luçi

Add my copyright.

b3167422 08/14/2009 05:21 PM Ermal Luçi

Forgotten increase of the limit.

f9f71ad3 08/14/2009 05:13 PM Ermal Luçi
  • Convert captive portal rules to use tables. This reduces the number of rules ALOT.
  • Make the peruserbw setting use tables also by taking advantage of the tablearg option.
  • Convert statistics to use the new improvements of ipfw tables merged previously....
cb0a2913 08/13/2009 05:21 PM Ermal Luçi

Use ipfw tables for allowed ips. This reduces the number of rules needed for them and speedups things when this list is big. This simplifies even deleteing an allowed ip from services->captiveportal->allowedips since we just need to remove them from the table.

85250056 08/12/2009 12:40 PM Ermal Luçi

Fix some logic on enabling or disabling ipfw filtering on interfaces.

33056a18 08/12/2009 12:36 PM Ermal Luçi

Readd rule since it makes the policy easier to read.

5bdddd2d 08/11/2009 08:45 PM Ermal Luçi

Reduce some unneeded overhead in CP generated ipfw rules.

8e51cc6a 07/31/2009 02:17 PM Ermal Luçi

Circumvent weirdness of php when unsetting an array members during a loop.

2b0eeeaa 07/31/2009 10:11 AM Ermal Luçi

Add ';' which should make the error page link work again.

889b0934 07/30/2009 10:12 PM Ermal Luçi

Fix a probably php undetermined behaviour of code in php.

619fe0c4 06/30/2009 01:26 PM Ermal Luçi
  • Garbage collect a variable used for lockfile in the CP before but is unuseful now.
  • Rename the dirtyfile variable to voucher_dirtyfile to reduce namespace problems or clashes with other variables.
156487ed 06/30/2009 10:37 AM Ermal Luçi

Fix various issues reported on http://forum.pfsense.org/index.php/topic,8672.0.html.

336e3c1c 06/13/2009 05:24 PM Charlie

Port voucher login ability on CaptivePortal from M0n0Wall.

Various locking fixes are done with the import and this means that as of now pfSense has a better performin/behaving CP than m0n0wall.

29dc1e6e 05/26/2009 06:14 AM Nigel Graham

Added a missing argument in the lighty configuration for captive portal.

2cf6ddcb 05/24/2009 06:36 AM Nigel Graham

Added support for certificate chains to manager so that lighty can deliver them via SSL.

3cfb799d 05/22/2009 03:31 PM Ermal Luçi

Fix ipfw rule syntax.

fca39472 05/22/2009 03:26 PM Ermal Luçi

Fix the rule to actually match on multiple interfaces.

b27f1caf 05/21/2009 11:02 PM Ermal Luçi

Make the CP interface check code more buller proof.

f8b11310 05/21/2009 09:44 PM Ermal Luçi

Make CP multi-interface capable.

a48acf9a 05/14/2009 11:13 AM Ermal Luçi

Use file() function which suits the need better.

2f70eac7 05/13/2009 06:09 PM Ermal Luçi
  • Use file_get_contents its better and process the contents of the file after reading the file.
  • Release the lock before authenticating against radius to allow another request to come in.
    This allows more parallellism in the authentication and speedups the CP login page displaying.
90455aeb 05/09/2009 04:17 AM Ermal Luçi

Correct logic.

10f0a7f0 05/08/2009 07:46 PM Ermal Luçi

Reduce includes.

dedf51a2 05/08/2009 07:38 PM Ermal Luçi

Convert CP to use the new lock/unlock functions.

9befcca7 05/08/2009 07:20 PM Ermal Luçi

Fix a lock leaking on CP.

2b5b6eb4 05/07/2009 07:02 PM Ermal Luçi

Remove from filter load the captive portal module loading and move it to the captive portal functions where is its only place. Keep only the pass rule for the CP webserver will see later on if it can be removed at all.

55f5c311 05/01/2009 11:56 AM Ermal Luçi

Remove duplications.

5940e017 05/01/2009 11:51 AM Ermal Luçi

Schedules are handled by pf(4) now.

a55e9c70 03/30/2009 12:38 AM Ermal Luçi
  • Hide interfaces internals to other code and use the propper interfaces.
    Basically use get_interface*() functions instead of accessing fields like 'ipaddr'/'descr' etc...
  • Make get_interfaces_with_gateway less heavyweight by getting information from the configuration stored in config.xml...
5209079f 12/07/2008 02:34 PM Ermal Luçi

Shaper has no more enable disable functionality.

e4b6b97a 11/11/2008 10:43 PM Ermal Luçi

Refactor ipfw loading.

85a5da13 10/23/2008 09:51 PM Ermal Luçi
  • Rename get_current_wan_address to get_interface_ip
  • Rename get_real_wan_interface to get_real_interface
  • Simplify get_interface_ip by using find_interface_ip which should help in speed to since its using caching. Pointed by billm@
  • Cleanup some code when passing or remove some unused one.
8abb1030 08/12/2008 04:51 PM Scott Ullrich

Remove duplicate function portal_mac_fixed()

60089505 06/18/2008 09:47 PM Ermal Luçi

Restore accidentaly deleted code.

b16c077d 06/18/2008 09:25 PM Ermal Luçi

Interface list improvements.