Project

General

Profile

« Previous | Next » 

Revision c8703797

Added by Ermal LUÇI over 14 years ago

Do not write ont rules anymore max-packets. This apparently was done by me in a previous commit, it helps with Ticket #636.

View differences:

etc/inc/filter.inc
1881 1881
		} else
1882 1882
			$aline['flags'] .= "keep state ";
1883 1883

  
1884
		if($noadvoptions == false || $l7_present)
1884
		if($noadvoptions == false)
1885 1885
			if( (isset($rule['source-track']) and $rule['source-track'] <> "") or
1886 1886
			    (isset($rule['max']) and $rule['max'] <> "") or
1887 1887
			    (isset($rule['max-src-nodes']) and $rule['max-src-nodes'] <> "") or
......
1890 1890
			    (isset($rule['max-src-conn-rates']) and $rule['max-src-conn-rates'] <> "") or
1891 1891
			    (isset($rule['max-src-states']) and $rule['max-src-states'] <> "") or
1892 1892
			    (isset($rule['statetimeout']) and $rule['statetimeout'] <> "") or
1893
			    isset($rule['sloppy']) or $l7_present) {
1893
			    isset($rule['sloppy'])) {
1894 1894
					$aline['flags'] .= "( ";
1895 1895
					if (isset($rule['sloppy']))
1896 1896
						$aline['flags'] .= "sloppy ";

Also available in: Unified diff