ipcad.conf(5)
| IPCAD.CONF(5) | File Formats Manual | IPCAD.CONF(5) |
NAME
ipcad.conf — ipcad
configuration file
SYNOPSIS
/usr/local/etc/ipcad.conf
DESCRIPTION
The file /usr/local/etc/ipcad.conf
contains configuration information for the
ipcad(8) daemon. The
ipcad.conf file consists of a series of
configuration options describing the interfaces on which
ipcad should be listening and other configuration
data.
Global configuration
capture-ports { enable |
disable };
capture-ports between the appropriate
interface configuration statements.
buffers = <number> [{ k | m }] ;
NOTE: This option has no effect on NetFlow operation.
Interface configuration
interface <face> [promisc]
[input-only] [netflow-sampled] [netflow-disable] [filter
"<pcap_filter>"] ;
Interface options
section below).interface ulog group <group> [,
group <group> ...] [netflow-sampled] [netflow-disable] ;
iptables -A OUTPUT -j ULOG --ulog-nlgroup <group>
Interface options:
promisc: Put interface into promiscuous
mode. This enables listening for the packets which are not destined for this
host and thus ipcad will count and display all the traffic within the local
network. Note that the interface might be in promiscuous mode for some other
reason.
input-only: Use kernel feature of counting
only incoming packets.
NOTE: "input-only" directive must be supported by kernel. Probably, you were noticed about it during the compilation process if it was not supported. FreeBSD 3.x and elder kernels do not support this feature.
netflow-sampled: If the NetFlow export
mechanism is used, this option instructs the interface to supply only one
out of N packets to the NetFlow accounting code, thus lowering the CPU and
memory requirements. The value of N is configured explicitly in a NetFlow
configuration section.
NOTE: This option is NOT used to enable NetFlow on the interface, it just modifies the NetFlow behavior on this interface.
netflow-disable: By default, all
interfaces are included into NetFlow accounting. This option is used to
disable NetFlow accounting on a particular interface.
filter: Install a custom filter on packets
instead of basic IP protocol filter. Requires libpcap (even if BPF is being
used). May be employed to eliminate CPU overhead on passing unnecessary data
between the kernel and user space (by installing the filter directly into
the kernel).
IP aggregation
aggregate <ip>/<masklen> strip
<maskbits>;
aggregate <port_from>-<port_to> into
<port>;
aggregate <port> into
<port>;
RSH server configuration
rsh { enable | disable }
[at <listen_ip>];
rsh [[<user>@]<host_addr>]
[access] ;
- admin Can shutdown ipcad
- backup Can dump/restore/import accounting tables
- default Can view and modify accounting tables
- view-only Can view accounting tables
- deny Deny all activity
rsh ttl = <ttl>;
rsh timeout = <seconds>;
dumpfile = <filename>;
NOTE: This setting has no effect on NetFlow operation. The contents of the flow cache are flushed to the collector upon ipcad termination.
NetFlow export configuration
netflow export destination <collector-ip>
<collector-port>;
netflow export version { 1 |
5 };
netflow export timeout active
<time-minutes>;
netflow export timeout inactive
<time-seconds>;
Other options:
memory_limit = <number> [{ k | m | e
}] ;
chroot = </path>;
uid = <number>;
gid = <number>;
pidfile = <filename>;
SEE ALSO
AUTHORS
Lev Walkin <vlm@lionet.info>
| May 25, 2001 |
