From owner-freebsd-questions@FreeBSD.ORG Thu Jun 17 00:59:05 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E77431065675 for ; Thu, 17 Jun 2010 00:59:05 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id A3DBD8FC0A for ; Thu, 17 Jun 2010 00:59:05 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o5H0x4O6071182 for ; Wed, 16 Jun 2010 18:59:04 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o5H0x48m071179 for ; Wed, 16 Jun 2010 18:59:04 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 16 Jun 2010 18:59:04 -0600 (MDT) From: Warren Block To: questions@freebsd.org In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Wed, 16 Jun 2010 18:59:04 -0600 (MDT) Cc: Subject: Re: Detecting fake library versions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2010 00:59:06 -0000 On Wed, 16 Jun 2010, Warren Block wrote: > "ln -s libintl.so.9 libintl.so.8" has been misused a lot lately. > > Are there any programs that will detect these links and remind the user that > they have a new library masquerading as an old one? A quick hack in Ruby to address this: http://www.wonkity.com/~wblock/fakelib/fakelib.rb It's not particularly fast or elegant. On the other hand, it's short and does detect the link above. -Warren Block * Rapid City, South Dakota USA