<p>Hi,</p><p>I want to configure jradius with freeradius <a href="http://2.1.1./" target="_blank">2.1.1.</a>
I added jradius in modules section of freeradius radiusd.conf file...
also added jradius in authorize section. Now when I run send request to
freeradius its trace is like this:</p><br>rlm_jradius: Reserving JRadius socket id: 7<br>rlm_jradius: packing attribute User-Name (type: 1; len: 7)<br>rlm_jradius: packing attribute User-Password (type: 2; len: 5)<br>rlm_jradius: packing attribute NAS-IP-Address (type: 4; len: 4)<br>
rlm_jradius: packing attribute Message-Authenticator (type: 80; len: 16)<br>rlm_jradius: packing packet with code: 1 (attr length: 80)<br>rlm_jradius: packing packet with code: 0 (attr length: 0)<br>rlm_jradius: sending 121 bytes to socket 7<br>
rlm_jradius: error sending request with socket 7<br>rlm_jradius: Closing JRadius connection 7<br>rlm_jradius: reconnecting socket id 7<br>rlm_jradius: sending 121 bytes to socket 7<br>rlm_jradius: error sending request with socket 7<br>
rlm_jradius: problem packing the data[socket_send/first_read]<br>rlm_jradius: Closing JRadius connection 7<br>rlm_jradius: Released JRadius socket id: 7<br>+++[jradius] returns noop<br><br>On the other side I got exception in jradius with is as:<br>
<br>java.io.EOFException<br> at java.io.DataInputStream.<div id=":1i6" class="ArwC7c ckChnd">readFully(DataInputStream.java:180)<br> at java.io.DataInputStream.readFully(DataInputStream.java:152)<br> at net.sf.jradius.packet.PacketFactory.parsePacket(PacketFactory.java:136)<br>
at net.sf.jradius.packet.PacketFactory.parse(PacketFactory.java:167)<br> at net.sf.jradius.freeradius.FreeRadiusProcessor.parseRequest(FreeRadiusProcessor.java:76)<br> at net.sf.jradius.freeradius.FreeRadiusProcessor.processRequest(FreeRadiusProcessor.java:55)<br>
at net.sf.jradius.server.Processor.process(Processor.java:119)<br> at net.sf.jradius.server.Processor.run(Processor.java:91)<br>net.sf.jradius.freeradius.FreeRadiusProcessor(7): process() method threw an exception: java.lang.NegativeArraySizeException<br>
java.lang.NegativeArraySizeException<br> at net.sf.jradius.freeradius.FreeRadiusProcessor.parseRequest(FreeRadiusProcessor.java:79)<br> at net.sf.jradius.freeradius.FreeRadiusProcessor.processRequest(FreeRadiusProcessor.java:55)<br>
at net.sf.jradius.server.Processor.process(Processor.java:119)<br> at net.sf.jradius.server.Processor.run(Processor.java:91)<br><br>Can anyone please help me where is the problem?? Thanks<br></div><br clear="all">
Regards,<br><br>Saeed Akhtar<br><br>