summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>1999-01-19 22:21:44 +0000
committerbrian <brian@cvs.openbsd.org>1999-01-19 22:21:44 +0000
commite3dfaff774e3eb00fb85d39b31f9ef86f5ad1373 (patch)
treee351a264f58e95b9578b3b8829ff55fb8a2f882a
parent4e1ff8a46a6e5a186b6dfd4276131401de72560d (diff)
Change the maximum number of filters from 20 to 40.
Increase requested by: "Clement T. Cole" <clemc@echo.ccc.com>
-rw-r--r--usr.sbin/ppp/ppp/filter.h4
-rw-r--r--usr.sbin/ppp/ppp/ppp.86
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/ppp/ppp/filter.h b/usr.sbin/ppp/ppp/filter.h
index 5b1325c4c06..310e3082b98 100644
--- a/usr.sbin/ppp/ppp/filter.h
+++ b/usr.sbin/ppp/ppp/filter.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: filter.h,v 1.1 1998/08/31 00:22:20 brian Exp $
+ * $Id: filter.h,v 1.2 1999/01/19 22:21:43 brian Exp $
*
* TODO:
*/
@@ -66,7 +66,7 @@ struct filterent {
} opt;
};
-#define MAXFILTERS 20 /* in each filter set */
+#define MAXFILTERS 40 /* in each filter set */
struct filter {
struct filterent rule[MAXFILTERS]; /* incoming packet filter */
diff --git a/usr.sbin/ppp/ppp/ppp.8 b/usr.sbin/ppp/ppp/ppp.8
index 2948d4d20a4..a8b3a137ed2 100644
--- a/usr.sbin/ppp/ppp/ppp.8
+++ b/usr.sbin/ppp/ppp/ppp.8
@@ -1,4 +1,4 @@
-.\" $Id: ppp.8,v 1.13 1999/01/19 22:20:46 brian Exp $
+.\" $Id: ppp.8,v 1.14 1999/01/19 22:21:43 brian Exp $
.Dd 20 September 1995
.nr XX \w'\fC00'
.Os FreeBSD
@@ -1286,7 +1286,7 @@ and represent the TH_ACK, TH_SYN and TH_FIN or TH_RST TCP flags respectively.
.El
.Pp
.It
-Each filter can hold up to 20 rules, starting from rule 0.
+Each filter can hold up to 40 rules, starting from rule 0.
The entire rule set is not effective until rule 0 is defined,
ie. the default is to allow everything through.
.It
@@ -3263,7 +3263,7 @@ Filtering is done prior to any IP alterations that might be done by the
alias engine. By default all filter sets allow all packets to pass.
Rules are processed in order according to
.Ar rule-no .
-Up to 20 rules may be given for each set. If a packet doesn't match
+Up to 40 rules may be given for each set. If a packet doesn't match
any of the rules in a given set, it is discarded. In the case of
.Em in
and