Re: [twsocket] SSL problem (server stops receiving data)

2016-02-02 Thread Merijn Bosma
Thanks for the update Angus! Merijn On 2/1/2016 20:42, Angus Robertson - Magenta Systems Ltd wrote: We've hired someone to look into this issue, this resulted in finding the probable cause of this issue, and a fix. It would be great if someone could sort of validate the conclusion and fix. If a

Re: [twsocket] SSL problem (server stops receiving data)

2016-02-01 Thread Angus Robertson - Magenta Systems Ltd
> We've hired someone to look into this issue, this resulted in > finding the probable cause of this issue, and a fix. > It would be great if someone could sort of validate the > conclusion and fix. > If all is OK, how to get these changes into the ICS codebase? Your developer updated a six mont

Re: [twsocket] SSL problem (server stops receiving data)

2016-01-29 Thread Angus Robertson - Magenta Systems Ltd
> We've hired someone to look into this issue, this resulted in > finding the probable cause of this issue, and a fix. > It would be great if someone could sort of validate the > conclusion and fix. > If all is OK, how to get these changes into the ICS codebase? Zip any ICS units and test applic

Re: [twsocket] SSL problem (server stops receiving data)

2016-01-29 Thread Merijn Bosma
Hi All, We've hired someone to look into this issue, this resulted in finding the probable cause of this issue, and a fix. It would be great if someone could sort of validate the conclusion and fix. If all is OK, how to get these changes into the ICS codebase? Thanks, Merijn On 12/8/2015 17

Re: [twsocket] SSL problem (server stops receiving data)

2015-12-08 Thread Angus Robertson - Magenta Systems Ltd
> I really hope someone can take a look at this, maybe confirm if the > problem is reproducible and see if I'm doing something wrong or this is > indeed a problem inside ICS / OpenSSL. Sorry, I will not have any time to investigate for several weeks, or longer. Maybe another volunteer here has

Re: [twsocket] SSL problem (server stops receiving data)

2015-12-08 Thread Merijn Bosma
Hi Angus, I only mentioned the renegotiation because when I found references to that when trying to solve this problem, I'm not sure if this is actually what causes it. I'm not initiating any renegotiation myself, nor have I seen anything about that in the logs. Meanwhile, I haven't been abl

Re: [twsocket] SSL problem (server stops receiving data)

2015-11-25 Thread Angus Robertson - Magenta Systems Ltd
> In short, it seems that OpenSSL can get confused when application > data is sent while it is doing renegotiation itself, if I > understood correctly. > Could this be the problem we are experiencing, or does the ICS > implementation around OpenSSL take this into account? Why would you applicat

Re: [twsocket] SSL problem (server stops receiving data)

2015-11-25 Thread Merijn Bosma
It seems that this issue is triggered when we sent and receive data at the same time. What happens is that we have a client and a server doing answer request, either side can also send data based on a timer, sending that data can trigger this issue. Googling for "OpenSSL full duplex" or simila

Re: [twsocket] SSL problem (server stops receiving data)

2015-11-24 Thread Merijn Bosma
Hi Angus, I agree with what you are saying, but in this case this is not the problem. The only reason this app works like this, is because this seems to be the easiest way to reproduce this same issue which happens in a larger app, which does use a FIFO etc. Log clearly shows that the two rand

Re: [twsocket] SSL problem (server stops receiving data)

2015-11-24 Thread Angus Robertson - Magenta Systems Ltd
> The problem is triggered, when we do two times PostMessage(WM_USER) > in the OnSslHandshakeDone event, expected behavior would be that > the client sends a random number twice, server receives the first, > sends x bytes and term char, client receives it, sends next random > number (3th), serv