Re: Individual SSLFilter per connector

2024-02-20 Thread Kishore Mokkarala
@ Valliere I am not available for a week. On Tue, 20 Feb, 2024, 8:59 am Jonathan Valliere, wrote: > @Kishore Mokkarala are you able to test this > branch? https://github.com/apache/mina/compare/2.2.X...bugfix/DIRMINA-1173 > > On Feb 18, 2024 at 2:05:57 PM, Jonathan Valli

Re: Individual SSLFilter per connector

2024-02-17 Thread Kishore Mokkarala
These changes in 2.2.x might have introduced deadlock in conjunction with the state machine. -- M.V.S.Kishore 91-9886412814 On Sat, 17 Feb 2024 at 22:12, Emmanuel Lécharny wrote: > > > On 17/02/2024 16:13, Kishore Mokkarala wrote: > > My u

Re: Individual SSLFilter per connector

2024-02-17 Thread Kishore Mokkarala
of dual-locking > mechanism to ensure that multiple receiver threads to not operate in > parallel. Either way, we have to guarantee a serial processing of incoming > messages. > > The more I think about it the more concerned I am that we’re following a > rabbit down a hole. >

Re: Individual SSLFilter per connector

2024-02-10 Thread Kishore Mokkarala
; No, you should not have to create multiple instances. The > > necessary > > > stateful data is saved to the Connection. > > > > > > > > > On Feb 1, 2024 at 5:22

Re: Individual SSLFilter per connector

2024-02-09 Thread Kishore Mokkarala
t; SSLFilter in conjonction with the StateMachine filter. > > On 09/02/2024 05:33, Jonathan Valliere wrote: > > No, you should not have to create multiple instances. The necessary > > stateful data is saved to the Connection. > > > > > > On Feb 1, 2024 at 5:22:3

Re: Individual SSLFilter per connector

2024-02-01 Thread Kishore Mokkarala
Any response would be greatly appreciated. -- M.V.S.Kishore 91-9886412814 On Wed, 31 Jan 2024 at 22:17, Kishore Mokkarala wrote: > Hi Emmanuel, > > Do we need to create a new instance of SSLFilter per tcp ip connection or >

Individual SSLFilter per connector

2024-01-31 Thread Kishore Mokkarala
Hi Emmanuel, Do we need to create a new instance of SSLFilter per tcp ip connection or can we reuse it ? For example, do we need to repeat the same code for each tcp ip connection ? *Approach 1:* for(int i=0;i< 500;i++) { NioSocketConnector connector = new NioSocketConnector();

Re: Deadlock in Apache mina version 2.2.1

2024-01-12 Thread Kishore Mokkarala
this in later releases ? Regards, -- M.V.S.Kishore 91-9886412814 On Mon, 8 Jan 2024 at 12:48, Kishore Mokkarala wrote: > Also please look at the code.we have custom ssl filter for sending SNI > Host name during SSL handshake and also how we are o

Fwd: Deadlock in Apache mina version 2.2.1

2024-01-07 Thread Kishore Mokkarala
. -- M.V.S.Kishore 91-9886412814 -- Forwarded message - From: Kishore Mokkarala Date: Sun, 7 Jan 2024 at 14:26 Subject: Re: Deadlock in Apache mina version 2.2.1 To: Emmanuel Lécharny Hi Emmanuel, Thanks for your response.Here are the statemechine methods implemented.take a look

Re: Deadlock in Apache mina version 2.2.1

2024-01-03 Thread Kishore Mokkarala
, Kishore Mokkarala wrote: > > Hi Emmanuel, > > Any help would be greatly appreciated. > > -- > > M.V.S.Kishore > > 91-9886412814 > > > > > > On Thu, 28 Dec 2023 at 13:34, Kishore Mokkarala > <mailto:k

Re: Deadlock in Apache mina version 2.2.1

2023-12-29 Thread Kishore Mokkarala
er.getProbeDisplayName()); } return sslEngine; } } I will appreciate your help in advance. -- M.V.S.Kishore 91-9886412814 On Fri, 29 Dec 2023 at 13:38, Kishore Mokkarala wrote: > Hi Emmanuel, > Any help would be greatly appreciated. >

Re: Deadlock in Apache mina version 2.2.1

2023-12-29 Thread Kishore Mokkarala
Hi Emmanuel, Any help would be greatly appreciated. -- M.V.S.Kishore 91-9886412814 On Thu, 28 Dec 2023 at 13:34, Kishore Mokkarala wrote: > > Thanks Emmanuel,I appreciate your quick response. I have one quick > question as you said "*fi

Fwd: Deadlock in Apache mina version 2.2.1

