|
NAMEipcad.conf —
ipcad configuration file
SYNOPSIS/usr/local/etc/ipcad.confDESCRIPTIONThe 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 configurationcapture-ports { enable | disable
} ;
Make ipcad account for UDP/TCP ports, IP protocol
and ICMP types on a per-interface basis. This setting is relevant for RSH and
interactive export methods only. Capturing UDP and TCP is disabled by default
to maintain historic RSH output format compatibility. To selectively enable
capturing ports on certain interfaces, specify the
capture-ports between the appropriate
interface configuration statements.
Defines a buffer size to use for transferring the
data from the kernel. Using larger buffers may increase the performance by
lowering the number of expensive context switches, whereas using smaller
values improves responsiveness.
NOTE: This option has no effect on NetFlow operation. Interface configurationinterface <face> [promisc] [input-only]
[netflow-sampled] [netflow-disable] [filter "<pcap_filter>"] ;
Listen on specified interface using BPF or PCAP
packet source. (Please refer to the
Interface options
section below).
Use Linux iptables' ULOG interface for packet
capturing. You should configure the iptables to forward the packets into the
appropriate group:
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.
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.
NOTE: This option is NOT used to enable NetFlow on the interface, it just modifies the NetFlow behavior on this interface.
IP aggregationaggregate <ip>/<masklen> strip
<maskbits> ;
Aggregate addresses from the specified network
(<ip>/<masklen>), by AND'ing with specified mask
(<maskbits>). Use of aggregation helps to save memory space and
recomendeed for efficiency.
Aggregate specified UDP/TCP ports range into a
given port number. Use of aggregation helps to save memory space and
recomendeed for efficiency.
RSH server configurationrsh { enable | disable } [at
<listen_ip>];
Enable/disable RSH server (disabled by default).
Optionally, a server's IP address may be specified.
Specifies an rsh access list entry.
access values are:
Keep the IP time to live (TTL) value reasonably low
to lower the possibility of remote attacks. Default is 3. This means that if
you are trying to gather IP accounting from a distant (a few network
"hops", see traceroute(1)) ipcad server using RSH, such
attempts may fail.
Set rsh timeout for the same purpose.
Dump memory table to this file on exit and read on
startup (refer to
ipcad(8)
and read about -s and -r options).
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 configurationnetflow export destination <collector-ip>
<collector-port>;
Enable NetFlow information export to the specified
destination. By default, ipcad does not export NetFlow information.
Specify the NetFlow export format version. By
default, version 5 is used.
Configure the timer to expire active flows after
the given value in minutes.
Configure the timer to expire inactive flows after
the given value in seconds.
Other options:memory_limit = <number> [{ k | m | e }] ;
Defines a memory limit for storing the per-stream
associations. Shortcuts are for kilobytes, megabytes or entries
respectively.
Chroot to this directory before processing.
Set this uid to be safe in the long run. Please
change it if you're aware of the consequences. RSH service will NOT work if
process is not privileged. Default is to not to change privileges.
Set this gid to be safe in the long run. Default is
not to change privileges.
File to keep the process PID in it. ipcad will also
hold a lock. Creation of the PID file is done after chroot()'ing.
SEE ALSOipcad(8).AUTHORSLev Walkin <vlm@lionet.info>
Visit the GSP FreeBSD Man Page Interface. |