Skip to content
Commit e6e4d9ed authored by Patrick McHardy's avatar Patrick McHardy
Browse files

netfilter: nf_ct_sip: fix SDP parsing in TCP SIP messages for some Cisco phones



Some Cisco phones do not place the Content-Length field at the end of the
SIP message. This is valid, due to a misunderstanding of the specification
the parser expects the SDP body to start directly after the Content-Length
field. Fix the parser to scan for \r\n\r\n to locate the beginning of the
SDP body.

Reported-by: default avatarTeresa Kang <teresa_kang@gemtek.com.tw>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent 274ea0e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment