[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933610#action_12933610
 ] 

Vishal K commented on ZOOKEEPER-934:
------------------------------------


How about we reject connection if (sid != OBSERVER_ID && 
!self.viewContains(sid))?

> Add sanity check for server ID
> ------------------------------
>
>                 Key: ZOOKEEPER-934
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-934
>             Project: Zookeeper
>          Issue Type: Sub-task
>            Reporter: Vishal K
>             Fix For: 3.4.0
>
>
> 2. Should I add a check to reject connections from peers that are not
> listed in the configuration file? Currently, we are not doing any
> sanity check for server IDs. I think this might fix ZOOKEEPER-851.
> The fix is simple. However, I am not sure if anyone in community
> is relying on this ability.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to