[ARGUS] argus -F /path/to/argus.conf no longer in 2.0.6?

Carter Bullard carter at qosient.com
Mon May 10 12:10:00 EDT 2004


Hey Richard,
I have it fixed. Here is a patch:

Index: argus.c
===================================================================
RCS file: /usr/local/cvsroot/argus/server/argus.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -r1.93 -r1.94
238a239,244
>                   case 'D':
>                      if (*++ptr == '\0')
>                         ptr = argv[++i];
>                      setArgusdflag (atoi (ptr));
>                      break;
>
240c246,248
<                      ArgusParseResourceFile (argv[i++]);
---
>                      if (*++ptr == '\0')
>                         ptr = argv[++i];
>                      ArgusParseResourceFile (ptr);


The second little chunk is the one to get the -F going.
The real bug was that it should have been [++i] not [i++].

Carter


-----Original Message-----
From: Richard Johnson [mailto:rdump at river.com]
Sent: Monday, May 10, 2004 11:33 AM
To: Carter Bullard
Cc: 'Richard Johnson'
Subject: RE: [ARGUS] argus -F /path/to/argus.conf no longer in 2.0.6?

At 08:46 -0400 on 2004-05-10, Carter Bullard wrote:
> Hey Richard,
>    Well, actually, I was just now testing to prove that you
> were crazy, but in fact you are absolutely correct, there is
> a bug in the resource file parsing routines now.
>
>    Not sure how it got past us, but I'll have a fix out
> today.  Sorry you didn't find this last week :o(


So am I. :-(

But I've been running 18 hour days for the past month and a half.  The
aftermath of having about a hundred hosts broken into makes for some
interesting politics...


Richard






More information about the argus mailing list