xpra icon
Bug tracker and wiki

Opened 8 years ago

Closed 8 years ago

#130 closed defect (fixed)

Potential DOS

Reported by: Norman Rasmussen Owned by: Antoine Martin
Priority: major Milestone: 0.3
Component: server Version: 0.1.0
Keywords: Cc:

Description

If you connect 20 connections within 10 seconds, and don't send a hello packet, then the server will close the listening socket.

The error is because the listening socket is closed, and instead accept should be called, and the returned socket should be closed instead.

I will attach a proposed fix.

Attachments (1)

ticket-130.patch (1.2 KB) - added by Norman Rasmussen 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Norman Rasmussen

Attachment: ticket-130.patch added

comment:1 Changed 8 years ago by Norman Rasmussen

Component: androidserver

comment:2 Changed 8 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

applied in r872

Note: See TracTickets for help on using tickets.