Red Hat Bugzilla – Bug 509218
leafnode is not IPV6 aware
Last modified: 2009-07-22 17:45:18 EDT
Description of problem:
Current F-11 setup seems to configure "lo" (127.0.0.1) to use IPV4 and IPV6, but, somehow, a connection to "leafnode", via "xinetd", seems to use IPV6, which is not supported by "leafnode".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Install "leafnode" and enable it in /etc/xinetd.d/leafnode
Connect to 127.0.0.1 port 119
... leafnode: connect from 0.0.0.0 (0.0.0.0) to 0.0.0.0 (0.0.0.0) ...
... leafnode: Denying access from address outside the local networks. (Check config.example.)
... leafnode: connect from localhost (127.0.0.1) to localhost (127.0.0.1) ...
Solution to the problem is pretty simple. The /etc/xinetd.d/leafnode file should have a further line:
flags = IPV4
Other option is to enable "allowstrangers" in /etc/leafnode/config, but this seems a bit an overkill.
So, please, if possible, could you update the package in order to add the "flags" statement in the /etc/xinetd.d/leafnode configuration file?
Thanks a lot in advance,
Thanks for the report!
Will look at adding that flag. I agree that allowstrangers is overkill...
leafnode-1.11.7-2.fc11 has been submitted as an update for Fedora 11.
Can you try the test package in comment #2?
if it works, add karma there and/or let me know here?
Well, I dowloaded:
The first two do not have the IPV4 flag in /etc/xinetd.d/leafnode, while the third one has it.
I guess something when wrong in the build of the package.
Hope this helps,
Oops. I patched the wrong file there. ;(
Looking closely however, I see there IS ipv6 support, it's just not enabled unless you pass a '--with-ipv6' to configure.
Can you try this scratch build and see if it solves your problem:
This one seems to work in IPV6 mode, if fact I get:
... leafnode: connect from localhost (::1) to localhost (::1) ...
So, it seems OK.
Only one note. Neither /etc/xineted.d/leafnode nor /etc/leafnode/config where replaced or created as *.rpmnew.
The previous install (leafnode-1.11.6-5.fc11) was creating both as *.rpmnew.
It could be some more tuning is needed.
Hope this helps,
The config not changing is expected. It doesn't need to make any change there, it's just adding ipv6 support to the binary. ;)
I will push out a new testing update asap. ;)
leafnode-1.11.7-3.fc11 has been submitted as an update for Fedora 11.
I just noticed the status is "needinfo".
Which information is needed? I cannot see it.
Sorry about that, must have hit it by accident. ;)
If you want to test again and add karma to the updates link feel free to do so.
Thanks again for this report.
leafnode-1.11.7-3.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update leafnode'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7534
leafnode-1.11.7-3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.