Open inistor opened 4 years ago
Hi there,
Has anyone taken a look over the issue described above?
Thanks, Ion
This issue has been automatically marked as stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days
@repeatedly hi there; any updates here?
Just found this, as hitting the same issue. No updates I assume ?
FYI: From #2902
Describe the solution you'd like
- When specifying a hostname like
localhost
, all relevant addresses are listend/bound. For example:irb(main):016:0> Addrinfo.getaddrinfo('localhost', 5140).select { |x| x.socktype == Socket::SOCK_DGRAM } => [#<Addrinfo: [::1]:5140 UDP (localhost)>, #<Addrinfo: 127.0.0.1:5140 UDP (localhost)>]
So #2902 got de-duped here, which is cool, but I wanna clarify there's 2 different use-cases being discussed:
::
should be all-families, all-addressesThe first is table-stakes, but the latter should also work.
Correct - the first item refers to how a numeric address is handled, while the second involves DNS resolution.
I just ran into this on a v6 only k8s cluster. It's been a while, is this going to make the roadmap any time soon?
Describe the bug While using the in_forward plugin, I’m trying to have it bind on both IPv4 and IPv6 addresses (for dual-stack systems); typically, when using. “::” for bind config parameter, the socket api will bind to both (as long as AF_INET6 is used). However, if I use “::” for bind config parameter, an IPv6 only socket will be created. With the default value of bind (“0.0.0.0”), an IPv4 only socket is created.
To Reproduce Using the configuration below:
ipv6 works
ipv4 does not:
A workaround is to use two
Expected behavior When binding on "::" (IPv6 name for any address), IPv4 should also be bound on any address. Your Environment
fluentd --version
ortd-agent --version
cat /etc/os-release
CENTOS_MANTISBT_PROJECT="CentOS-8" CENTOS_MANTISBT_PROJECT_VERSION="8" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="8"
[root@centos8-ion ~]# uname -r 4.18.0-147.8.1.el8_1.x86_64