Fixed
Details
Assignee
Benjamin ReedBenjamin ReedReporter
Adrian MirandaAdrian MirandaComponents
Fix versions
Affects versions
Priority
Minor
Details
Details
Assignee
Benjamin Reed
Benjamin ReedReporter
Adrian Miranda
Adrian MirandaComponents
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created November 30, 2009 at 1:57 PM
Updated January 27, 2017 at 4:25 PM
Resolved April 24, 2014 at 12:27 PM
Short version: you can presently restrict which hosts can connect to the main jetty port, but there doesn't appear to be a way to restrict which hosts can connect to the AJP port.
In the opennms.properties file, you can restrict who can access the regular jetty port (default 8980). For example, if you set "org.opennms.netmgt.jetty.host" to be "127.0.0.1", then only local users can connect to the main jetty port.
In addition, you can turn on AJP support by setting "org.opennms.netmgt.jetty.ajp-port" to a value (default 8981). However, there does not appear to be a way to restrict who can connect to that particular port. It would be very good if either the "jetty.host" setting also applied to the AJP port, or perhaps there could be a separate config variable, with a name like "jetty.ajp-host".
From a quick glance at the source code, it appears it wouldn't be too difficult to add this functionality, once you make a decision as to what the variable should be called. But I don't have a great deal of knowledge about either opennms or Java, so I could be missing something.