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

Support DSCP Configuration Socket Option in Logstash Syslog output Plugin #64

Open
ekowsal opened this issue Dec 6, 2022 · 1 comment

Comments

@ekowsal
Copy link

ekowsal commented Dec 6, 2022

Support DSCP Configuration Socket Option in Logstash Syslog output Plugin

There is support needed to send syslog output request with DSCP configuration in UDP socket. It will be used for classifying and managing network traffic and providing quality of service (QoS) on modern IP networks.

This is requirement to expose the socket option in syslog output plugin to configure the DSCP configuration.

IPv4: setsockopt(sock, IPPROTO_IP, IP_TOS, &opt, sizeof(opt))
IPv6: setsockopt(sock, IPPROTO_IPv6, IPV6_TCLASS, &opt, sizeof(opt))

Could you please share whether this can be supported in Logstash future release and any backlog available already.

Ref:
https://en.wikipedia.org/wiki/Differentiated_services

@tsaarni
Copy link
Contributor

tsaarni commented Sep 13, 2023

I've checked this but unfortunately jruby is missing support to set these socket options - so jruby changes would be required first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants