Chapter7dos
dosrulemodify
Command
Function
Thiscommandisusedtomodifyintrusiondetectionrule.
CommandFormatdosrulemodifyruleid<string>stattype<synflood|udpflo
od|icmpflood|portscan|ipsweep>threshold<number>[log
<yes|no>][action<pass|block>]
Parameter
Description
Parameter
Description
modifyThismodifiesintrusiondetectionrule.
ruleid
ThissetsIDoftheruletobemodified.
commanddosruleshowcanbeusedto
viewidofeachrule.
<string>
ThisisanIDstring.
stattype
Thissetsstatisticstypeofruletobemodified.
synflood|udpflood|ic
mpflood|portscan|i
psweep
Thisisthestatisticstype.Usercangive
choiceaccordingtodemands.
threshold
Thissetsthresholdofstatisticstype.
<number>Thisisonenumber,whichisthethreshold.
logThissetswhethertorecordlog.
yes|noyes:Recordtheeventintolog;no:Donāt
recordtheeventintolog.
action
Itsetswhethertopermitpacketstopass
through.
pass|blockpass:Itindicatespermittingpacketstopass
through;block:Itindicatesdenyingpackets
passingthrough.
dosrulemove
Command
Function
Thiscommandisusedtomoveintrusiondetectionrule.
CommandFormatdosrulemoveid<number1>before<number2>
Parameter
Description
Parameter
Description
<number1>
Thisisonenumber,indicatingIDoftherule
tobemodified.
<number2>
Thisisonenumber,indicatingIDoftherule
tobereferredto.
Command
Illustration
Inintrusiondetection,matchrulesaccordingtoruleids.Usercan
moverulesaccordingtodemands.
ConfidentialandProprietaryInformationofZTECORPORATION77