[ARGUS] another ra command line / config file inconsistancy
Carter Bullard
carter at qosient.com
Mon Aug 23 09:23:39 EDT 2004
well, the -nn will cause the proto to be a number, the thing is that
if you have any directive in the vannepp_ra.conf file that would change
the nflag count, then that would override your -nn, since it is parsed
first. If you put the -nn after the -F then it should work fine.
The problem is that I implemented the RA_PRINT_HOSTNAMES, to
change the value of nflag, which is obviously now, a mistake.
Here is a patch that will fix it:
Index: argus_parse.c
===================================================================
RCS file: /usr/local/cvsroot/argus-clients/common/argus_parse.c,v
retrieving revision 1.24
diff -r1.24 argus_parse.c
4001c4001,4002
< nflag = 1;
---
> if (!nflag)
> nflag = 1;
Does that fix it?
Carter
> From: Peter Van Epp <vanepp at sfu.ca>
> Date: Sun, 22 Aug 2004 12:17:03 -0700
> To: <argus-info at lists.andrew.cmu.edu>
> Subject: [ARGUS] another ra command line / config file inconsistancy
>
> There looks to be a bug with protocol translation for arp: the command
> line misses translating the protocol but the config file gets it correct.
>
> test6% ra -r surrey.argus -nn -- arp
> 21 Aug 04 19:28:56 2054 192.168.171.200 who-has 192.168.171.207
> 3 0 180 0 INT
>
> test6% ra -r surrey.argus -nn -F ./vanepp_ra.conf -- arp
> 1093141736.879374,1093141742.894194,,arp,192.168.171.200,,who-has,192.168.171.
> 207,,3,0,180,0,INT
>
> Peter Van Epp / Operations and Technical Support
> Simon Fraser University, Burnaby, B.C. Canada
>
>
More information about the argus
mailing list