Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

network tcp windows and other missing #2397

Open
zez3 opened this issue Nov 5, 2024 · 2 comments
Open

network tcp windows and other missing #2397

zez3 opened this issue Nov 5, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@zez3
Copy link

zez3 commented Nov 5, 2024

Summary

Add common network tcp and udp specific fields (eg. window size, ttl, Acknowledgement Number, Sequence Number, UDP length)

Motivation:

We receive flowmon and other netflow v10 / IPFIX data in Elastic. We could add custom fields (e.g nework.tcp.window or network.tcp.ack) but we would like to have a ECS definition that everybody uses.

I see there are already specific fields defined for iptables. So, why not add them officially to ECS?
https://www.elastic.co/guide/en/beats/filebeat/current/exported-fields-iptables.html#_tcp_2
e.g.
iptables.tcp.window type: long

https://www.elastic.co/guide/en/beats/filebeat/current/exported-fields-iptables.html#_udp
e.g.
iptables.udp.length type: long

Then there are also the same fields defined for netflow:
netflow.tcp_window_size type: integer
or netflow.udp_message_length type: integer
in https://www.elastic.co/guide/en/beats/filebeat/current/exported-fields-netflow.html

Detailed Design:

I think we should have a common (as in Elastic Common Schema) "global" field in network https://www.elastic.co/guide/en/ecs/current/ecs-network.html and not multiple ones of multiple types

  • network.udp.length network.tcp.ack network.tcp.window
  • We should use the same datatype allover but for window size ("maximum effective TCP Window Size can be 16384 * 65535 bytes = 1,073,725,440 bytes, that is, one gigabyte.") so integer should be enough, we don't need long.
  • Any example events that map to the proposed use case(s)
    - I can provide netflows, iptables, etc.
@zez3 zez3 added the enhancement New feature or request label Nov 5, 2024
@zez3
Copy link
Author

zez3 commented Nov 5, 2024

@zez3
Copy link
Author

zez3 commented Nov 6, 2024

@ruflin

any thoughts on this?

can you please 🙏 assign a team, not sure if Integration team is responsible for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant