Return-Path: Date: Thu, 22 Nov 2018 10:20:22 +0100 (CET) From: Johannes Meixner In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [Printing-architecture] IPP-over-USB and Printer Applications: DNS-SD-advertise localhost:PORT a security problem? List-Id: Printing architecture under linux List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Open Printing Cc: David Valleau , Sean Kau Hello, On Nov 21 23:26 Till Kamppeter wrote (excerpt): > ... advertising ... via DNS-SD ... security problem in general regarding DNS-SD and security see also https://github.com/apple/cups/issues/5011 I think (but I know nothing at all about the details here) advertising a locally connected USB printer via any method (e.g. via DNS-SD) only on the local host should not result that more users can access the USB printer than before. Traditionally the device node of a locally connected USB printer gets by default appropriate traditional Unix permissions so that the user who runs the CUPS backend (usually user 'lp' group 'lp') can access the USB printer (usually via the group 'lp'). This means local USB printer access is not permitted for each individual local user (e.g. via appropriate group settings). Direct USB printer access is not permitted for normal users. For normal users USB printer access is only permitted indirectly via CUPS. Another crucial point with any kind of networking advertisments of local USB printers is that the devices must not accidentally become accessible to any remote user. Kind Regards Johannes Meixner -- SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard, Graham Norton - HRB 21284 (AG Nuernberg)