admpf(1M) DG/UX 5.4R3.00 admpf(1M)
NAME
admpf - manage the protocol file
SYNOPSIS
admpf -o add [ -v ] package ...
admpf -o delete [ -iv ] package ...
admpf -o list [ -n ]
admpf -o protocols [ package ... ]
DESCRIPTION
admpf manages the protocol file, /usr/etc/tcpdump.d/pf. The protocol
file consists of information required to recognize and decode
protocol packets. Packages of protocols can be added, listed, and
deleted with this command.
Operations
add Adds one or more packages to the protocol file. Only the
system administrator can perform this operation.
delete Removes one or more packages from the protocol file. Only
the system administrator can perform this operation.
list Lists all packages in the protocol file.
protocols Lists the protocols described in one or more packages.
Options
-i The interface form of the delete operation prompts the user
before removing a package. By default, the user is not
prompted.
-v The verbose form of the add and delete operations prints a
message if the operation completes successfully; otherwise,
nothing is printed unless an error occurs.
-n The negative form of the list operation lists all packages
that are loaded but have not been added to the protocol
file.
EXAMPLES
In these examples, the system administrator performs the following
actions: lists the packages which have been added to the protocol
file; lists the packages which are loaded but have not been added to
the protocol file; adds the package foo-package to the protocol file.
admpf -o list
admpf -o list -n
admpf -o add foo-package
Licensed material--property of copyright holder(s) 1
admpf(1M) DG/UX 5.4R3.00 admpf(1M)
FILES
/usr/etc/tcpdump.d/pf
The protocol file.
DIAGNOSTICS
Warnings
- The add operation is requested but the package has already been
added.
Errors
- The add or delete operation is requested by a non-superuser
process.
- The add operation is requested, but an error is detected in the
package to be added.
Exit Codes
0 The operation was successful.
1 The operation was unsuccessful.
2 The operation failed due to access restrictions.
3 There was an error in the command line.
SEE ALSO
tcpdump(1)
Licensed material--property of copyright holder(s) 2