[Interest] QWebSocketServer - server randomly stopsacceptingconnections

Jason H jhihn at gmx.com
Thu Apr 4 21:35:15 CEST 2019


Yes. Gone are the days of security from obscurity. Minutes after standing up a AWS ec2 instance i was getting scanned. Easy way to get rid of most of that is don't be on a common port like 8080, port scans are less frequent but still happen. Also maybe deploy a reverse proxy to validate requests. 

But let's get that patch committed. 

> Sent: Thursday, April 04, 2019 at 8:32 PM
> From: "Jakub Narolewski" <izowiuz at gmail.com>
> To: "Jason H" <jhihn at gmx.com>
> Cc: "interest at qt-project.org" <interest at qt-project.org>
> Subject: RE: [Interest] QWebSocketServer - server randomly stopsacceptingconnections
>
> Quick test and it looks like this is it. When I start my server in SSL mode and spam some ws connections at it I quickly loose ability to connect – even under Windows.
> What’s more, trying to connect to SSL server using ws protocol does not emit any errors on the server side.
> 
> Can situation on my remote test server can be attributed to bots and / or scanners? Our client forces only wss connections, so something else has try to connect to it.
> Well, either this is QTBUG-57026 or some other, completely unrelated thing x]
> 
> Hmm, this could be problematic. Either I will hack Qt sources or will try to use QTcpServer to hack around it.
> 
> 
> From: Jason H
> Sent: 04 April 2019 19:07
> To: Jakub Narolewski
> Cc: interest at qt-project.org
> Subject: Re: RE: [Interest] QWebSocketServer - server randomly stopsacceptingconnections
> 
> Wow, a P1 that was abandoned. https://codereview.qt-project.org/#/c/179030/
>  
> **facepalm** 
>


More information about the Interest mailing list