[sr-dev] LCR: defunct_gw() is dangerous

Iñaki Baz Castillo ibc at aliax.net
Wed Dec 28 20:24:21 CET 2011


2011/12/28 Juha Heinanen <jh at tutpro.com>:
> Iñaki Baz Castillo writes:
>
>> Anyhow, it could occur that the request contains a valid SIP header
>> (token: value) but with an invalid grammar (i.e. a P-Asserted-Identity
>> with a wrong URI value). The proxy could not check it (because in some
>> configuration it just ignores such a header) but later the UAS/GW
>> could inspect it and drop the request since the header is invalid (and
>> it could reply a 400 or just drop the request).
>
> where in rfc3261 is it stated that UAS is allowed to drop a request that
> it could respond to (i.e., the request has valid via header).

If the Via header is invalid, then the Proxy/UAS *cannot* reply to the
request, or not in every cases. Theorically the Proxy/UAS replies to a
request based on the information in Via header.

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-dev mailing list