Iñaki Baz Castillo wrote:
> Hi, in case a SIP message (i.e. MESSAGE text/plain) contains a very
> long line in the body (a long text with no line breaks), could it
> become a problem?
> 
> Unfortunately I've seen some SIP ALG routers dropping SIP messages if
> they contain long lines in the message body, but I expect that is an
> issue in the SIP ALG router itself.
> 
> Any comment please? Thanks a lot.

crappy implementations.

They need to just get over it and do the right thing.
There is one certainty about the length of lines, headers, parameters, 
etc.: None of them will be any longer than the message as a whole.
If you have managed to read the message so you can parse it, you should 
be able to handle any piece of it without imposing length constraints 
that are not imposed by the syntax.

Of course, in certain cases something may exceed some other 
uncontrollable bound on another part of the system. E.g. If your MESSAGE 
is being gatewayed to SMS which imposes its own limit on how long the 
content can be. But that is a different sort of a problem than an ALG 
barfing on the message.

        Thanks,
        Paul
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to