Project

General

Profile

« Previous | Next » 

Revision 1cf24f0a

Added by Jim Pingle almost 12 years ago

Add independent logging choices to disable logging of bogon network rules and private network rules. Add upgrade code to obey the existing behavior for users (if default block logging was disabled, so is bogon/private rule blocking). Also add a checkbox to disable the lighttpd log for people who don't want their system log spammed by lighty.

View differences:

etc/inc/upgrade_config.inc
3111 3111
	enable_rrd_graphing();
3112 3112
}
3113 3113

  
3114
function upgrade_096_to_097() {
3115
	global $config, $g;
3116
	/* If the user had disabled default block rule logging before, then bogon/private network logging was already off, so respect their choice. */
3117
	if (isset($config['syslog']['nologdefaultblock'])) {
3118
		$config['syslog']['nologbogons'] = true;
3119
		$config['syslog']['nologprivatenets'] = true;
3120
	}
3121
}
3114 3122
?>

Also available in: Unified diff