Project

General

Profile

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

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

3e789a8b 01/15/2006 03:18 AM Scott Ullrich
  • Eliminate dead code
  • Fix warnings and errors found by eclipse
556d59be 01/15/2006 01:47 AM Scott Ullrich

Use correct variable. Caught with eclipse.

23a0c341 01/05/2006 03:48 AM Scott Ullrich

Kill correct pid

0bd34ed6 01/04/2006 01:49 AM Scott Ullrich

Sync w/ m0n0wall 1.21

40b9f8c0 12/15/2005 07:25 PM Scott Ullrich

Setup captive portal for HTTPS when enabled.

Ticket #732

eb0f441c 12/03/2005 07:40 PM Scott Ullrich

Fix captive portal redirects now that we are using LightHTTPD

c54d236c 12/03/2005 06:08 PM Scott Ullrich

Correctly detect captive portal on optional interfaces

672a863c 11/29/2005 06:48 AM Scott Ullrich

Correct (cert key) order

877ac35d 11/26/2005 10:06 PM Scott Ullrich

Use Lighty. Hopefully it's here to stay, and mini_httpd is dead, jim.

14d2d21b 11/21/2005 01:28 AM Scott Ullrich
  • Center continue button
  • <p> in between default text and login box
a515d275 11/21/2005 01:19 AM Scott Ullrich

While here, cleanup default captive portal page quite a bit.

d66bb68a 11/21/2005 01:16 AM Scott Ullrich

Compare upper case interface names

656da874 11/21/2005 01:10 AM Scott Ullrich

No need for 2 continue buttons. Zap the second.

657f3f15 11/07/2005 06:44 AM Scott Ullrich

remove allow

bf97d72a 11/07/2005 06:29 AM Scott Ullrich

remove ipfw

181a843c 11/07/2005 06:25 AM Scott Ullrich

Allow nat redirects to function

Ticket #651

407a29ca 10/31/2005 10:15 PM Scott Ullrich

Change to a pfsense page which includes a username and password

5d61b44e 09/27/2005 06:33 PM Scott Ullrich

We need to keep-state on the allowed MAC address rules.

ea89d454 09/27/2005 06:01 PM Scott Ullrich

Allow src and dst mac's

12249cad 09/27/2005 05:20 PM Scott Ullrich

Correctly add the mac pass through rule

b0c76a0c 09/27/2005 05:16 PM Scott Ullrich

Correctly add the mac pass through rule

ff5df1a0 09/27/2005 05:05 PM Scott Ullrich

Skip to rule 65535 since its the last allow all from any to any rule

1de584c9 09/27/2005 05:00 PM Scott Ullrich

pass through mac entries should always exist. the reason
for this is because we do not have native mac address filtering
mechanisms. this allows us to filter by mac address easily
and get around this limitation. I consider this a bug in
m0n0wall and pfSense as m0n0wall does not have native mac...

84506d9a 09/23/2005 03:43 AM Scott Ullrich

No fast-cgi.

c6c92abf 09/23/2005 03:36 AM Scott Ullrich

Go back to mini_httpd but keep maximum processes

7bde0bb1 09/22/2005 10:40 PM Scott Ullrich

Full path to ipfw

aebf0ded 09/22/2005 10:39 PM Scott Ullrich

Allow pfsync and carp traffic.

f644c0d4 09/21/2005 03:18 AM Scott Ullrich

FAST_CGI is reporting false client ip's. Switch back to non-fastcgi.

44223dc4 09/20/2005 10:12 PM Scott Ullrich

Round memory sizes down. Make consistent.

Ticket #540

c5152059 09/20/2005 09:49 PM Scott Ullrich
  • same changes from [6378] to the changes adopted in [6297]
  • cleanup comments

Ticket #540

2cd9e4df 09/19/2005 09:37 PM Scott Ullrich

Be more conservative on the number of fast-cgi processes

dfd77543 09/19/2005 09:29 PM Scott Ullrich

Be more conservative on the number of fast-cgi processes

4edb490d 09/18/2005 08:36 PM Scott Ullrich

Turn off fast cgi on memory strapped systems

9c6d5f1d 09/18/2005 05:34 AM Scott Ullrich

Pass correct parms

27f58699 09/18/2005 05:16 AM Scott Ullrich
  • Introduce get_memory() which returns amount of memory in the machine
  • Use memory to control how many processes will be running and waiting for captive portal authenticaion
ba59730f 09/18/2005 02:26 AM Scott Ullrich

Allow setting of max fast-php children

cc76d459 09/18/2005 02:24 AM Scott Ullrich

Minor nit-picks

3a66b621 09/18/2005 02:21 AM Scott Ullrich
  • Additional tuning parms
  • Support captive portal SSL
b701357d 09/18/2005 02:17 AM Scott Ullrich

Convert captive portal over to Lighty.

Many benfits:

  • No longer forking web server
  • No longer a 16 user simultaneous login limit
  • Fast PHP will make it fly!
61b040ce 09/12/2005 07:37 PM Scott Ullrich

Reset back to pfSense state

3db19cf1 09/12/2005 06:56 PM Scott Ullrich

Sync with m0n0wall 1.2b9's captiveportal.

2336008e 08/13/2005 04:40 PM Bill Marquette

spello

2631018f 08/13/2005 04:39 PM Bill Marquette

Spello in comments

f666442a 08/01/2005 12:25 AM Scott Ullrich

Fix a XXX

4dbc75b9 07/31/2005 01:49 AM Scott Ullrich

Add reverse captive portal feature.

427d205b 07/15/2005 08:25 PM Scott Ullrich
  • Remove debugging echo.
  • ruleno should now be the ip.
9420e0c4 07/10/2005 12:48 AM Scott Ullrich

Typo

94f0b2b9 07/09/2005 11:52 PM Scott Ullrich

Do not run expiretable if timeout == 0

ecfc831a 07/09/2005 11:47 PM Scott Ullrich

Correctly output table contents

6d17beb0 07/09/2005 11:43 PM Scott Ullrich

We're already calculating for *60

a4004399 07/09/2005 11:41 PM Scott Ullrich

Correctly utilize expiretable

ea44537a 07/09/2005 11:18 PM Scott Ullrich

expiretable takes seonds as argument. Times the minute count * 60

c2e859c4 07/09/2005 10:48 PM Scott Ullrich

Use the expiretable utility and pfctl to deterimine when a client has timed out

669e1adb 07/04/2005 09:00 PM Bill Marquette

Various code cleanups and a few actual bugfixes courtesy of Zend

47ab6687 07/03/2005 07:15 PM Scott Ullrich

Correct usage of arp.

00b20405 06/03/2005 11:01 PM Scott Ullrich

Actually disconnect a user correctly

0e7427da 05/29/2005 05:21 AM Scott Ullrich

Enforce hard timeouts