Re: DISMAN PING MIB test case question

Keith Mendoza <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <1524845730.3100236.1353076440.2AA4B840@webmail.messagingengine.com>
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?

> 
> (I have a from-scratch asynchronous rewrite sitting around languishing that
> I haven't tested anywhere but Linux; raw sockets are pretty notoriously
> incompatible across OSes.  It needs a bit of cleanup and support for
> sending/receiving IPv6 packets...)

Maybe we can revisit this code after 5.8 is released?

> 
>   Bill
> 
> 
> On Thu, Apr 26, 2018 at 2:01 PM, Keith Mendoza <[email protected]> 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=<Path to my OpenSSL 1.0.2o install> --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 using "sudo make test" I instead
> > get "skipped: USING_DISMAN_PING_MIB_MODULE is not defined". Should I be
> > running "make test" as root?
> >
> > --
> > Thanks,
> > Keith (pantherse)
> >
> > ------------------------------------------------------------
> > ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Net-snmp-coders mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
> >


-- 
Thanks,
Keith (pantherse)

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.