severity wishlist
thanks

It looks like newer version of BSD lpr should
correctly handle :if: filter for remote machines
too, but the tldp's text is not specific enough
(http://tldp.org/HOWTO/Printing-HOWTO/setup.html)

I've installed NetBSD into kvm to play with its
lpd and it _does_ have :if: working with :rm:, but
only when you run lpd with -r. NetBSD's manpage is
clear on the matter (Debian's version only
mentions :of: in the -r description):

     -r      The -r flag allows the ``of'' and ``if'' filters to be used if
             specified for a remote printer.  Traditionally, lpd would not use
             filters for remote printers.

I don't know at the moment what version of lpd
does the NetBSD 5.1 use, but I'll check its source
and report soon.

P.S. IMHO it's time to package the newest BSD lpr
into Debian, and make hardened
(http://wiki.debian.org/Hardening#Using_Hardening_Options)
build (because lpr package contains suid root
binaries):

> root@ux380n:~# hardening-check /usr/sbin/lpd
> /usr/sbin/lpd:
>  Position Independent Executable: no, normal executable!
>  Stack protected: no, not found!
>  Fortify Source functions: no, not found!
>  Read-only relocations: no, not found!
>  Immediate binding: no, not found!
> root@ux380n:~# 

-- 
With best regards,
xrgtn

Attachment: signature.asc
Description: Digital signature

Reply via email to