Added the "FilterDefaultDeny" directive to allow the user to select whether the default policy of the filter is to allow everything which isn't denied, or to deny everything which isn't allowed.

This commit is contained in:
Robert James Kaes committed 2002-06-07 18:29:41 +00:00
1 parent f47685c861
commit ff56e32e8e
3 files changed
+24 -3

No files matched your search

+2 -1
View File
@@ -1,4 +1,4 @@
/* $Id: scanner.l,v 1.13 2002-05-27 01:52:44 rjkaes Exp $
/* $Id: scanner.l,v 1.14 2002-06-07 18:29:40 rjkaes Exp $
*
* This builds the scanner for the tinyproxy configuration file. This
* file needs to stay in sync with grammar.y. If someone knows lex and yacc
@@ -46,6 +46,7 @@ static struct keyword keywords[] = {
{ "filter", KW_FILTER },
{ "filterurls", KW_FILTERURLS },
{ "filterextended", KW_FILTEREXTENDED },
{ "filterdefaultdeny", KW_FILTER_DEFAULT_DENY },
{ "xtinyproxy", KW_XTINYPROXY },
{ "tunnel", KW_TUNNEL },
{ "upstream", KW_UPSTREAM },