Re: DISMAN PING MIB test case question

2018-05-02 Thread Keith Mendoza
On Sun, Apr 29, 2018, at 9:20 AM, Bill Fenner wrote: > On Fri, Apr 27, 2018 at 12:15 PM, Keith Mendoza wrote: > > > Bill, > > > > On Thu, Apr 26, 2018, at 6:54 PM, Bill Fenner wrote: > > > I do not think the DISMAN PING module builds anywhere but Linux. I am > > not > > > a

Re: DISMAN PING MIB test case question

2018-05-02 Thread Bill Fenner
On Fri, Apr 27, 2018 at 12:15 PM, Keith Mendoza wrote: > Bill, > > On Thu, Apr 26, 2018, at 6:54 PM, Bill Fenner wrote: > > I do not think the DISMAN PING module builds anywhere but Linux. I am > not > > a fan of the existing implementation since it is synchronous. > > Would it

Re: DISMAN PING MIB test case question

2018-05-01 Thread Keith Mendoza
After looking further into what's going on with T154_dismanpingmib_simple, I discovered that the test script checks if the UID is 0 before it checks if disman/ping was enabled. https://sourceforge.net/p/net-snmp/code/merge-requests/16/ reorders the check to prevent any confusion when the

Re: DISMAN PING MIB test case question

2018-04-27 Thread Keith Mendoza
Bill, On Thu, Apr 26, 2018, at 6:54 PM, Bill Fenner wrote: > I do not think the DISMAN PING module builds anywhere but Linux. I am not > a fan of the existing implementation since it is synchronous. Would it be worth it to update RUNFULLTEST or T154dismanpingmib_simple to only run on Linux? >

Re: DISMAN PING MIB test case question

2018-04-26 Thread Bill Fenner
I do not think the DISMAN PING module builds anywhere but Linux. I am not a fan of the existing implementation since it is synchronous. (I have a from-scratch asynchronous rewrite sitting around languishing that I haven't tested anywhere but Linux; raw sockets are pretty notoriously incompatible

Re: DISMAN PING MIB test case question

2018-04-26 Thread Bart Van Assche
On 04/26/18 11:01, Keith Mendoza wrote: I have a question about what permissions DISMAN PING MIB test case expects. I'm running on a macOS 12.3.4 with --enable-blumenthal-aes --with-openssl= --with-defaults. When I run make test as my normal user I get "skipped: Not permitted to create raw

DISMAN PING MIB test case question

2018-04-26 Thread Keith Mendoza
I have a question about what permissions DISMAN PING MIB test case expects. I'm running on a macOS 12.3.4 with --enable-blumenthal-aes --with-openssl= --with-defaults. When I run make test as my normal user I get "skipped: Not permitted to create raw sockets". However, when I run make test