Add a test that checks each individual script can be loaded in bare-mode.

Fixed most @load dependency issues in the process.  The test is still
failing in a "known" way due to hot.conn.bro and scan.bro.

Adressess #545
This commit is contained in:
Jon Siwek 2011-08-10 15:03:14 -05:00
parent 78e69a0bc8
commit 47500ceef4
81 changed files with 203 additions and 50 deletions

View file

@ -1,5 +1,9 @@
##! SQL injection detection in HTTP.
@load base/frameworks/notice/main
@load base/frameworks/metrics/main
@load base/protocols/http/main
module HTTP;
export {
@ -54,4 +58,4 @@ event http_request(c: connection, method: string, original_URI: string,
Metrics::add_data(SQL_ATTACKS, [$host=c$id$orig_h]);
Metrics::add_data(SQL_ATTACKS_AGAINST, [$host=c$id$resp_h]);
}
}
}