For me, "malformed" means any header that doesn't comply with RFC3261 ABNF grammar.
>> the UAS should discard the entire message? If the malformed header is critical (for example, a Via), yes. Otherwise, a proxy should try to forward the message as best as possible and a UA should just ignore the bad header. Regards, Attila -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Iñaki Baz Castillo Sent: 26 March 2008 09:29 To: [email protected] Subject: [Sip-implementors] What is a "malformed header field"? Hi, RFC 3261 says: 8.2.2 Header Inspection If a UAS does not understand a header field in a request (that is, the header field is not defined in this specification or in any supported extension), the server MUST ignore that header field and continue processing the message. A UAS SHOULD ignore any malformed header fields that are not necessary for processing requests. But it doesn't explain what a malformed header is. Is it a header with a wrong value? For example, in the following case is there a malformed header and the UAS should ignore the header o isn't there a malformed header but a incorrect message syntax and the UAS should discard the entire message? INVITE sip:[EMAIL PROTECTED] SIP/2.0 From: <sip:[EMAIL PROTECTED];tag=qweqwe> To: <sip:[EMAIL PROTECTED]> Malforded Header ? : value Content-Length: 10 CRLF <body> Thanks. -- Iñaki Baz Castillo [EMAIL PROTECTED] _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
