Time Issue on OpenBSD 4.2 with rc.69 (Was: Re: Sparc64 OpenBSD4.1 Compile issue)

Carter Bullard carter at qosient.com
Tue Feb 12 22:02:07 EST 2008


Gentle people,
I've just uploaded a new argus-3.0.0.tar.gz that fixes the OpenBSD4.2
64-bit issues.   Basically we had a casting problem with the libpcap
headers that were passed.  They had 32-bit values for the timestamps,
OpenBSD thought that should be improved to 64-bit values.

In the process of fixing OpenBSD, I caught two other bugs.  Arp
bi-directional mapping is now fixed, seems that there was a slight
little-endian issue, and I fixed a problem with a known libpcap
select issue, that I had not run into before.

Please download this version of argus-3.0.0.tar.gz, and test it out.
argus-clients for OpenBSD 64-bit will be on the way later.

Thanks for all the support!!!

Carter




On Feb 12, 2008, at 7:34 PM, Peter Van Epp wrote:

> On Tue, Feb 12, 2008 at 05:47:07PM -0600, Eric Pancer wrote:
>> Ok great. Thanks to you both.
>>
>> Carter: can you try and start radium? It's segfaulting on me. I  
>> swear:
>> I was really nice to it too!
>>
>
> 	I needed the following patch to ratop to get it to continue building,
> but after that radium doesn't segfault (doesn't give any obvious  
> output either
> though, although that may be operator error :-)). Possibly the 64  
> bit system
> again (or I need to tell it to do something :-))?
>
> # radium -r test.argus -n
> radium[18197]: 08:15:09.377885 ArgusOutputProcess() exiting
> #
>
> Peter Van Epp / Operations and Technical Support
> Simon Fraser University, Burnaby, B.C. Canada
>
> *** ratop/ratop.c.orig	Tue Feb 12 08:05:47 2008
> --- ratop/ratop.c	Tue Feb 12 08:08:18 2008
> ***************
> *** 519,525 ****
>           if ((status = pthread_attr_init(&RaTopAttr)) != 0)
>              ArgusLog (LOG_ERR, "pthreads init error");
>
> ! #if defined(_POSIX_THREAD_PRIORITY_SCHEDULING) && !defined(sun)  
> && !defined(CYGWIN)
>           if ((status = pthread_attr_getschedpolicy(&RaTopAttr,  
> &thread_policy)) != 0)
>              ArgusLog (LOG_ERR, "pthreads get policy error");
>           if ((status = pthread_attr_getschedparam(&RaTopAttr,  
> &thread_param)) != 0)
> --- 519,525 ----
>           if ((status = pthread_attr_init(&RaTopAttr)) != 0)
>              ArgusLog (LOG_ERR, "pthreads init error");
>
> ! #if defined(_POSIX_THREAD_PRIORITY_SCHEDULING) && !defined(sun)  
> && !defined(CYGWIN) && !defined(__OpenBSD__)
>           if ((status = pthread_attr_getschedpolicy(&RaTopAttr,  
> &thread_policy)) != 0)
>              ArgusLog (LOG_ERR, "pthreads get policy error");
>           if ((status = pthread_attr_getschedparam(&RaTopAttr,  
> &thread_param)) != 0)
> ***************
> *** 589,595 ****
>     if ((status = pthread_attr_init(&attr)) != 0)
>        ArgusLog (LOG_ERR, "pthreads init error");
>
> ! #if defined(_POSIX_THREAD_PRIORITY_SCHEDULING) && !defined(sun)  
> && !defined(CYGWIN)
>     if ((status = pthread_attr_getschedpolicy(&attr,  
> &thread_policy)) != 0)
>        ArgusLog (LOG_ERR, "pthreads get policy error");
>     if ((status = pthread_attr_getschedparam(&attr, &thread_param)) ! 
> = 0)
> --- 589,595 ----
>     if ((status = pthread_attr_init(&attr)) != 0)
>        ArgusLog (LOG_ERR, "pthreads init error");
>
> ! #if defined(_POSIX_THREAD_PRIORITY_SCHEDULING) && !defined(sun)  
> && !defined(CYGWIN) && !defined(__OpenBSD__)
>     if ((status = pthread_attr_getschedpolicy(&attr,  
> &thread_policy)) != 0)
>        ArgusLog (LOG_ERR, "pthreads get policy error");
>     if ((status = pthread_attr_getschedparam(&attr, &thread_param)) ! 
> = 0)
>



More information about the argus mailing list