-
Notifications
You must be signed in to change notification settings - Fork 38
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
syslog input won't bind to IPv6 UDP #42
Comments
Seems that someone likes the idea to be more specific than expected and dropped IPv6 support:
No need to specify address family here? |
We would need IPv6 support to the UDP receiver too. |
Is this a more wide spread issue?? logstash-plugins/logstash-input-udp#31 |
This appears to be the same issue as jruby/jruby#5112. CRuby also raises an exception if you do not explicitly specify |
Let me put that differently: the error that's going into logs is related to jruby/jruby#5112. The actual bug/feature here for logstash is outside my expertise :-) |
I have "fixed" jruby/jruby#5112 and the resulting error now matches CRuby (at least type...message is different). |
Is this fixed with logstash 6.2.4? for me it did solve it but im not using this particular input... i had simply commented here because more than one plugin were being affected so thought it was more wide spread. thanks! |
I'm running 6.4.2 and it's still broken. Although I've just discovered I can use the generic udp input which does do IPv6 correctly. :-) |
6.5.4 seems to still be broken as well. |
Hi, Checked in 6.8. Still seems like issue exists. Can someone help please. We are planning to use 6.5.4, and hitting the issue. Basically syslog input starts up on IPv6 tcp port and IPv4 UDP port. It does not start on IPv6 UDP port and IPv4 TCP port. netstat shows : How can we get over the issue.? |
Issue present in 7.2.0 as well. Specifying
|
#55 shows a quick and dirty fix, I don't expect it can be accepted as there should be an elegant way to determine IP address family, also I guess people need support to listen on both IPv4 and IPv6 though it's not case for me. |
* Disabling IPv6 until the logstash udp-based syslog listener can use it: logstash-plugins/logstash-input-syslog#42 * Fixing missing logstash.service systemd unit file elastic/logstash#11309 fixes: #87
Im a bit confused that this issue is still open. Wasn't it fixed with #56 ? |
It is not working in the latest version of Logstash 8. Is it still open? |
/usr/share/logstash/bin/logstash -f /etc/logstash/testing/syslog.conf --path.data /tmp/blah --path.settings /etc/logstash -l /tmp/log --verbose
Running it this was results in some strange bindings:
As you can see, no UDP listeners on IPv6. I've tried various combinations of specifying
host
, and the Java options like-Djava.net.preferIPv6Stack=true
.Logs are clean with the default wildcard address:
Yet the same bindings as above occur.
Specifically, when I force any form of IPv6 address, I then see:
This loops. I think the interesting part there is
:exception=>java.nio.channels.UnsupportedAddressTypeException
The text was updated successfully, but these errors were encountered: