AMT wrote:

> I hit this problem many years ago and the solution we developed was to
> create a separate executable that had root privilege.  So there was a
> Java class, a native code .so/.dll and the root executable.  When Java
> opened up an ICMP socket, the native code would fork the executable
> which would open the raw socket and pass the descriptors back to the
> native code running within the Java VM.

Yeah, this has been something we've been meaning to do "someday" for
quite some time, and have never had the opportunity to spend some
quality time on it.

> I am no C developer and just the thought of caring for this code and
> porting it to other platforms gives me a headache.  But I am more than
> happy to contribute it as a starting point for someone else to run
> with.  It currently is compiled for Solaris/Intel, Redhat Linux/Intel
> and Windows/Intel.  The Windows code is different in that it does not
> require the separate executable.  It just opens the sockets.

That would be awesome!  We would happily accept it and integrate it into
JICMP.  Would you mind filling out a copy of the contributor agreement?

  http://www.opennms.org/index.php/OCA


-- 
Benjamin Reed
The OpenNMS Group
http://www.opennms.org/


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to