Public bug reported:

I am trying to setup saned for remote scanning, but without luck. On
server side I have allowed 192.168.1.0/24 subnet, but remote host does
not find a scanner. During investigation I found the following in
server's logs:

Jul 25 11:40:42 X saned[4167]: bailing out, waiting for children...
Jul 25 11:40:42 X saned[4167]: bail_out: all children exited
Jul 25 11:40:42 X saned[4299]: saned (AF-indep+IPv6) from sane-backends 1.0.30 
starting up
Jul 25 11:40:42 X saned[4299]: do_bindings: [0] bind failed: Address already in 
use
Jul 25 11:40:42 X saned[4300]: Now daemonized
Jul 25 11:40:43 X saned[4314]: check_host: access by remote host: 
::ffff:192.168.1.2
Jul 25 11:40:43 X saned[4314]: check_host: getaddrinfo for local hostname 
failed: No address associated with hostname
Jul 25 11:40:43 X saned[4314]: init: access by host ::ffff:192.168.1.2 denied
Jul 25 11:40:43 X saned[4314]: quit: exiting


It looks to me like it is treating the IPv4 to IPv6 converted address as a 
hostname and trying to resolve it, what of course fails. This looks like a bug 
for me. Adding "::ffff:192.168.1.2" to access list does not resolve the problem.


# sysctl -a | grep "net.ipv6.bindv6only"
net.ipv6.bindv6only = 0

** Affects: sane-backends (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1888928

Title:
  "getaddrinfo for local hostname failed: No address associated with
  hostname" for  IPv4 to IPv6 converted address

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1888928/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to