Mercurial > routeflapper
comparison man/routeflapper.conf.5 @ 0:48d06780cf77
initial version
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 13 May 2008 14:03:10 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:48d06780cf77 |
---|---|
1 .\"Generated by db2man.xsl. Don't modify this, modify the source. | |
2 .de Sh \" Subsection | |
3 .br | |
4 .if t .Sp | |
5 .ne 5 | |
6 .PP | |
7 \fB\\$1\fR | |
8 .PP | |
9 .. | |
10 .de Sp \" Vertical space (when we can't use .PP) | |
11 .if t .sp .5v | |
12 .if n .sp | |
13 .. | |
14 .de Ip \" List item | |
15 .br | |
16 .ie \\n(.$>=3 .ne \\$3 | |
17 .el .ne 3 | |
18 .IP "\\$1" \\$2 | |
19 .. | |
20 .TH "ROUTEFLAPPER.CONF" 5 "2008-04-12" "" "" | |
21 .SH NAME | |
22 routeflapper.conf \- configuration file for routeflapper | |
23 .SH "SYNOPSIS" | |
24 .ad l | |
25 .hy 0 | |
26 .HP 18 | |
27 \fBrouteflapper\&.conf\fR | |
28 .ad | |
29 .hy | |
30 | |
31 .SH "DESCRIPTION" | |
32 | |
33 .PP | |
34 The \fBrouteflapper\&.conf\fR configuration file is specified by this partial bnf description\&. The entire config file is case sensitive\&. All the keywords are lower case\&. | |
35 | |
36 .nf | |
37 | |
38 CONFIG := {FILE}+ | |
39 FILE := "file" FILENAME "{" PATTERN+ "};" | |
40 PATTERN := PATH | ANNOUNCE | WITHDRAW | IP | |
41 PATH := "path" REGEX "{" INDEXPATH '}' ";" | |
42 ANNOUNCE := "path" REGEX "{" INDEXVAL INDEXLEN '}' ";" | |
43 WITHDRAW := "path" REGEX "{" INDEXVAL INDEXLEN '}' ";" | |
44 IP := "path" REGEX "{" INDEXIP '}' ";" | |
45 INDEXPATH := "index_path" REGEX\-INTEGER\-VALUE ";" | |
46 INDEXVAL := "index_value" REGEX\-INTEGER\-VALUE ";" | |
47 INDEXLEN := "index_length" REGEX\-INTEGER\-VALUE ";" | |
48 INDEXIP := "index_ip" REGEX\-INTEGER\-VALUE ";" | |
49 .fi | |
50 | |
51 .SH "SAMPLE" | |
52 | |
53 .nf | |
54 | |
55 file "/var/log/bgp" { | |
56 path " rcvd UPDATE w\&.* path (([0\-9]| )*[0\-9])" { | |
57 index_path 1; | |
58 }; | |
59 announce " rcvd (([0\-9]|\\\&.)*)/([0\-9]*)$" { | |
60 index_value 1; | |
61 index_length 3; | |
62 }; | |
63 withdraw " rcvd UPDATE about (([0\-9]|\\\&.)*)/([0\-9]*) \-\- withdrawn" { | |
64 index_value 1; | |
65 index_length 3; | |
66 }; | |
67 }; | |
68 | |
69 file "/var/log/maillog" { | |
70 ip "NOQUEUE: connect from\&.* \\[(\&.*)\\]" { | |
71 index_ip 1; | |
72 }; | |
73 }; | |
74 .fi | |
75 | |
76 .SH "VERSION" | |
77 | |
78 .PP | |
79 1\&.0\&.1 | |
80 |