Re: [opennms-devel] ICMP/Root

Benjamin Reed <[email protected]> Wed, 18 Mar 2009 15:34:50 -0400
Newsgroups gmane.network.opennms.bugs,gmane.network.opennms.devel
Organization The OpenNMS Group
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--===============0119733864726244211==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="------------enig452B0880DDAD53780BDB1444"

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig452B0880DDAD53780BDB1444
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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


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



--------------enig452B0880DDAD53780BDB1444
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJwUzdUu+jZtP2Zf4RAmJwAJwMsOl0BaGRMGQlXa4bEQm3BPjnYwCcCsUd
fZZroFE107CGt9Kr0govQEk=
=wM4I
-----END PGP SIGNATURE-----

--------------enig452B0880DDAD53780BDB1444--


--===============0119733864726244211==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
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
--===============0119733864726244211==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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
--===============0119733864726244211==--