HP-UX Reference (11i v3 07/02) - 4 File Formats (vol 8)
g
gated.conf(4) gated.conf(4)
BGP global trace options. (See Trace Statements and the BGP specific tracing options below.)
Tracing options
Note that the state option works with BGP, but does not provide true state transition information.
Packet tracing options (which may be modified with detail, send and recv):
packets
All BGP packets
open
BGP OPEN packets which are used to establish a peer relationship.
update
BGP UPDATE packets which are used to pass network reachability information.
keepalive
BGP KEEPALIVE packets which are used to verify peer reachability.
The ICMP Statement
On systems without the BSD routing socket, gated listens to ICMP messages received by the system.
Currently gated only does processing on ICMP redirect packets, but more functionality may be added in the
future, such as support for the router discovery messages. Processing of ICMP redirect messages is handled
by the redirect statement.
Currently the only reason to specify the icmp statement is to be able to trace the ICMP messages that
gated receives.
The ICMP statement
icmp {
traceoptions trace_options ;
}
traceoptions trace_options ;
Specifies the tracing options for ICMP. (See Trace Statements and the ICMP specific tracing options
below.)
Tracing options
Packet tracing options (which may be modified with detail and recv):
packets
All ICMP packets received.
redirect
Only ICMP REDIRECT packets received.
routerdiscovery
Only ICMP ROUTER DISCOVERY packets received.
info Only ICMP informational packets, which include mask request/response, info request/response,
echo request/response and time stamp request/response.
error
Only ICMP error packets, which include time exceeded, parameter problem, unreachable and
source quench.
Redirect Processing
The redirect code is passed ICMP or ISO redirects learned by monitoring ICMP messages, or via the
routing socket on systems that support it. It processes the redirect request and decides whether to accept
the redirect. If the redirect is accepted, a route is installed in the gated routing table with the protocol
redirect. Redirects are deleted from the routing table after 3 minutes.
If GateD determines that a redirect is not acceptable, it tries to figure out if the kernel forwarding table has
been modified. On systems where ICMP messages are monitored this is accomplished by trying to second
guess what the kernel would have done with the redirect. On systems with the routing socket, the kernel
provides and indication of whether the redirect was accepted; GateD ignores redirects that were not pro-
cessed.
158 Hewlett-Packard Company − 31 − HP-UX 11i Version 3: February 2007