sip_method sip_stat_code sip_header sip_body
Syntax
sip_method:<method-list>;
method-list = method|method, method-list
method = ["!"] "invite"|"cancel"|"ack"|"bye"|"register"| "options"\
|"refer"|"subscribe"|"update"|"join"|"info"|"message"\
|"notify"|"prack"
Note: if "!" is used, only one method is allowed in sip_method.
Examples
sip_method:invite, cancel sip_method:!invite Note: If a user wants to use "and", they can use something like this: sip_method:!invite; sip_method:!bye
Syntax
sip_stat_code:<code _list> ; code_list = state_code|state_code, code_list code = "100-999"|"1-9"
Examples
sip_stat_code:200 sip_stat_code: 2 sip_stat_code: 200, 180
Syntax
sip_header;
Examples
alert udp any any -> any 5060 (sip_header; content:"CSeq"; )
Syntax
sip_body;
Examples
alert udp any any -> any 5060 (sip_body; content:"C=IN 0.0.0.0"; within 100;)
alert udp any any -> any 5060 (pcre:"/INVITE/H"; sid:1000000;)
alert udp any any -> any 5060 (pcre:"/m=/P"; sid:2000000;)