2023-12-28 Thread Kishore Mokkarala
t before > trying to write anything. That means you need to avoid writing anything > until the session_secured event has been handled. > > I wonder if the verifyAndSendStartMsgs should not be sent in > session-secured event rather than in the session-opened... > > >

Re: Deadlock in Apache mina version 2.2.1

2023-12-27 Thread Kishore Mokkarala
rying to write anything. That means you need to avoid writing anything > until the session_secured event has been handled. > > I wonder if the verifyAndSendStartMsgs should not be sent in > session-secured event rather than in the session-opened... > > > On 27/12/2023 17

Re: Deadlock in Apache mina version 2.2.1

2023-12-26 Thread Kishore Mokkarala
wrote: > > Hi, > > > > the problem is most certainly in the StateMachine part. I have to see > > what it does. > > > > On 22/12/2023 17:13, Kishore Mokkarala wrote: > >> *Hi Emmanuel,* > >> * > >> * > >> *Deadlock is happening in

Re: Deadlock in Apache mina version 2.2.1

2023-12-22 Thread Kishore Mokkarala
request); } .... .. } -- M.V.S.Kishore Lead Dev Engineer NetScout S/w Pvt. Ltd. 91-9886412814 On Fri, 22 Dec 2023 at 20:10, Kishore Mokkarala wrote: > >1. > Is the below issue fi

Fwd: Deadlock in Apache mina version 2.2.1

2023-12-21 Thread Kishore Mokkarala
-9886412814 -- Forwarded message - From: Kishore Mokkarala Date: Fri, 22 Dec 2023 at 12:40 Subject: Deadlock in Apache mina version 2.2.1 To: Emmanuel Lécharny , Hi Emmanuel, We are facing deadlock in production with mina 2.2.1 version,earlier it was on 2.0.21, After upgrade only

Re: Apache mina 2.2.1 thread blocking issue.

2023-04-26 Thread Kishore Mokkarala
ed, 26 Apr 2023 at 13:05, Emmanuel Lécharny wrote: > > > On 26/04/2023 09:06, Kishore Mokkarala wrote: > > Hi All, > > I don't know how to create a JIRA, Please share me the link if any. > > First go there, selecting MINA project: > > https://selfserve.apache.org/j

Re: Apache mina 2.2.1 thread blocking issue.

2023-04-25 Thread Kishore Mokkarala
> g10CaptureService.startRecordCapture(searchExpression, > captureHandler, captureId); //connect to the probe again using same thread > 1 instance. > > } > > -- > M.V.S.Kishore > > 91-9886412814 > > > On Tue,

Re: Apache mina 2.2.1 thread blocking issue.

2023-04-25 Thread Kishore Mokkarala
liere wrote: > Please make a Jira. I also need an example to run which reproduces the > error. > > On Tue, Apr 25, 2023 at 6:35 AM Kishore Mokkarala > wrote: > > > Hi, > > I have migrated from 2.0.21 to 2.023 for solving CVE, i have seen thread > > blo

Apache mina 2.2.1 thread blocking issue.

2023-04-25 Thread Kishore Mokkarala
Hi, I have migrated from 2.0.21 to 2.023 for solving CVE, i have seen thread blocking issue, So used latest mina verstion 2.2.1 but still threads were blocked here is the sample code.Thread hungs at awaitUninterruptibly. Once this issue comes in sub sequest launches nothing will work all threads

Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-17 Thread Kishore Mokkarala
)); > > } > > InetSocketAddress peer = (InetSocketAddress) > > session.getAttribute(SslFilter.PEER_ADDRESS); > > // Create the SSL engine here > > if (peer == null) { > > sslEngine = sslFilter.sslContext.createSSLEngine();

Re: Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-14 Thread Kishore Mokkarala
ze the engine in client mode if necessary sslEngine.setUseClientMode(sslFilter.isUseClientMode()); Regards, -- M.V.S.Kishore 91-9886412814 On Wed, 12 Apr 2023 at 23:08, Emmanuel Lécharny wrote: > Hi, > > On 12/04/2023 18:00, Kishore M

Fwd: migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-12 Thread Kishore Mokkarala
pbMessageFilter does. > > On 10/04/2023 13:37, Kishore Mokkarala wrote: > > Hi, > > There was a security vulnerability in mina 2.0.21,So we were migrated > > from apache mina 2.0.21 to 2.0.23,locally in the dev environment > everything > > looks good, but in prod

migration from apache mina 2.0.21 to 2.0.23 issue

2023-04-10 Thread Kishore Mokkarala
Hi, There was a security vulnerability in mina 2.0.21,So we were migrated from apache mina 2.0.21 to 2.0.23,locally in the dev environment everything looks good, but in production we are facing connection timeout issue with the mina version 2.0.23. For connection set up it was taking 10-20