r2 - 06 Feb 2007 - 11:05:21 - ChristianFoliniYou are here: TWiki >  Main Web > Task20Start

Task20Start - Generate ruleset

See TasksExplained? for more infos about tasks. This task is based on the template at TaskTemplateStart

Status : closed
Category : gui
Date opened : 2007-02-05
Description : Generate ruleset
Referenced in stories/tasks : WebStatistics Story7Start
Testsuite : test/functional/rules_generator_test.rb
Commited revision : 85

Remarks :
Generate a ruleset based on the requests in the request list. Save the ruleset to a file. Return filename.


Changelog

2007-02-06 - done

The ruleset is generated and written to rulesfile.conf

So far a rule looks as follows:

# allow: GET /index.html
SecRule REQUEST_METHOD "^GET$" "chain,allow,nolog,id:1"
SecRule REQUEST_URI "\/index\.html"

There is a prepend-file and an append-file that is taken locally and included into the ruleset.
Filename: prepend-file.conf, append-file.conf

The test runs over all the requests in the database and examines every request in the ruleset closely.

TaskStati
TaskStatus? closed
Task-Categories gui
Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
Main.TaskTemplateStart moved from Main.TaskTemplate on 19 Jan 2007 - 12:41 by ChristianFolini
 

No permission to view WebTopBar?

No permission to view WebBottomBar?