Skip to content

Reject port ranges in discovery.seed_hosts#41905

Merged
DaveCTurner merged 1 commit intoelastic:7.xfrom
DaveCTurner:2019-05-07-backport-41404
May 8, 2019
Merged

Reject port ranges in discovery.seed_hosts#41905
DaveCTurner merged 1 commit intoelastic:7.xfrom
DaveCTurner:2019-05-07-backport-41404

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

Today Elasticsearch accepts, but silently ignores, port ranges in the
discovery.seed_hosts setting:

discovery.seed_hosts: 10.1.2.3:9300-9400

Silently ignoring part of a setting like this is trappy. With this change we
reject seed host addresses of this form.

Closes #40786
Backport of #41404

Today Elasticsearch accepts, but silently ignores, port ranges in the
`discovery.seed_hosts` setting:

```
discovery.seed_hosts: 10.1.2.3:9300-9400
```

Silently ignoring part of a setting like this is trappy. With this change we
reject seed host addresses of this form.

Closes elastic#40786
Backport of elastic#41404
@DaveCTurner DaveCTurner added >bug >breaking :Distributed/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. backport v7.2.0 labels May 7, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed

@DaveCTurner
Copy link
Copy Markdown
Member Author

Backport opened for a full CI run, no need to review.

@DaveCTurner DaveCTurner merged commit 4c909e9 into elastic:7.x May 8, 2019
@DaveCTurner DaveCTurner deleted the 2019-05-07-backport-41404 branch May 8, 2019 07:34
seut added a commit to crate/crate that referenced this pull request May 14, 2019
seut added a commit to crate/crate that referenced this pull request May 14, 2019
seut added a commit to crate/crate that referenced this pull request May 14, 2019
seut added a commit to crate/crate that referenced this pull request May 14, 2019
mergify bot pushed a commit to crate/crate that referenced this pull request May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport >breaking >bug :Distributed/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. v7.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants