comparison xml/syslog2iptables.in @ 29:e16a5fb390fa

make add/remove commands configureable
author carl
date Sun, 12 Feb 2006 11:19:11 -0800
parents 28fec0c67646
children 718e94b6b049
comparison
equal deleted inserted replaced
28:6465d8640489 29:e16a5fb390fa
184 IGNORE := "ignore" "{" IG-SINGLE+ "};" 184 IGNORE := "ignore" "{" IG-SINGLE+ "};"
185 IG-SINGLE := IP-ADDRESS "/" CIDR-BITS ";" 185 IG-SINGLE := IP-ADDRESS "/" CIDR-BITS ";"
186 FILE := "file" FILENAME "{" PATTERN+ "};" 186 FILE := "file" FILENAME "{" PATTERN+ "};"
187 PATTERN := "pattern" REGULAR-EXPRESSION "{" {INDEX | BUCKET}+ "};" 187 PATTERN := "pattern" REGULAR-EXPRESSION "{" {INDEX | BUCKET}+ "};"
188 INDEX := "index" REGEX-INTEGER-VALUE ";" 188 INDEX := "index" REGEX-INTEGER-VALUE ";"
189 BUCKET := "bucket" BUCKET-ADD-INTEGER-VALUE ";"]]></literallayout> 189 BUCKET := "bucket" BUCKET-ADD-INTEGER-VALUE ";"
190 IPT-CMD := string containing exactly one %s replacement token for 190 IPT-CMD := string containing exactly one %s replacement token for
191 the ip address 191 the ip address]]></literallayout>
192 </refsect1> 192 </refsect1>
193 193
194 <refsect1 id='sample.5'> 194 <refsect1 id='sample.5'>
195 <title>Sample</title> 195 <title>Sample</title>
196 <literallayout class="monospaced"><![CDATA[ 196 <literallayout class="monospaced"><![CDATA[