Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ramond(8) [debian man page]

ramond(8)						      System Manager's Manual							 ramond(8)

NAME
ramond - IPv6 Router Advertisement MONitor Daemon SYNOPSIS
ramond [ -c configfile ] [ -d ] ramond -h DESCRIPTION
This manual page documents briefly the ramond command. ramond is a daemon program monitoring IPv6 router advertisement packets. When an advert is reveived, a configurable action occurs. ramond was designed to "clear" (by sending spoofed zero lifetime adverts) rogue routes sent by users running 6to4 gateways on a campus net- work. Actions are scriptable. Almost all the available information is passed to a script via environmental variables (see the ENVIRONMENT section for details). OPTIONS
The program follows the usual GNU command line syntax, without long options. A summary of options is included below. -c configfile Sets the path to the ramond configuration file. Default is /etc/ramond.conf -d Do not daemonize. -h Show summary of options. FILES
/etc/ramond.conf The system-wide configuration file to control the behaviour of ramond. See ramond.conf(5) for further details. ENVIONMENT
This section details the environment variables set by ramond when it runs a user-configured script. PREFIX The advertised prefix, or null PREFIX_LEN The length of the advertised prefix, or null SOURCE_ADDR The IPv6 source address of the packet SOURCE_MAC The MAC source address of the packet INTERFACE The interface which the packet was received on SEE ALSO
ramond.conf(5) AUTHORS
James Morse <morse_@users.sourceforge.net> Wrote the ramond software. Nicolas Dandrimont <nicolas.dandrimont@crans.org> Wrote this manpage for the Debian system. COPYRIGHT
Copyright (C) 2010 Nicolas Dandrimont This manual page was written for the Debian system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the usual 3-clause BSD license. On Debian systems, the complete text of the 3-clause BSD license License can be found in /usr/share/doc/ramond/copyright. ramond(8)

Check Out this Related Man Page

ramond.conf(5)							File Formats Manual						    ramond.conf(5)

NAME
ramond.conf - Configuration file for ramond(8) DESCRIPTION
This manual page documents briefly the ramond.conf configuration file. ramond.conf is an XML file containing the rules for Router Advertisement processing by ramond(8). The rules are processed in the order they are defined in the file. SYNTAX
One may refer to the DTD given in /usr/share/doc/ramond/examples/ramond.conf.dtd. The root element, <ramond>, contains one optional attribute, logfile, giving the path to the logfile for the daemon. This element may contain one or more <mac-list>s, and one or more <rule>s. The <mac-list> must have a name attribute, and contains one or more <entry>elements. The <rule> may contain a few attributes : prefix An IPv6 prefix used for matching RA packets mac A <mac-list> name used for matching source MAC addresses of the RA packets lifetime This attribute, when having a "0" value, is used for matching routes that are being cleared interface The interface which the RA packet came from The <rule> may contain : o one or more <execute> elements containing the path of the scripts to run when a packet is matched o a <clear/> element, so that the matched route will be cleared by ramond(8) o or no element, indicating an "ignore" rule. ENVIRONMENT
The environment variables the configured scripts are run with are listed in the ramond(8) manpage. EXAMPLE CONFIGURATION FILE
Set the logfile to be /var/log/ramond.log. <ramond logfile="/var/log/ramond.log"> Define a router mac-list. <mac-list name="router"> <entry>00:11:22:33:44:55</entry> <entry>00:22:44:66:88:00</entry> </mac-list> Define a rule checking if the router routes are being cleared. <rule mac="router" lifetime="0"> <execute>/usr/local/sbin/routenotify route-cleared</execute> </rule> Define a rule ignoring our router announcing routes for prefix 2001:dead:cafe:babe::/52. <rule mac="router" prefix="2001:dead:cafe:babe::/52"> <!-- do nothing --> </rule> Clear the 6to4 routes coming on interface eth0. <rule prefix="2002::/16" interface="eth0"> <execute>/usr/local/sbin/routenotify 6to4-advertised</execute> <clear/> </rule> Match on all advertised prefixes <rule prefix="::/0"> <execute>/usr/local/sbin/routenotify route-advertised</execute> </rule> Match on all RA packets (even those not advertising a prefix) <rule> <execute>/usr/local/sbin/routenotify route-advertised</execute> </rule> </ramond> SEE ALSO
ramond(8), /usr/share/doc/ramond/examples for a sample ramond.conf and a sample processing script AUTHORS
James Morse <morse_@users.sourceforge.net> Wrote the ramond software. Nicolas Dandrimont <nicolas.dandrimont@crans.org> Wrote this manpage for the Debian system. COPYRIGHT
Copyright (C) 2010 Nicolas Dandrimont This manual page was written for the Debian system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the usual 3-clause BSD license. On Debian systems, the complete text of the 3-clause BSD license License can be found in /usr/share/doc/ramond/copyright. ramond.conf(5)
Man Page