racount fix for FreeBSD
Carter Bullard
carter at qosient.com
Tue Jun 20 08:47:47 EDT 2006
Hey Robin,
Ahhhhh, that's already fixed in rc.11, but I haven't put it up yet.
I only uploaded clients yesterday. Very confusing. But thanks,
don't stop pointing these out!!!
OK, with racount, you may have noticed the undocumented
"-M addr" option. This is another way of counting, and it gives
you the count of IP addresses that are in the file, broken down
by address family. This is probably more interesting from the
perspective of IPv6.
It is possible that this should not be in racount, but in an address
specific type of client, but that is where it is today.
I can do the -A option support (print counts based on protocol)
with a "-M proto" mode, and remove the -A option? I'm fixing
racount() now, so any opinions would be nice to hear!!!!!
Carter
On Jun 20, 2006, at 8:28 AM, Carter Bullard wrote:
> Hey Robin,
> Fixed in racount.c, but I can't find a -D anywhere in argus or
> the clients.
> Do you have a line number, diff file?
>
> The -D option for install() is suppose to create directories,
> when needed
> and it was offered as a solution from a Fedora shop. On MacOS X
> 10.4.x,
> it should be a -d.
>
> Carter
>
>
> On Jun 20, 2006, at 3:01 AM, Robin Gruyters wrote:
>
>> Hi ya,
>>
>> still one patch to go for racount.c
>>
>> --- clients/racount.c.orig Thu Jun 8 20:20:12 2006
>> +++ clients/racount.c Tue Jun 20 08:58:06 2006
>> @@ -174,7 +174,7 @@
>> } else {
>>
>> printf ("racount records total_pkts
>> src_pkts dst_pkts total_bytes
>> src_bytes dst_bytes\n");
>> -#if defined(__APPLE_CC__) || defined(__APPLE__)
>> +#if defined(__APPLE_CC__) || defined(__APPLE__) || defined
>> (__FreeBSD__)
>> printf (" sum %-11lld %-14lld %-14lld %-14lld
>> %-18lld %-18lld %-18lld\n",
>> #else
>> printf (" sum %-11Ld %-14Ld %-14Ld %-14Ld %-18Ld
>> %-18Ld %-18Ld\n",
>>
>> Also the ${INSTALL} -D still exists in Makefile.in for
>> argus-3.0.0.rc.10. Please remove it, or tell me what is the idea
>> behind the -D option. Because FreeBSD doesn't have it.
>>
>> Regards,
>>
>> Robin Gruyters
>> Network and Security Engineer
>> Yirdis B.V.
>> I: http://yirdis.com
>> P: +31 (0)36 5300394
>> F: +31 (0)36 5489119
>>
>
>
>
More information about the argus
mailing list