rc.25 software available for comment
Robin Gruyters
r.gruyters at yirdis.nl
Fri Aug 11 07:36:45 EDT 2006
Hello Carter,
Still some problem when trying to compile argus-3.0.0.rc5:
[...]
gcc -O3 -I. -I/usr/include -I./../include -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1
-DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1
-DHAVE_SETLINEBUF=1 -DHAVE_ALARM=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1
-DHAVE_ETHER_HOSTTON=1 -DHAVE_STRUCT_ETHER_ADDR=1
-DHAVE_DECL_ETHER_HOSTTON=0 -DHAVE_TCP_WRAPPER=1 -DHAVE_SYS_SOCKIO_H=1
-DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1
-DHAVE_SYSLOG_H=1 -DCONFIG_X86_BSWAP=1 -DSTDC_HEADERS=1
-DARGUS_SYSLOG=1 -c argus_util.c
argus_util.c: In function `ArgusNtoH':
argus_util.c:498: error: structure has no member named `src_pkt_drop'
argus_util.c:498: error: structure has no member named `src_pkt_drop'
argus_util.c:499: error: structure has no member named `dst_pkt_drop'
argus_util.c:499: error: structure has no member named `dst_pkt_drop'
argus_util.c: In function `ArgusHtoN':
argus_util.c:904: error: structure has no member named `src_pkt_drop'
argus_util.c:904: error: structure has no member named `src_pkt_drop'
argus_util.c:905: error: structure has no member named `dst_pkt_drop'
argus_util.c:905: error: structure has no member named `dst_pkt_drop'
*** Error code 1
[...]
Regards,
Robin Gruyters
Network and Security Engineer
Yirdis B.V.
I: http://yirdis.com
P: +31 (0)36 5300394
F: +31 (0)36 5489119
Quoting Carter Bullard <carter at qosient.com>:
> Hey Cedric,
> Ahhhhhh, that will do it, and thanks!!!! The rc.25 code has this
> fix in, so let see if that doesn't get us a little further.
>
> Carter
>
>
> On Aug 11, 2006, at 5:49 AM, VIEAU Cédric 172196 wrote:
>
>> Hi,
>>
>> ra 3.0-rc.24 generates a segfault with some v2 records:
>>
>> ----------------------------------------
>> Program received signal SIGSEGV, Segmentation fault.
>> 0xb7e29bcd in bcopy () from /lib/tls/libc.so.6
>> (gdb) bt
>> #0 0xb7e29bcd in bcopy () from /lib/tls/libc.so.6
>> #1 0x0807a570 in ArgusConvertRecord (input=0x81c77a8,
>> ptr=0xb7c6d124 "\001\004\210") at argus_util.c:13324
>> #2 0x0808472e in ArgusReadStreamSocket (parser=0xb7d6c008,
>> input=0x81c77a8) at argus_client.c:300
>> #3 0x08084a83 in ArgusReadFileStream (parser=0xb7d6c008) at
>> argus_client.c:388
>> #4 0x0804b20e in main (argc=5, argv=0xbfe3c894) at argus_main.c:161
>> (gdb) f 1
>> #1 0x0807a570 in ArgusConvertRecord (input=0x81c77a8,
>> ptr=0xb7c6d124 "\001\004\210") at argus_util.c:13324
>> 13324 bcopy((char *) &ipattr->hdr,
>> (char *) dsr, sizeof(*dsr));
>> (gdb) l
>> 13321 if (ipattr != NULL) {
>> 13322 unsigned int *dsrptr = (unsigned
>> int *)(dsr + 1);
>> 13323
>> 13324 bcopy((char *) &ipattr->hdr,
>> (char *) dsr, sizeof(*dsr));
>> ----------------------------------------
>>
>> Variable ipattr should be initialized with NULL value (it was the
>> case with the "previous rc.24 release"):
>>
>> ----------------------------------------
>> --- common/argus_util.c.orig 2006-08-11 11:31:02.000000000 +0200
>> +++ common/argus_util.c 2006-08-11 11:31:45.000000000 +0200
>> @@ -13173,7 +13173,7 @@
>> case ARGUS_V2_FAR_DSR_STATUS: {
>> struct ArgusV2FarStruct *far = (struct
>> ArgusV2FarStruct *)hdrs[ARGUS_V2_FAR_DSR_INDEX];
>> struct ArgusTransportStruct *trans =
>> (struct ArgusTransportStruct *) dsr;
>> - struct ArgusIPAttrStruct ipattrbuf, *ipattr;
>> + struct ArgusIPAttrStruct ipattrbuf,
>> *ipattr = NULL;
>> struct ArgusFlow *flow = NULL;
>> struct ArgusTimeObject *dtime = NULL;
>> struct ArgusMetricStruct *metric = NULL;
>> ----------------------------------------
>>
>> Regards,
>> Cédric
>>
More information about the argus
mailing list