Skip to content

Conversation

@mjwolf
Copy link

@mjwolf mjwolf commented Mar 26, 2025

The community_id processor should support port 0 for source and destination.

Although port 0 is usually reserved, it is a valid port number. Users of this processor have had errors when using port 0 with this processor. There is also no similar restriction in the original Community ID implementation.

This updates the processor to support port 0 in source and destination.

mjwolf added 2 commits March 26, 2025 14:47
The community_id processor should support port 0 for source and
destination.

Although port 0 is usually reserved, it is a valid port
number. Users of this processor have had errors when using port 0 with
this processor. There is also no similar restriction in the original
Community ID implementation.

This updates the processor to support port 0 in source and destination.
@elasticsearchmachine elasticsearchmachine added v9.1.0 needs:triage Requires assignment of a team area label external-contributor Pull request authored by a developer outside the Elasticsearch team labels Mar 26, 2025
mjwolf added 2 commits March 26, 2025 15:12
In parseIntFromObjectOrString, if the provided object is null, convert
it to -1, an invalid port number.
@bhapas bhapas added the :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP label Mar 27, 2025
@elasticsearchmachine elasticsearchmachine added Team:Data Management Meta label for data/management team and removed needs:triage Requires assignment of a team area label labels Mar 27, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@bhapas bhapas added the needs:triage Requires assignment of a team area label label Mar 27, 2025
@elasticsearchmachine elasticsearchmachine removed the needs:triage Requires assignment of a team area label label Mar 27, 2025
@bhapas bhapas added >bug needs:triage Requires assignment of a team area label labels Mar 27, 2025
@elasticsearchmachine elasticsearchmachine removed the needs:triage Requires assignment of a team area label label Mar 27, 2025
Copy link

@jrmolin jrmolin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the code looks right 👍

@joegallo joegallo self-requested a review March 27, 2025 13:53
@joegallo joegallo self-assigned this Mar 27, 2025
@joegallo joegallo added v8.19.0 auto-backport Automatically create backport pull requests when merged labels Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged >bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP external-contributor Pull request authored by a developer outside the Elasticsearch team Team:Data Management Meta label for data/management team v8.19.0 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants