Create a filter entry in the file /etc/pppfilter.
See the
packetfilter(SFF)
manual page for a description of the format for the filter file.
Perform one of the following actions:
In the Network Configuration Manager's Advanced Options
window for SLIP link configuration, set the
Filter file tag name to match that found in /etc/pppfilter.
Edit the slattach line in /etc/tcp or
the incoming login script to
contain the -pfilter_tag entry, where
filter_tag matches the name of the entry you
created in pppfilter.
NOTE:
Two or more SLIP link configurations may specify the same filter
file entry. Also, a SLIP link may share a filter file
entry with a PPP link.
If the entry contains the bringup or keepup keywords
for use in filtering PPP packets,
SLIP ignores these parts of the entry.
If /etc/pppfilter does not exist or no filter file
entry is specified for a link, then all packets are passed.
Following is an example filter entry:
# tag keyword filter
sample pass !port ntp and !port who and !port timed
The above specification does not allow ntp, who,
and timed packets to pass through the network interface.
For this packet filter to apply to a SLIP link, the tag
``sample'' must be specified on the slattach command
line with the -p option.