Technical article 109528

Example SCO PPP from Morning Star Filter file for dynamic bringup links.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

I have an outgoing PPP link configured, and I want the link to be
a "dynamic bringup" link.  That is, I want the link to come up
and stay active only when there is meaningful outgoing traffic.
For example, I want the link brought up and kept up when there is
an outgoing FTP request, HTTP traffic (web browsing), or something
like a telnet or ping to some remote destination.  I don't want
the link brought up for DNS or routing updates, ICMP messages, and
so on.

Solution

You will need to adjust your /usr/lib/mstppp/Filter file slightly. The following file will block most non-essential packets:

# Filter - PPP configuration file binding packet types to actions.
# The "default" filter will be used if no filter has been found earlier
# in the file which matches the current interface
default bringup !ntp !3/icmp !5/icmp !11/icmp !who !route !domain !69/udp
                !488/tcp !488/udp !60000/udp
        keepup  !send !ntp !3/icmp !5/icmp !11/icmp !who !route
        pass    all

After making these changes, you must either stop and restart pppd, or reboot the machine.

Your machine may have other network services configured, some of
which you may want to block.  For example, if you wanted to block
outgoing mail from bringing up the link, you could add "!25/tcp"
(since SMTP only uses TCP packets) to the bringup line as well.

See also

ppp.Filter(MST_PPP) and pppd(MST_PPP) manual pages.

From the Xinuos technical article database, record 109528. Reproduced with permission. The original is at www.sco.com/ta/109528, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.