[ 
https://issues.apache.org/jira/browse/DIRSERVER-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070229#comment-13070229
 ] 

Emmanuel Lecharny commented on DIRSERVER-1636:
----------------------------------------------

For some unknown reason, the KDC server receives a PDU starting with 4 bytes 
which contain the PDU size :
0x00 0x00 0x00 0x86 0x6A 0x81 0x83 0x30 0x81 0x80 0xA1 0x03...

Are we missing something in the protocol?

> Obtaining Kerberos tickets via TCP leads to endless loop
> --------------------------------------------------------
>
>                 Key: DIRSERVER-1636
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1636
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Stefan Seelmann
>            Priority: Critical
>             Fix For: 2.0.0-M2
>
>
> When obtaining Kerberos tickets via *TCP* the server runs into an endless 
> loop. The while loop in 
> org.apache.directory.server.kerberos.protocol.KerberosDecoder.decode() never 
> terminates.
> To reproduce I added a new test class "KerberosTcpITest" in kerberos-test 
> module, just remove the @Ignore.
> Here is the stack: 
> Thread [NioProcessor-5] (Suspended (breakpoint at line 106 in 
> KerberosDecoder))       
>       KerberosDecoder.decode(IoSession, IoBuffer, ProtocolDecoderOutput) 
> line: 106    
>       ProtocolCodecFilter.messageReceived(IoFilter$NextFilter, IoSession, 
> Object) line: 241   
>       DefaultIoFilterChain.callNextMessageReceived(IoFilterChain$Entry, 
> IoSession, Object) line: 434  
>       DefaultIoFilterChain.access$1200(DefaultIoFilterChain, 
> IoFilterChain$Entry, IoSession, Object) line: 46 
>       DefaultIoFilterChain$EntryImpl$1.messageReceived(IoSession, Object) 
> line: 796   
>       
> DefaultIoFilterChain$HeadFilter(IoFilterAdapter).messageReceived(IoFilter$NextFilter,
>  IoSession, Object) line: 119      
>       DefaultIoFilterChain.callNextMessageReceived(IoFilterChain$Entry, 
> IoSession, Object) line: 434  
>       DefaultIoFilterChain.fireMessageReceived(Object) line: 426      
>       NioProcessor(AbstractPollingIoProcessor<S>).read(S) line: 715   
>       NioProcessor(AbstractPollingIoProcessor<S>).process(S) line: 668        
>       NioProcessor(AbstractPollingIoProcessor<S>).process() line: 657 
>       AbstractPollingIoProcessor<S>.access$600(AbstractPollingIoProcessor) 
> line: 68   
>       AbstractPollingIoProcessor$Processor.run() line: 1141   
>       NamePreservingRunnable.run() line: 64   
>       ThreadPoolExecutor.runWorker(ThreadPoolExecutor$Worker) line: 1110      
>       ThreadPoolExecutor$Worker.run() line: 603       
>       Thread.run() line: 679  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to