Project

General

Profile

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

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

697a51eb 05/20/2008 03:41 PM Ermal Luçi

Actually make the ipfw hook first one.
In multi-WAN case it may not see the packet at all if it is as the last hook.

b1cc2eb2 05/20/2008 03:25 PM Ermal Luçi

Kill the source node too after killing the states.
In multi-WAN case this may matter.

aadf3add 05/20/2008 03:24 PM Ermal Luçi

Leave ipfw hook active on outbound direction it may break accounting.
More through testing is needed fro this.

56735ce3 05/19/2008 10:02 PM Ermal Luçi

Make Captive Portal Multi-Wan safe/compatible.

5bada54e 04/27/2008 09:29 PM Scott Ullrich

Integrate patch sent to m0n0wall-dev by Peter Allgeyer:

we have configured the captive portal to authenticate users against a
Radius server with reauthentication every minute. When using the MAC
Pass-Through feature, we have problems reaching hosts on the WAN side on...

c3214b80 03/03/2008 05:28 AM Scott Ullrich

Ensure lock file is cleared after restart.

Noticed-by: mcrane via forum

36d0358b 12/16/2007 08:43 PM Scott Ullrich

Add product_copyright re-branding support
Add product_copyright_years re-branding support
Add product_website re-branding support
Add product_email re-branding support

Work sponsored-by: Centipede Networks

9d253549 12/16/2007 04:06 AM Scott Ullrich

globals.inc is required so that we use the correct lock file!

258d082a 12/12/2007 10:21 PM Scott Ullrich

Don't forget line breaks!

f56a73f1 12/12/2007 05:45 PM Scott Ullrich

Correctly remove old clients correctly.

Submitted to m0n0wall list by R?nnblom Jan?ke /Teknous

0bd546d3 12/10/2007 06:47 PM Scott Ullrich

Allow pfsync and carp traffic on captive portal.

421f8b5f 12/07/2007 07:42 PM Scott Ullrich

Sometimes when the user enters the hostname of the HTTPs captive portal server it resolves the IP address to $LANIP. Allow access to $LANIP in addition to the $CPIP so that we can speedup captive portal by 10000* in these cases.

1fadb31d 06/09/2007 08:54 PM Scott Ullrich

Unbreak captive portal images.

c5cb3ac2 03/27/2007 09:42 PM Scott Ullrich

Teach the captive portal about time based rules so that it will not unload ipfw from underneath ourselves.

3e1b0033 03/17/2007 07:44 PM Scott Ullrich

Silence eclipse warning and ensure we are using fast cgi on captive portal

68f34650 03/06/2007 12:16 AM Scott Ullrich

wpa_supplicant needs to have access to sending and receiving layer 2 (link layer) packets with two Ethertypes: EAP-over-LAN (EAPOL) 0x888e and RSN pre-authentication 0x88c7. l2_packet.h defines the interfaces used for this in the core wpa_supplicant implementation.

Found from: http://209.85.165.104/search?q=cache:O5NrMslxwKAJ:w1.fi/wpa_supplicant/devel/porting.html+wpa2+0x888e&hl=en&ct=clnk&cd=2&gl=us&client=firefox-a

9a064646 03/03/2007 07:51 PM Scott Ullrich

Restore PPPoE and WPA access through captive portal that was lost in last m0n0 sync.

0d6fa4f4 02/27/2007 05:33 PM Scott Ullrich

Fix Fatal error: Cannot redeclare captiveportal_get_next_ipfw_ruleno() (previously declared in /etc/inc/captiveportal.inc:957) in /etc/inc/captiveportal.inc on line 985

d44bccc7 02/27/2007 04:59 PM Scott Ullrich

Sync w/ m0n0wall

23c4f978 02/27/2007 03:31 PM Scott Ullrich

Sync w/ m0n0wall

84e5047d 12/11/2006 05:10 PM Scott Ullrich

Silence eclipse warnings

7a7abeba 10/20/2006 05:00 PM Scott Ullrich

Remove pf states for client ip when disconnecting from captive portal.

360d815d 10/05/2006 04:06 PM Scott Ullrich

Add missing getVolume() function

856e58a6 10/02/2006 12:51 AM Scott Ullrich

Unbreak radius auth

6d8f4f75 10/01/2006 10:56 PM Scott Ullrich

Duplicate function for compatibility.

920cafaf 09/22/2006 02:39 PM Scott Ullrich

Move helper function to correct area

d99f7864 08/27/2006 10:55 PM Scott Ullrich

Back out last commit

36254e4a 08/24/2006 05:01 PM Scott Ullrich

Carefully sync captive portal against m0n0wall 1.22

684c787e 06/12/2006 01:36 PM Scott Ullrich

Add PPPoE types so that Captive Portal will function with PPPoE Server

ETHERTYPE_PPPOEDISC 0x8863 /* PPP Over Ethernet Discovery Stage /
ETHERTYPE_PPPOE 0x8864 /
PPP Over Ethernet Session Stage */

b9d1d810 06/12/2006 04:16 AM Scott Ullrich

Only allow mac-type 0x888e traffic for WPA. This is a lot better than allowing all layer2.

Thanks Andrew Thompson for the suggestion!

bcd92a92 06/12/2006 01:45 AM Scott Ullrich

Allow WPA + Captive Portal to work. Amazing its taken this long to discover the problem.

5480497a 06/08/2006 08:04 PM Scott Ullrich

Patch from Nick Buraglio

Is there any reason, other than maybe the ssl certificate error that it would cause, that https isn't redirected to the portal by default? I just noticed that this isn't default behavior. It's a feature that I thought would be somewhat handy and I think only would take a simple ipfw change.

bf7e3003 04/13/2006 05:34 PM Scott Ullrich

Unlink old file when setting up elements

9b5a1292 04/07/2006 01:26 AM Scott Ullrich

Honour $maxproc

Found-by: PHPEclipse

63fff79b 02/05/2006 07:53 PM Scott Ullrich

Fix HTTPS captive portal option

Ticket #732

f110b20e 02/02/2006 09:12 PM Scott Ullrich

Use port 8001 for HTTPS

f85166d3 01/31/2006 08:37 PM Scott Ullrich

Symlink captive portal elements over to /var/db/cpelements on bootup and creation/deletion

e263fe9a 01/18/2006 08:00 PM Scott Ullrich

Remove trailing newline