[Kamailio-Devel] Implrementing draft-sparks-sip-invfix-03 (default behaviour)

Iñaki Baz Castillo ibc at aliax.net
Tue Mar 17 22:35:19 CET 2009


El Martes, 17 de Marzo de 2009, Daniel-Constantin Mierla escribió:
> Hello,
>
> On 03/17/2009 11:26 PM, Iñaki Baz Castillo wrote:
> > Hi, by default Kamailio routes stateless a response without transaction.
> > This behaviour is undesirable according to draft
> > draft-sparks-sip-invfix-03.
> >
> > Please check also this report in which the draft is implemented doing
> > a "drop()" in onreply_route if "t_check_trans()" is false:
> >  
> > https://sourceforge.net/tracker/index.php?func=detail&aid=2690374&group_i
> >d=139143&atid=743023
> >
> > I would like a config option to change the default behaviour: a response
> > with no transaction is dropped instead of forwarded. Where is the code to
> > check? in tm module? sl?
>
> in default onreply route you can use t_check_trans() and if returns
> false then do drop(). Doesn't work for you?

Yes :)
That exactly what I tested in the above URL:
  
https://sourceforge.net/tracker/index.php?func=detail&aid=2690374&group_id=139143&atid=743023

But it requires manual configuration. I think the behaviour defined in the 
draft is good for security and it should be implemented by default in 
Kamailio (without the need of coding it manually), and of course a config 
option to enable it (required in order to work as stateless proxy).

Don't you agree on it?

Regards.



-- 
Iñaki Baz Castillo



More information about the Devel mailing list