Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9763

RADIUS Poller: MD4 MessageDigest not available

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 21.0.0, 21.0.1
    • Fix Version/s: 21.1.0
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Linux 4.9.0-4-amd64 (amd64)
      Java(TM) SE Runtime Environment (1.8.0_151-b12)
    • Sprint:
      Horizon - December 6th, Horizon - December 14th, Horizon - December 20th, Horizon - Jan 3rd 2018, Horizon - Jan 10th 2018, Horizon - Jan 17th 2018, Horizon - Jan 24th 2018, Horizon - Feb 1st 2018, Horizon - Feb 7th 2018, Horizon - Feb 21st 2018, Horizon - March 14th 2018, Horizon - March 21st 2018

      Description

      After upgrading to OpenNMS Horizon 21, the RadiusAuthMonitor poller stopped to work.

      In the debug logfile I see this:

       

      2017-12-01 15:33:09,674 DEBUG [pool-9-thread-36] o.o.p.r.m.RadiusAuthMonitor: Error while attempting to connect to the RADIUS service on radius2.rz.hs-fulda.de
      java.security.NoSuchAlgorithmException: MD4 MessageDigest not available
       at sun.security.jca.GetInstance.getInstance(GetInstance.java:159) ~[?:1.8.0_151]
       at java.security.Security.getImpl(Security.java:695) ~[?:1.8.0_151]
       at java.security.MessageDigest.getInstance(MessageDigest.java:167) ~[?:1.8.0_151]
       at net.jradius.util.MSCHAP.NtPasswordHash(MSCHAP.java:87) ~[jradius-core-1.1.5.jar:?]
       at net.jradius.util.MSCHAP.GenerateNTResponse(MSCHAP.java:153) ~[jradius-core-1.1.5.jar:?]
       at net.jradius.util.MSCHAP.doMSCHAPv2(MSCHAP.java:228) ~[jradius-core-1.1.5.jar:?]
       at net.jradius.client.auth.MSCHAPv2Authenticator.processRequest(MSCHAPv2Authenticator.java:54) ~[jradius-core-1.1.5.jar:?]
       at net.jradius.client.RadiusClient.authenticate(RadiusClient.java:340) ~[jradius-core-1.1.5.jar:?]
       at org.opennms.protocols.radius.monitor.RadiusAuthMonitor.poll(RadiusAuthMonitor.java:255) [org.opennms.protocols.radius-21.0.1.jar:?]
       at org.opennms.netmgt.poller.client.rpc.PollerClientRpcModule$1.get(PollerClientRpcModule.java:77) [org.opennms.features.poller.client-rpc-21.0.1.jar:?]
       at org.opennms.netmgt.poller.client.rpc.PollerClientRpcModule$1.get(PollerClientRpcModule.java:71) [org.opennms.features.poller.client-rpc-21.0.1.jar:?]
       at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) [?:1.8.0_151]
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]
       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
      2017-12-01 15:33:09,675 DEBUG [Poller-Thread-11-of-30] o.o.n.p.p.PollableServiceConfig: Finish polling PollableService[location=Default, interface=PollableInterface [PollableNode [344]:192.168.1.134], svcName=RadiusAuth] using pkg hsfd result = Down

       

      Service configuration looks like this:

       

      <service name="RadiusAuth" interval="300000" user-defined="false" status="on">
       <parameter key="retry" value="3"/>
       <parameter key="authport" value="1812"/>
       <parameter key="acctport" value="1813"/>
       <parameter key="timeout" value="3000"/>
       <parameter key="authtype" value="mschapv2"/>
       <parameter key="user" value="fdopennms1@hs-fulda.de"/>
       <parameter key="password" value="xxxxxx"/>
       <parameter key="secret" value="xxxxxx"/>
       <parameter key="rrd-repository" value="/var/lib/opennms/rrd/response"/>
       <parameter key="ds-name" value="radiusauth"/>
       </service>

        Attachments

          Activity

            People

            • Assignee:
              fooker Dustin Frisch
              Reporter:
              reissmann Sven Reissmann
            • Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: