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

RE: [Q] COPS Error Obj Location



> -----Original Message-----
> From: lbj63112@etri.re.kr [mailto:lbj63112@etri.re.kr]
> 
> Hi.
> 
> According to RFC 2748, two possible locations that COPS Error Obj can 
> be located are COPS CC message and DEC message.
> 
> So, I think that two different error-handling actions are 
> possible when 
> PDP processes REQ message. 
> 
> But I know know in what situation the DEC with Error Obj 
> should be used,
> and in what situation the CC with Error Obj should be used 
> during the REQ
> processing.

[Dave] The only situation specified in the RFC to use the CC + Error during
REQ processing is when there is an authentication failure (bad or missing
integrity, when integrity is enabled)... And that should be your first
processing step. *Really* malformed REQ messages (ie. even the COPS header
is garbled) may also logically result in a CC + Error if they are so
malformed the TCP stream becomes completely un-interpretable. But so will
any COPS message with a bad COPS header, an implementation simply has no
other recourse in this case. 

> 
> Is there any guideline or this is implementation-specific problem?

[Dave] In both cases above, the error should be caught even before REQ
processing begins, so it is safe to assume that all other errors specific
to the REQ processing step will result in a DEC + Error.
> 
> Thank you in advance.
> 
> - - - 
> Byung-Joon Lee, 
> Network Architecture Team of ETRI
> lbj63112@etri.re.kr +82 42 860 1728
> http://oopsla.snu.ac.kr/~bjlee
> 
> 
> 
>