Merge from vendor branch TNF:
[pkgsrcv2.git] / net / ppp-mppe / patches / patch-ah
1 $NetBSD$
2
3 Index: pppd/pppd.8
4 diff -u pppd/pppd.8:1.1.1.5 pppd/pppd.8:1.25
5 --- pppd/pppd.8:1.1.1.5 Tue Aug 24 13:25:40 1999
6 +++ pppd/pppd.8 Tue Aug 24 19:07:45 1999
7 @@ -45,6 +46,24 @@
8  4.4BSD and NetBSD, any speed can be specified.  Other systems
9  (e.g. SunOS) allow only a limited set of speeds.
10  .TP
11 +.B active-filter-in \fIfilter-expression
12 +.TP
13 +.B active-filter-out \fIfilter-expression
14 +Specifies an incoming and outgoing packet filter to be applied to data
15 +packets to determine which packets are to be regarded as link activity,
16 +and therefore reset the idle timer, or cause the link to be brought up
17 +in demand-dialling mode.  This option is useful in conjunction with the
18 +\fBidle\fR option if there are packets being sent or received
19 +regularly over the link (for example, routing information packets)
20 +which would otherwise prevent the link from ever appearing to be idle.
21 +The \fIfilter-expression\fR syntax is as described for tcpdump(8),
22 +except that qualifiers which are inappropriate for a PPP link, such as
23 +\fBether\fR and \fBarp\fR, are not permitted.  Generally the filter
24 +expression should be enclosed in single-quotes to prevent whitespace
25 +in the expression from being interpreted by the shell. This option
26 +is currently only available under NetBSD, and then only
27 +if both the kernel and pppd were compiled with PPP_FILTER defined.
28 +.TP
29  .B asyncmap \fI<map>
30  Set the async character map to <map>.  This map describes which
31  control characters cannot be successfully received over the serial
32 @@ -296,8 +315,8 @@
33  seconds.  The link is idle when no data packets (i.e. IP packets) are
34  being sent or received.  Note: it is not advisable to use this option
35  with the \fIpersist\fR option without the \fIdemand\fR option.
36 -If the \fBactive-filter\fR
37 -option is given, data packets which are rejected by the specified
38 +If the \fBactive-filter-in\fR and/or \fBactive-filter-out\fR
39 +options are given, data packets which are rejected by the specified
40  activity filter also count as the link being idle.
41  .TP
42  .B ipcp-accept-local
43 @@ -664,23 +683,23 @@
44  .B pap-timeout \fIn
45  Set the maximum time that pppd will wait for the peer to authenticate
46  itself with PAP to \fIn\fR seconds (0 means no limit).
47 +.TP
48 +.B pass-filter-in \fIfilter-expression
49  .TP
50 -.B pass-filter \fIfilter-expression
51 -Specifies a packet filter to applied to data packets being sent or
52 -received to determine which packets should be allowed to pass.
53 -Packets which are rejected by the filter are silently discarded.  This
54 -option can be used to prevent specific network daemons (such as
55 -routed) using up link bandwidth, or to provide a basic firewall
56 +.B pass-filter-out \fIfilter-expression
57 +Specifies an incoming and outgoing packet filter to applied to data
58 +packets being sent or received to determine which packets should be
59 +allowed to pass.  Packets which are rejected by the filter are silently
60 +discarded.  This option can be used to prevent specific network daemons
61 +(such as routed) using up link bandwidth, or to provide a basic firewall
62  capability.
63 -The \fIfilter-expression\fR syntax is as described for tcpdump(1),
64 +The \fIfilter-expression\fR syntax is as described for tcpdump(8),
65  except that qualifiers which are inappropriate for a PPP link, such as
66  \fBether\fR and \fBarp\fR, are not permitted.  Generally the filter
67  expression should be enclosed in single-quotes to prevent whitespace
68 -in the expression from being interpreted by the shell.  Note that it
69 -is possible to apply different constraints to incoming and outgoing
70 -packets using the \fBinbound\fR and \fBoutbound\fR qualifiers. This
71 -option is currently only available under NetBSD, and then only if both
72 -the kernel and pppd were compiled with PPP_FILTER defined.
73 +in the expression from being interpreted by the shell.  This option is
74 +currently only available under NetBSD, and then only if both the kernel
75 +and pppd were compiled with PPP_FILTER defined.
76  .TP
77  .B persist
78  Do not exit after a connection is terminated; instead try to reopen