Mercurial > routeflapper
view html/rn01re02.html @ 3:4a81cc2da570
fix hourly randomization for unsynch
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 22 May 2008 20:39:52 -0700 |
parents | 48d06780cf77 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>routeflapper.conf</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1" /><link rel="home" href="index.html" title="routeflapper" /><link rel="up" href="index.html" title="routeflapper" /><link rel="previous" href="rn01re01.html" title="routeflapper" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">routeflapper.conf</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01re01.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> </td></tr></table><hr /></div><div class="refentry" lang="en" xml:lang="en"><a id="routeflapper.conf.5"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><a id="name.5"></a><h2>Name</h2><p>routeflapper.conf — configuration file for routeflapper</p></div><div class="refsynopsisdiv"><a id="synopsis.5"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><tt class="command">routeflapper.conf</tt> </p></div></div><div class="refsect1" lang="en" xml:lang="en"><a id="description.5"></a><h2>Description</h2><p>The <span><b class="command">routeflapper.conf</b></span> configuration file is specified by this partial bnf description. The entire config file is case sensitive. All the keywords are lower case. </p><pre class="literallayout"> CONFIG := {FILE}+ FILE := "file" FILENAME "{" PATTERN+ "};" PATTERN := PATH | ANNOUNCE | WITHDRAW | IP PATH := "path" REGEX "{" INDEXPATH '}' ";" ANNOUNCE := "path" REGEX "{" INDEXVAL INDEXLEN '}' ";" WITHDRAW := "path" REGEX "{" INDEXVAL INDEXLEN '}' ";" IP := "path" REGEX "{" INDEXIP '}' ";" INDEXPATH := "index_path" REGEX-INTEGER-VALUE ";" INDEXVAL := "index_value" REGEX-INTEGER-VALUE ";" INDEXLEN := "index_length" REGEX-INTEGER-VALUE ";" INDEXIP := "index_ip" REGEX-INTEGER-VALUE ";"</pre></div><div class="refsect1" lang="en" xml:lang="en"><a id="sample.5"></a><h2>Sample</h2><pre class="literallayout"> file "/var/log/bgp" { path " rcvd UPDATE w.* path (([0-9]| )*[0-9])" { index_path 1; }; announce " rcvd (([0-9]|\.)*)/([0-9]*)$" { index_value 1; index_length 3; }; withdraw " rcvd UPDATE about (([0-9]|\.)*)/([0-9]*) -- withdrawn" { index_value 1; index_length 3; }; }; file "/var/log/maillog" { ip "NOQUEUE: connect from.* \[(.*)\]" { index_ip 1; }; };</pre></div><div class="refsect1" lang="en" xml:lang="en"><a id="version.5"></a><h2>Version</h2><p> 1.0.1 </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01re01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">routeflapper </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>