Project

General

Profile

« Previous | Next » 

Revision f9f71ad3

Added by Ermal Luçi almost 16 years ago

  • 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.
  • Make the limit of users allowed around 25000 instead of 9999 of before.

NOTE: The only thing remaining for full optimization on ipfw(4) side is converting passthrumac and layer2 secure rules to tables aswell.

View differences:

usr/local/www/status_captiveportal.php
71 71
foreach ($cpcontents as $cpcontent) {
72 72
	$cpent = explode(",", $cpcontent);
73 73
	if ($_GET['showact'])
74
		$cpent[5] = captiveportal_get_last_activity($cpent[1]);
74
		$cpent[5] = captiveportal_get_last_activity($cpent[2]);
75 75
		$cpdb[] = $cpent;
76 76
}
77 77
if ($_GET['order']) {

Also available in: Unified diff