From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Arrigo Triulzi Newsgroups: gmane.os.tru64.managers Subject: Security: BIND4 patching notes Date: Thu, 14 Nov 2002 11:49:26 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <15827.32694.36548.278861@umbra.northsea.sevenseas.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1037270905 22662 80.91.224.249 (14 Nov 2002 10:48:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 14 Nov 2002 10:48:25 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18CHXs-0005tN-00 for ; Thu, 14 Nov 2002 11:48:24 +0100 Original-Received: (qmail 32314 invoked by uid 5); 14 Nov 2002 10:49:57 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 32305 invoked by uid 49493); 14 Nov 2002 10:49:57 -0000 Original-Received: from arrigo@northsea.sevenseas.org by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(-4.2/5.0):. Processed in 0.43676 secs); 14 Nov 2002 10:49:57 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 14 Nov 2002 10:49:57 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H5K00CEIBF8H8@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 14 Nov 2002 05:49:57 -0500 (EST) Original-Received: from opal.albourne.com (opal.albourne.com [195.212.241.228]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H5K00F0KBEU48@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 14 Nov 2002 05:49:44 -0500 (EST) Original-Received: from terracotta.uk.albourne.com (terracotta.uk.albourne.com [192.168.1.10]) by opal.albourne.com (8.9.3/8.9.3/Albourne/R/1.15) with ESMTP id MAA08790 for ; Thu, 14 Nov 2002 12:49:40 +0200 Original-Received: from umbra.uk.albourne.com (umbra.uk.vtun.albourne.com [192.168.8.204]) by terracotta.uk.albourne.com (8.9.3/8.9.3/Albourne/S/1.8) with ESMTP id KAA31013 for ; Thu, 14 Nov 2002 10:49:38 +0000 (GMT) Original-Received: from umbra.uk.albourne.com (localhost [127.0.0.1]) by umbra.uk.albourne.com (8.12.6/8.12.6/Sevenseas/1.0) with ESMTP id gAEAnTcG002427; Thu, 14 Nov 2002 11:49:29 +0100 Original-Received: (from arrigo@localhost) by umbra.uk.albourne.com (8.12.6/8.12.6/Debian-6Woody) id gAEAnQFd002423; Thu, 14 Nov 2002 11:49:26 +0100 Original-To: Alpha OSF Managers X-Mailer: VM 7.07 under Emacs 20.7.2 Organisation: Albourne Partners Limited X-Authentication-warning: umbra.uk.albourne.com: arrigo set sender to arrigo@northsea.sevenseas.org using -f Xref: main.gmane.org gmane.os.tru64.managers:2429 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2429 Dear all, you might have by now been alerted to the latest BIND hole, in particular this one affects both BIND 4 and BIND 8. The CERT advisory can be read at: http://www.cert.org/advisories/CA-2002-31.html The patches are downloadable from: http://www.isc.org/products/BIND/patches/ and they cover both BIND 4.9.10 and BIND 8.3.3 & 8.2.6. The patched BIND 4.9.10 is referred to as BIND 4.9.11. A few notes for those needing to patch Tru64 Unix version 4.0{D,F,G} (sorry, I do not run 5.x): 1) BIND 4.9.10 compiles just fine under Tru64 Unix 4.0{D,F,G} by editing the Makefile and using the compile options for OSF/1 version 3.x and above. 2) The patch to 4.9.10 does _not_ work with the standard patch program as it is a "unidiff" and the version shipped with Tru64 does not know how to deal with it. One solution is to install GNU patch or alternatively patch under Linux and then ship the patched sources across. 3) The patch is not clean, you will either need to prune all the "Index:" lines by hand or enter the filenames to be patched by hand each time. This is made easier by the fact that the filename which cannot be found is printed two lines above the query for a filename... The -p flag is not the issue. 4) Do not (as I did) decide to comment out the #define DEBUG in conf/options.h. The resulting BIND will _not_ fork into the background. 5) You should edit /usr/sbin/ndc once installed to add -b /etc/namedb/named.boot to both the "start" and "restart" entries of the case statement. This makes it compatible with the default Tru64 file layout. 6) Note that /sbin/named is not overwritten - you need to either fix /sbin/init.d/named _or_ copy the new one from /usr/sbin in its place. For those who wish to get the above rapidly you can download the patched sources (note: not point 5 above) from: http://www.alchemistowl.org/arrigo/bind-4.9.11-osf1.tar.gz All you need is "make && make install", then follow 5 & 6 above. Arrigo -- Arrigo Triulzi Albourne Partners Ltd. - London, UK