HP-UX Reference (11i v2 03/08) - 1 User Commands N-Z (vol 2)
p
pppd(1) pppd(1)
Link Compression Options
compress Offer all supported link compression types (currently only Predictor-1) when
negotiating. The default is to propose and accept no link compression type.
compress-pred1
Accept any supported compression type, but prefer Predictor type 1 compres-
sion.
nopred1 Never use Predictor-1 compression.
LOG FILE
Status information is recorded in the log file (
/var/adm/pppd.log
by default) by each copy of pppd
running on a single machine. Each line in the file consists of a message preceded by the date, the time,
and the process ID number of the daemon writing the message. The quantity and verbosity of messages
are controlled with the debug option and with the
log filter (see ppp.Filter (4)).
Each packet that brings up the link (at debug level 1 or more), each packet that matches the
log filter
(at any debug level), or any packet when the debug level is 7 or more writes a one-line description of the
packet to the log file. The first item of the message is the protocol (
tcp, udp, icmp, or a numeric proto-
col value ). For ICMP packets, the keyword
icmp is followed by the ICMP message type and sub code,
separated by slashes. After the protocol comes an IP address and optionally a TCP or UDP port number,
followed by an arrow indicating whether the packet was sent (
->) or received (<-), followed by another
address and port number, followed by the length of the packet in bytes before VJ TCP header compres-
sion, followed by zero or more keywords. For transmitted packets, the first IP address is the source
address, while for received packets, the first IP address is the destination address. Well known TCP and
UDP port numbers will be replaced by the name returned by the
getservbyport()
library function.
The keywords and their meanings are:
frag The packet is a middle or later part of a fragmented IP frame.
syn The packet has the TCP SYN bit set.
fin The packet has the TCP FIN bit set.
bringup The transmitted packet matches the bringup filter and is bringing up the link.
!keepup the packet has been rejected by the keepup filter.
!pass The packet has been rejected by the pass filter.
dial failed The packet was dropped because
pppd is waiting for the call retry timer to expire.
(c) The received packet is VJ TCP header compressed.
(u) The received packet is VJ TCP header uncompressed.
For example, the following log file line
9/6-14:06:26-83 tcp 63.1.6.3/1050 -> 8.1.1.9/smtp 44 syn
indicates that at 2:06:26 PM on September 6, process ID 83 sent a 44-byte TCP packet with the SYN bit
set from port 1050 on 63.1.6.3 to the SMTP port on 8.1.1.9.
SIGNALS
Upon reception of the following signals,
pppd closes and reopens the log file, re-reads the filter and key
files, then takes the indicated actions:
SIGKILL Don’t use this. Never, never use this. Since pppd won’t be able to shut down gracefully,
it will leave your serial interfaces (whether /dev/tty) and your IP tunnel driver in
some unknown state. Use SIGTERM instead, so pppd will shut down cleanly, and leave
the system in a well-defined state.
SIGINT Disconnect gracefully from an active session. If in ‘autocall’ mode, reset the call retry
delay timer and call retry backoff interval. If up was specified, attempt to re-establish
the link. Exit if not in ‘autocall’ mode.
SIGHUP Disconnect abruptly from an active session. If up was specified, attempt to re-establish
the link. Exit if not in ‘autocall’ mode.
SIGTERM Disconnect gracefully from an active session, clean up the state of any serial and IP inter-
faces that are open, then exit.
SIGUSR1 Increment the verbosity level for debugging information written to the log file.
HP-UX 11i Version 2: August 2003 − 5 − Hewlett-Packard Company Section 1−−697