new code on the server rc.40

Peter Van Epp vanepp at sfu.ca
Mon Feb 26 22:02:53 EST 2007


	On linux (Suse on the 64 bit IBM PowerPC) clients has some problems:

gcc -O3 -pthread  -I. -I../include  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=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_SYS_BITYPES_H=1 -DHAVE_INTTYPES_H=1 -D_FILE_OFFSET_BITS=64 -DARGUS_THREADS=1 -DHAVE_TCP_WRAPPER=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_STRTOF=1 -DARGUS_CURSES=1 -DSTDC_HEADERS=1  -DARGUS_SYSLOG -c ./argus_main.c
./argus_main.c: In function bArgusParseArgsb:
./argus_main.c:774: warning: assignment makes pointer from integer without a cast


gcc -O3 -pthread  -I. -I../include -I../common  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=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_SYS_BITYPES_H=1 -DHAVE_INTTYPES_H=1 -D_FILE_OFFSET_BITS=64 -DARGUS_THREADS=1 -DHAVE_TCP_WRAPPER=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_STRTOF=1 -DARGUS_CURSES=1 -DSTDC_HEADERS=1  -c ./ra.c
gcc -O3 -pthread  -o ../bin/ra ra.o ../lib/argus_parse.a ../lib/argus_common.a ../lib/argus_client.a -lm
../lib/argus_parse.a(argus_main.o): In function `ArgusParseArgs':
argus_main.c:(.text+0x10f8): undefined reference to `strnstr'
collect2: ld returned 1 exit status
make[1]: *** [../bin/ra] Error 1
make[1]: Leaving directory `/usr/local/src/argus/argus-clients-3.0.0.rc.40/clients'

	As well the 0ed time stamp problem still seems to be present (assuming
it is in argus rather than ra because this is argus.rc40 but ra.rc.39 because
of the above errors):

vanepp at hcids:~> ra -r test.rc40.both.argus -n
   08:21:29.155232             tcp      85.94.109.175.50608     ->      142.58.101.28.25            2        0          122            0   CON
   08:21:38.155048     I       tcp      85.94.109.175.113       ?>      142.58.101.28.60420         1        0           60            0   RST
   08:21:38.155056            icmp      85.94.109.175           ->      142.58.101.28               1        0           70            0   URP
   08:21:29.156385    d        tcp      85.94.109.175.50608     ->      142.58.101.28.25            1        6           78          601   CON
   16:00:00.000000             tcp      85.94.109.175.113       ->      142.58.101.28.60420         0        1            0           66   REQ
   08:21:48.566009             tcp      85.94.109.175.50608     ->      142.58.101.28.25            0        4            0          328   FIN
   18:52:50.930520             man                  0      0                       30      1       16        7           30      2521156   STP


Peter Van Epp / Operations and Technical Support 
Simon Fraser University, Burnaby, B.C. Canada




More information about the argus mailing list