Syntax of user access rules?

Jan-Oliver Wagner <[email protected]> Thu, 4 Nov 2004 12:58:05 +0100
Newsgroups gmane.comp.security.nessus.devel
Message-ID <[email protected]>
Hi,

I am searching for sepecification of the syntax for
the user access rules. All I found so far is:

fprintf(f, "#\n# Nessus rules\n#\n\n");
fprintf(f, "# Syntax : accept|reject address/netmask\n");
fprintf(f, "\n# Accept to test anything : \n");
fprintf(f, "default accept\n");

in nessusd/rules.c


>From the code I learned that "deny" is a allowed equivalent
to "reject".
And I learned that "default something-else-then-accept"
means some sort of deny.

I guess there is only allowed a single "default" rule?

Furthermore, the GTK client does not allow to remove a rule
in the list. I guess that is a bug?

Any help really appreciated!


So far my idea is to make the GUI for entering rules safe
against wrong syntax (and explain the oppotunties at the same time).
But I need the syntax specification for that.

Best

	Jan
-- 
Jan-Oliver Wagner               http://intevation.de/~jan/

Intevation GmbH                      http://intevation.de/
FreeGIS                                http://freegis.org/
_______________________________________________
Nessus-devel mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus-devel