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

Steven Halaka commented on CASSANDRA-6349:
------------------------------------------

Please also note that handling the protocol magic and version handshake in the 
while loop allows an attacker to open a connection and not send any data, 
preventing any further connections. Prior revisions handled all the handshaking 
in the resulting thread where it might be more appropriate.

> IOException in MessagingService.run() causes orphaned storage server socket
> ---------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6349
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6349
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: cassandra 2.0+
>            Reporter: Steven Halaka
>            Assignee: Mikhail Stepura
>             Fix For: 2.0.3
>
>         Attachments: CASSANDRA-2.0-6349.patch
>
>
> The refactoring of reading the message header in MessagingService.run() vs 
> IncomingTcpConnection seems to mishandle IOException as the loop is broken 
> and MessagingService.SocketThread never seems to get reinitialized.
> To reproduce: telnet to port 7000 and send random data. This then prevents 
> any new or restarting node in the cluster from handshaking with this defunct 
> storage port.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to