Change the maximum number of filters from 20 to 40.
Increase requested by: "Clement T. Cole" <clemc@echo.ccc.com>
This commit is contained in:
parent
3d091023a7
commit
d9949a3acf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42844
@ -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 */
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user