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/
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/