[ARGUS] argus -F /path/to/argus.conf no longer in 2.0.6?
Carter Bullard
carter at qosient.com
Mon May 10 12:29:15 EDT 2004
Hey Peter (et al),
The -F bugger was just in argus(). OK, I'll stick
your -n fixes today, and I'll have a new argi/ra* ready
for tomorrow.
All the bugs so far have work arounds, so I don't feel
compelled to re-release anytime soon, but I will put a
note on the web site. I haven't sent the announcement
to argus-announce, so is there going to be a problem
if I slide fixes in now? I really don't like patches,
its just so much easier to provide full distributions.
So if we are into 2.0.7.beta.1 now, then I'll need to add
the Windows port stuff.
Carter
-----Original Message-----
From: owner-argus-info at lists.andrew.cmu.edu
[mailto:owner-argus-info at lists.andrew.cmu.edu] On Behalf Of Peter Van Epp
Sent: Monday, May 10, 2004 12:06 PM
To: argus-info at lists.andrew.cmu.edu
Subject: Re: [ARGUS] argus -F /path/to/argus.conf no longer in 2.0.6?
On Mon, May 10, 2004 at 08:46:02AM -0400, 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(
>
> Carter
>
It must depend on you overriding a default file then, because I've
been testing with ra -F /data/rc.conf -r argus.out and its reading rc.conf
just fine (there is no /etc/rc.conf though). I also have a better patch for
overriding the DNS translations in argus_parse.c too. This one allows you
to set to "both", "port" or "none" (really anything but both or port :-))
to translate both, only ports or neither.
Peter Van Epp / Operations and Technical Support
Simon Fraser University, Burnaby, B.C. Canada
*** common/argus_parse.c.orig Thu May 6 13:43:22 2004
--- common/argus_parse.c Sat May 8 16:40:39 2004
***************
*** 3998,4007 ****
break;
case RA_PRINT_HOSTNAMES:
! if (!(strncasecmp(optarg, "yes", 3)))
nflag = 0;
! else
! nflag = 1;
break;
case RA_PRINT_LOCALONLY:
--- 3998,4009 ----
break;
case RA_PRINT_HOSTNAMES:
! if (!(strncasecmp(optarg, "both", 4)))
nflag = 0;
! else if (!(strncasecmp(optarg, "port", 4)))
! nflag = 1;
! else /* assume the value was "none" */
! nflag = 2;
break;
case RA_PRINT_LOCALONLY:
More information about the argus
mailing list