[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sip] Questions on Max-Forwards



<Sorry, did a Reply instead of Reply All>

Hi,

>    Alternatively, a server receiving an OPTIONS request with a
Max-
>    Forwards header field value of 0 MAY respond to the request
>    regardless of the Request-URI.
>
> Does it mean that a proxy may send 483 instead of 200?

No, it means that Proxy should send 200 for OPTIONS, even though
the
R-URI doesn't belong to the Proxy.

> What if the value of Max-Forwards is outside the permitted
range
> 0-255?  Should a 400 response be sent?

As per section 16.3 Request Validation, sub-section 3
Max-Forwards check,

"If the request contains a Max-Forwards header field with a
field value
greater than zero, the check is passed."

So ..

For positive values :

I think the Proxy should set it to "69", as if it received it
with a
value "70", and forward the request.

For negative values :

It should send 400 Bad Request.

Best Regards
Ajit

Loh Kok Jeng wrote:

> Hi,
>
> Thanks for your reply.  Section 11 says:
>
>    Alternatively, a server receiving an OPTIONS request with a Max-
>    Forwards header field value of 0 MAY respond to the request
>    regardless of the Request-URI.
>
> Does it mean that a proxy may send 483 instead of 200?
>
> What if the value of Max-Forwards is outside the permitted range
> 0-255?  Should a 400 response be sent?
>
> regards,
> KJ Loh
>
> > -----Original Message-----
> > From: Krishna, Samaga [mailto:samaga.krishna@intel.com]
> > Sent: Wednesday, October 23, 2002 5:53 PM
> > To: 'Loh Kok Jeng'; sip@ietf.org
> > Subject: RE: [Sip] Questions on Max-Forwards
> >
> >
> > Hi Loh,
> >  If proxy receives a request with Max-Forward : 1, the proxy
> > will decrement
> > the count and forward the message.
> > If proxy receives the request with Max-Forward: 0, it should
> > not forward the
> > request. It shall send 483 response. If the request is for
> > OPTIONS, proxy
> > will act as final recipient and respond to it as in the RFC
> > 3261 section 11.
> >
> >
> > have a nice day
> > Prasanna
> >
> >
> >
> > -----Original Message-----
> > From: Loh Kok Jeng [mailto:kokjeng.loh@siemens.com]
> > Sent: Wednesday, October 23, 2002 1:00 PM
> > To: sip@ietf.org
> > Subject: [Sip] Questions on Max-Forwards
> >
> >
> > Dear all,
> >
> > If a valid SIP message with "Max-Forwards: 1" is received by
> > a proxy, should
> >
> > the proxy decrement Max-Forwards and forward it, or should it
> > respond with
> > 483?
> >
> > Likewise, how should the proxy handle a message with with
> > Max-Forwards: 0
> > or a negative value?
> >
> > regards,
> > KJ Loh
> > _______________________________________________
> > Sip mailing list  https://www1.ietf.org/mailman/listinfo/sip
> > This list is for NEW development of the core SIP Protocol
> > Use sip-implementors@cs.columbia.edu for questions on current sip
> > Use sipping@ietf.org for new developments on the application of sip
> >
> _______________________________________________
> Sip mailing list  https://www1.ietf.org/mailman/listinfo/sip
> This list is for NEW development of the core SIP Protocol
> Use sip-implementors@cs.columbia.edu for questions on current sip
> Use sipping@ietf.org for new developments on the application of sip

*********************************************************
Disclaimer

This message (including any attachments) contains 
confidential information intended for a specific 
individual and purpose, and is protected by law. 
If you are not the intended recipient, you should 
delete this message and are hereby notified that 
any disclosure, copying, or distribution of this
message, or the taking of any action based on it, 
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com


_______________________________________________
Sip mailing list  https://www1.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sipping@ietf.org for new developments on the application of sip