Convert more redef-able constants to runtime options

This commit is contained in:
Daniel Thayer 2018-08-24 16:05:44 -05:00
parent 4912513517
commit 01a899255e
36 changed files with 72 additions and 72 deletions

View file

@ -33,7 +33,7 @@ export {
};
## DOS and NT status codes that indicate authentication failure.
const auth_failure_statuses: set[count] = {
option auth_failure_statuses: set[count] = {
0x052e0001, # logonfailure
0x08c00002, # badClient
0x08c10002, # badLogonTime
@ -46,7 +46,7 @@ export {
0xC0000070, # INVALID_WORKSTATION
0xC0000071, # PASSWORD_EXPIRED
0xC0000072, # ACCOUNT_DISABLED
} &redef;
};
}
redef DPD::ignore_violations += { Analyzer::ANALYZER_NTLM };
@ -129,4 +129,4 @@ event connection_state_remove(c: connection) &priority=-5
{
Log::write(NTLM::LOG, c$ntlm);
}
}
}