-A Generate application byte metrics in each audit record.
-b Dump the compiled packet-matching code to stdout and stop. This is used to debug filter
expressions.
-B <addr> Specify the bind interface address for remote access. Acceptable values are IP version 4
addresses. The default is to bind to INADDR_ANY address.
-c <dir> Specify a chroot directory to use after privilege access is complete. Must be super user to
use this option.
-C Run argus in control plane capture mode. This sets the interface packet snap length to capture full
packets, and to enable detailed flow tracking for supported control plane protocols.
-d Run argus as a daemon. This will cause argus to do the things that Unix daemons do and return, if
there were no errors, with argus running as a detached process.
-D <level> Print debug messages to stderr. The higher the <level> the more information printed.
Acceptable levels are 1-8.
-e <value> Specify the source identifier for this argus. Acceptable values are numbers, strings,
hostnames or ip address. Double quotes around the parameter are used to designate the string format.
The longest supported string is 4 characeters long. Be sure and single quote or 'escape' the double
quotes so that the shell doesn't gooble up the delimiters.
This option sets a global Source identifier that can be overriden by specific -i options.
argus -e '"arg1"'
argus -e \"arg2\"
-Edays
Check out a license and cache locally for the specified number of days. Any positive integer is
valid but the license server may impose a limit on this value. If the value is zero (0) or the
option is not specified, a floating license is requested for the duration of the process.
-f When reading packets from a packet capture file, the -f option causes argus to not stop when end of
file is reached, but rather to wait for additional packets to be appended to the input. The -f
option is ignored if the standard input is a pipe, but not if it is a FIFO.
-F Use conffile as a source of configuration information. Options set in this file override any other
specification, and so this is the last word on option values.
-g <group> Specify a group name to change to after privilege access is complete.
-h Print an explanation of all the arguments.
-i <interface> Specify the physical network <interface> to be audited. The default is the first
network interface that is up and running.
The syntax for specifying the interface is the same format used in the argus.conf.5 file. The
optional source id specification can be an IPv4 address, an integer, or a string denoted using
double quotes.
-i interface[/srcid]
-i all[/srcid]
-i dup:en0,en1/"ap01" ( en0 and en1 are in ingress and egress interfaces )
-i bond:en0,en1/2.3.4.5 ( en0 and en1 are bonded interfaces )
-i en0 en1 ( equivalent '-i bond:en0,en1' )
-i dup:[bond:en0,en1],en2/3 ( in this case 3 is the srcid )
-i en0/"en0" -i en1/"en1" ( equivalent '-i ind:en0/srcid,en1/srcid' )
-J Generate packet peformance data in each audit record.
-k<level>
Specify the log level when sending messages to the terminal. The value must be an integer in the
range 0..7. These correspond to the eight syslog levels LOG_EMERG through LOG_DEBUG. The default
level is LOG_WARNING.
-M <secs> Specify the interval in <secs> of argus status records. These records are used to report the
internal status of argus itself. The default is 300 seconds.
-m Provide MAC addresses information in argus records.
-N<packetcount>|<packetrange>
Specify the number of packets to process. You can give an absolute number, or a range with the
syntax "start-stop". Examples are:
-N 27 - read the first 27 packets.
-N 1034-1434 - read 100 packets starting with 1034.
-O Turn off Berkeley Packet Filter optimizer. No reason to do this unless you think the optimizer
generates bad code.
-p Do not set the physical network interface in promiscuous mode. If the interface is already in
promiscuous mode, this option may have no effect. Do this to audit only the traffic coming to and
from the system argus is running on.
-P <portnum> Specifies the <portnum> for remote client connection. The default is to not support
remote access. Setting the value to zero (0) will forceably turn off the facility.
-r<[type:]file[type:]file...>
Read from tcpdump(1),snoop(1) or NLANR'sMoatTimeSequenceHeader (tsh) packet capture files. If
the packet capture file is a tsh format file, then the -t option must also be used. The file "-"
specifies stdin as the source of packets.
The type provides the opportunity to specify what type of packet source to expect and process.
Supported types are '' (default) and 'cisco', where argus will process the payload of packets as
netflow records, when found.
Argus will read from only one input packet file at a time, and will open the files in lexigraphic
order. Care should be taken to ensure that the timestamps in the packets are ordered, or unexpected
behavior may result. If the -r option is specified, argus will not put down a listen(2) to support
remote access.
-R Generate argus records such that response times can be derived from transaction data.
-s <bytes> Specify the packet snaplen.
-S <secs> Specify the status reporting interval in <secs> for all traffic flows.
-t Indicate that the expected packet capture input file is a NLANR'sMoatTimeSequenceHeader (tsh)
packet capture file.
-Ttimescale
Specify a playback timescale for realtime processing of input packets.
-u <user> Specify an account name to change to after privilege access is complete.
-U Specify the number of user bytes to capture.
-w <file | stream ["filter"]> Append transaction status records to output-file or write records to the
URL based stream. Supported stream URLs are 'argus-udp://host[:port]', where the default port is
561. An output-file of '-' directs argus to write the resulting argus-file output to stdout.
-X Clear existing argus configuration. This removes any initialization done prior to encountering this
flag. Allows you to eliminate the effects of the /etc/argus.conf file, or any argus.conf files that
may have been loaded.
-Z Collect packet size information. This options turns on packet size reporting for all flows. Argus
will provide the mean, max, min and standard deviation of the packet sizes seen during the flow
status interval.
expression
This tcpdump(1) expression specifies which transactions will be selected. If no expression is
given, all transactions are selected. Otherwise, only transactions for which expression is `true'
will be dumped. For a complete expression format description, please refer to the tcpdump(1) man
page.