From owner-freebsd-hackers Tue Aug 17 18:39:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id 3D74C155D5 for ; Tue, 17 Aug 1999 18:39:23 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id SAA41356; Tue, 17 Aug 1999 18:37:46 -0700 (PDT) (envelope-from dillon) Date: Tue, 17 Aug 1999 18:37:46 -0700 (PDT) From: Matthew Dillon Message-Id: <199908180137.SAA41356@apollo.backplane.com> To: Garance A Drosihn Cc: hackers@FreeBSD.ORG Subject: Re: lpd security check for changed-file vs NFS References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :lpr has the '-s' option that tells it to create a symlink to :the file you want to print, instead of copying the file into :... :has not changed, if the standard st_dev+st_ino check is not :going to work? Seems to me I should be checking something, :instead of just ignoring the issue for NFS mounts (*all* :NFS mounts, because I can't tell if the NFS server is AIX). : :Maybe do some sort of MD5 checksum of the first thousand :bytes of the file? Any other suggestions? : :--- :Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu If you removed the stat test, I would simply get rid of the -s option entirely - require that all files be queued to the print spool. -Matt Matthew Dillon :Senior Systems Programmer or drosih@rpi.edu :Rensselaer Polytechnic Institute : : :To Unsubscribe: send mail to majordomo@FreeBSD.org :with "unsubscribe freebsd-hackers" in the body of the message : To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message