HP-UX Reference (11i v1 00/12) - 1 User Commands N-Z (vol 2)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/neqn.1
________________________________________________________________
___ ___
p
pppd(1) pppd(1)
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 protocol
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 compression,
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 key-
words 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 sys-
tem 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.
SIGUSR2 Reset the debugging verbosity level to the base value (1 unless debug 0 was supplied on
the command line).
SIGALRM Take no action except to re-read the filter and key files.
EXAMPLE
To run a pair of daemons on ‘oursystem’, one maintaining a constant link with ‘backbonesystem’ and the
other prepared to initiate outbound calls to a neighboring machine named ‘theirsystem’, add the following to
/sbin/rc2.d/S522ppp
:
if [ -f /etc/ppp/Autostart ]; then
/etc/ppp/Autostart
Section 1−−732 − 5 − HP-UX Release 11i: December 2000
___
___