You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Aaron T. Myers (JIRA)" <ji...@apache.org> on 2014/05/01 17:49:22 UTC
[jira] [Commented] (HDFS-2856) Fix block protocol so that Datanodes
don't require root or jsvc
[ https://issues.apache.org/jira/browse/HDFS-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986686#comment-13986686 ]
Aaron T. Myers commented on HDFS-2856:
--------------------------------------
This makes a lot of sense to me, Chris, and I think is a substantially simpler direction to go. Thanks for looking into this.
One question for you before we proceed much further - correct me if I'm wrong, but I don't think this change can be done in a compatible fashion that would allow rolling upgrades. If I'm correct that that's the case, seems like we should target this issue to be fixed in 3.0.0.
> Fix block protocol so that Datanodes don't require root or jsvc
> ---------------------------------------------------------------
>
> Key: HDFS-2856
> URL: https://issues.apache.org/jira/browse/HDFS-2856
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: datanode, security
> Reporter: Owen O'Malley
> Assignee: Chris Nauroth
> Attachments: Datanode-Security-Design.pdf, Datanode-Security-Design.pdf, Datanode-Security-Design.pdf, HDFS-2856.prototype.patch
>
>
> Since we send the block tokens unencrypted to the datanode, we currently start the datanode as root using jsvc and get a secure (< 1024) port.
> If we have the datanode generate a nonce and send it on the connection and the sends an hmac of the nonce back instead of the block token it won't reveal any secrets. Thus, we wouldn't require a secure port and would not require root or jsvc.
--
This message was sent by Atlassian JIRA
(v6.2#6252)