UDPLOGGER
Section: Administrator Commands (8)
Updated: 16 Apr 1993
Index
Return to Main Contents
NAME
udplogger - Log start of UDP sessions
SYNONPSIS
udplogger [-i if] [-a|-b] [-f file] [-n]
DESCRIPTION
Udplogger is the UDP equivalent to
tcplogger(8).
It is used to log the UDP sessions that traverse
a network. This is accomplished by putting the network interface
into promiscuous mode and reading all UDP packets. A table is
maintained of all "active" UDP sessions. Only new sessions are
logged. Udplogger currently only runs on SunOS 4.x machines.
OPTIONS
- -i
-
Specify the interface to listen for UDP packets on.
This defaults to the first interface.
- -a
-
Log output records in ASCII.
- -b
-
Log output records in binary for use with the
extract(8)
command.
The format of the record is
-
struct timeval tm; /* Time of request */
u_long ipsrcaddr; /* IP source address */
u_long ipdstaddr; /* IP destination address */
u_long seqno; /* Always zero */
u_short udpsrcport; /* UDP source port */
u_short udpdstport; /* UDP destination port */
- -f
-
Specify the file where output records should go. The file is opened
for appending. If not specified, output goes to stdout.
- -n
-
Don't do any hostname or port name lookups. Print out everything
in decimal or dotted decimal format.
SEE ALSO
nit(4P), nit_pf(4M), extract(8), tcplogger(8)
BUGS
On a busy network, or with a slow machine, packets may be dropped.
Index
- NAME
-
- SYNONPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- SEE ALSO
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 06:36:55 GMT, May 19, 2025