diff options
author | brian <brian@FreeBSD.org> | 1999-01-19 22:16:02 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-01-19 22:16:02 +0000 |
commit | 8213829f4c94453a17ce5c06b84588ba3de4277f (patch) | |
tree | 88bd71b82cb531c3306e26f15486631533acdf6b /usr.sbin | |
parent | e3154acbf8599eb7d03ff113c0b5a267b683c803 (diff) | |
download | FreeBSD-src-8213829f4c94453a17ce5c06b84588ba3de4277f.zip FreeBSD-src-8213829f4c94453a17ce5c06b84588ba3de4277f.tar.gz |
Change the maximum number of filters from 20 to 40.
Increase requested by: "Clement T. Cole" <clemc@echo.ccc.com>
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/filter.h | 4 | ||||
-rw-r--r-- | usr.sbin/ppp/ppp.8 | 6 | ||||
-rw-r--r-- | usr.sbin/ppp/ppp.8.m4 | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/ppp/filter.h b/usr.sbin/ppp/filter.h index f96af40..0505e7d 100644 --- a/usr.sbin/ppp/filter.h +++ b/usr.sbin/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.11.2.7 1998/05/01 19:24:30 brian Exp $ + * $Id: filter.h,v 1.12 1998/05/21 21:45:16 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.8 b/usr.sbin/ppp/ppp.8 index f10a62a..31d1209 100644 --- a/usr.sbin/ppp/ppp.8 +++ b/usr.sbin/ppp/ppp.8 @@ -1,4 +1,4 @@ -.\" $Id: ppp.8,v 1.140 1999/01/11 15:05:39 brian Exp $ +.\" $Id: ppp.8,v 1.141 1999/01/19 22:15:41 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 diff --git a/usr.sbin/ppp/ppp.8.m4 b/usr.sbin/ppp/ppp.8.m4 index f10a62a..31d1209 100644 --- a/usr.sbin/ppp/ppp.8.m4 +++ b/usr.sbin/ppp/ppp.8.m4 @@ -1,4 +1,4 @@ -.\" $Id: ppp.8,v 1.140 1999/01/11 15:05:39 brian Exp $ +.\" $Id: ppp.8,v 1.141 1999/01/19 22:15:41 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 |