From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris Los Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Building chkrootkit on Tru64 v4.0F Date: Thu, 27 Mar 2003 17:22:06 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1048803778 32411 80.91.224.249 (27 Mar 2003 22:22:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 27 Mar 2003 22:22:58 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Mar 27 23:22:56 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18yflw-0008QX-00 for ; Thu, 27 Mar 2003 23:22:56 +0100 Original-Received: (qmail 4528 invoked by uid 5); 27 Mar 2003 22:22:52 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 4519 invoked by uid 49493); 27 Mar 2003 22:22:52 -0000 Original-Received: from clos@trentu.ca by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(0.6/5.0):. Processed in 0.56608 secs); 27 Mar 2003 22:22:52 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 27 Mar 2003 22:22:51 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HCF00LLGI61PU@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 27 Mar 2003 17:22:50 -0500 (EST) Original-Received: from mx4.trentu.ca (mx4.trentu.ca [206.248.118.4]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with SMTP id <0HCF00KKYI4SD5@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 27 Mar 2003 17:22:47 -0500 (EST) Original-Received: (qmail 19593 invoked by uid 504); Thu, 27 Mar 2003 22:20:16 +0000 Original-Received: from clos@trentu.ca by mx4.trentu.ca by uid 501 with qmail-scanner-1.14 (fsecure: 4.15/4370/2003-03-25/2003-03-25. 2003-03-25/ Clear:. Processed in 0.43094 secs); Thu, 27 Mar 2003 22:20:16 +0000 Original-Received: from gwmail.trentu.ca (192.75.12.64) by mx4.trentu.ca with SMTP; Thu, 27 Mar 2003 22:20:15 +0000 Original-Received: from TRENTDOM-MTA by gwmail.trentu.ca with Novell_GroupWise; Thu, 27 Mar 2003 17:22:07 -0500 Original-To: <@sws1.ctd.ornl.gov > X-Mailer: Novell GroupWise Internet Agent 6.0.3 Content-Disposition: inline X-Qmail-Scanner-Mail-From: clos@trentu.ca via mx4.trentu.ca X-Qmail-Scanner: 1.14 (Clear:. Processed in 0.43094 secs) Xref: main.gmane.org gmane.os.tru64.managers:3817 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3817 Only got one reply on this. Here it is: =20 =20 From: Charles Ballowe Subject: Re: Building chkrootkit on Tru64 v4.0F =20 i'm not sure chkrootkit does much good on tru64. I recently ran it on a set of Tru64 5.1A systems and it reported /bin/ls as possibly corrupted on every one of the systems. I don't think that there really are any tru64 rootkits out there - at least none that I know of off hand. =20 You might want to try with gcc rather than Digital's C compiler. Most=20 opensource developers work with gcc which tends to support things that vendor compilers don't necessarily cover. =20 -charlie =20 =20 Original Question: =20 =20 Would like to know if any one has had success installing "chkrootkit" = (www.chkrootkit.org). I'm getting several compile errors when i try to = build it. Here they are: cc: Warning: chklastlog.c, line 71: The redefinition of the macro "TRUE" = conflicts with a current definition because the replacement lists differ. = The redefinition is now in effect. (macroredef) #define TRUE 1L -------------^ cc: Warning: chklastlog.c, line 72: The redefinition of the macro "FALSE" = conflicts with a current definition because the replacement lists differ. = The redefinition is now in effect. (macroredef) #define FALSE 0L --------------^ cc: Error: chklastlog.c, line 98: In this declaration, "lastlog_ent" has = no linkage and is of an incomplete type. (incompnolink) struct lastlog lastlog_ent; ------------------------^ cc: Error: chklastlog.c, line 173: In this statement, "struct lastlog" is = an incomplete type, and so has no size. (sizeincomptyp) lseek(fh_lastlog, (long)*uid * sizeof (struct = lastlog), 0); ---------------------------------------------------^ cc: Error: chklastlog.c, line 174: In this statement, "struct lastlog" is = an incomplete type, and so has no size. (sizeincomptyp) if ((wtmp_bytes_read =3D read(fh_lastlog, &lastlog_ent,= sizeof (struct lastlog))) > 0)=20 --------------------------------------------------------------------------^= cc: Error: chklastlog.c, line 176: In this statement, "struct lastlog" is = an incomplete type, and so has no size. (sizeincomptyp) if (wtmp_bytes_read < sizeof(struct lastlog)) ----------------------------------------------^ *** Exit 1 Stop. Any suggestion ????? Chris Los Trent University