From 9f6f7312a3d40afbf1a9be5cd339627bd3826cc7 Mon Sep 17 00:00:00 2001 From: Johanna Amann Date: Tue, 1 Mar 2016 14:00:11 -0800 Subject: [PATCH] Subscribe is a valid message per RFC 3265 Addresses BIT-1529 --- scripts/base/protocols/sip/main.bro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/base/protocols/sip/main.bro b/scripts/base/protocols/sip/main.bro index dbe3c54800..dc790ad560 100644 --- a/scripts/base/protocols/sip/main.bro +++ b/scripts/base/protocols/sip/main.bro @@ -80,7 +80,7 @@ export { ## that the SIP analyzer will only accept methods consisting solely ## of letters ``[A-Za-z]``. const sip_methods: set[string] = { - "REGISTER", "INVITE", "ACK", "CANCEL", "BYE", "OPTIONS", "NOTIFY" + "REGISTER", "INVITE", "ACK", "CANCEL", "BYE", "OPTIONS", "NOTIFY", "SUBSCRIBE" } &redef; ## Event that can be handled to access the SIP record as it is sent on @@ -153,7 +153,7 @@ function flush_pending(c: connection) # We don't use pending elements at index 0. if ( r == 0 ) next; - + Log::write(SIP::LOG, c$sip_state$pending[r]); } }