HP-UX Reference (11i v3 07/02) - 4 File Formats (vol 8)
r
ramd.conf(4) ramd.conf(4)
If ramd is configured to reject redirects, that is if
noredirect option is specified in the redirect
configuration statement, it checks whether the kernel routing table is modified by the redirect message. If
the kernel routing table is modified,
ramd deletes the redirect route and restores the previous route that
was modified by the redirect message. By default,
ramd ignores the redirect messages. ramd handles the
redirect message only when the
redirect configuration statement is specified in the
/etc/ramd.conf
configuration file.
The
redirect configuration statement does not prevent the system from sending redirects, but only from
listening to them.
The syntax of the redirect configuration statement is:
redirect {
[preference preference-value
;]
[
interface list-of-interfaces [
noredirect ];
]
[
trustedgateway
gateway-list;]
};
where the following means:
preference preference-value
;
Specifies the preference value for the redirect routes. By default, preference value is 30.
interface list-of-interfaces
Specifies the list of interfaces through which ramd receives the redirect message.
noredirect
Specifies ramd to ignore the redirect message received through this interface.
trustedgateway gateway-list;
Specifies the list of gateways from which RAMD has to accept redirect message. If this configuration
statement is specified, RAMD ignores the redirect message from a gateway which is not specified in
this list of gateways. By default, RAMD accepts redirect message from all the directly connected gate-
ways on the shared network.
Martians Configuration Statement
Martians configuration statement specifies a list of invalid addresses and all routing information from these
addresses is ignored. A misconfigured system sends out invalid destination addresses. These invalid
addresses are called martians. The ramd daemon rejects these invalid addresses.
The syntax of the martians configuration statement is:
martians {
[host host-address [allow];]
[prefix prefixlength [allow];]
[default [allow];]
};
This configuration statement allows additions to the list of martian addresses. See the section Route Filter
Configuration Statement below for more information on specifying ranges. Specify the
allow option to
explicitly allow a subset of a range that was disallowed. The configuration file accepts only one
martians
configuration statement.
Route Filter Configuration Statement
The route filter configuration statement specifies a method to group list of network and host addresses.
The RAMD configuration file configures route filtering.
A route_filter definition can have multiple hosts and prefixes listed.
This route filter can be specified in export and import configuration statements and are referred by
names.
The syntax of the route_filter configuration statement is:
route_filter filter-name {
[prefix prefixlength;]
[host host-address;]
[all;]
};
HP-UX 11i Version 3: February 2007 − 5 − Hewlett-Packard Company 343