Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jul 2020 19:46:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 247723] [patch] print/hplip: fix mdns support
Message-ID:  <bug-247723-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247723

            Bug ID: 247723
           Summary: [patch] print/hplip: fix mdns support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: woodsb02@freebsd.org
          Reporter: tijl@FreeBSD.org
          Assignee: woodsb02@freebsd.org
             Flags: maintainer-feedback?(woodsb02@freebsd.org)

Created attachment 216151
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D216151&action=
=3Dedit
patch

files/patch-protocol_discovery_mdns.c adds SO_REUSEPORT to fix mDNS support
when Avahi is running.  This used to work but at least on FreeBSD head this=
 is
no longer the case.  It seems that port reuse is only allowed for processes
from the same user now.  But even if Avahi is not running and port 5353 is
available my printer still fails to be detected.  According to RFC 6762 only
fully compliant queriers should be using that port which HPLIP isn't.  I
suspect the printer is sending responses that HPLIP can't parse.  The attac=
hed
patch changes files/patch-protocol_discovery_mdns.c so HPLIP uses a standard
socket which is enough for one-shot queries.  With this patch the printer is
detected by "hp-probe --method=3Dmdns" and xsane can find the scanner part =
of the
printer using the hpaio plugin.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247723-7788>