help needed --- jradius configuration with freeradius 2.1.1

Saeed Akhtar saeedakhtar.484 at gmail.com
Sat Nov 29 12:05:09 CET 2008


Hi,

I want to configure jradius with freeradius 2.1.1. 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:

rlm_jradius: Reserving JRadius socket id: 7
rlm_jradius: packing attribute User-Name (type: 1; len: 7)
rlm_jradius: packing attribute User-Password (type: 2; len: 5)
rlm_jradius: packing attribute NAS-IP-Address (type: 4; len: 4)
rlm_jradius: packing attribute Message-Authenticator (type: 80; len: 16)
rlm_jradius: packing packet with code: 1 (attr length: 80)
rlm_jradius: packing packet with code: 0 (attr length: 0)
rlm_jradius: sending 121 bytes to socket 7
rlm_jradius: error sending request with socket 7
rlm_jradius: Closing JRadius connection 7
rlm_jradius: reconnecting socket id 7
rlm_jradius: sending 121 bytes to socket 7
rlm_jradius: error sending request with socket 7
rlm_jradius: problem packing the data[socket_send/first_read]
rlm_jradius: Closing JRadius connection 7
rlm_jradius: Released JRadius socket id: 7
+++[jradius] returns noop

On the other side I got exception in jradius with is as:

java.io.EOFException
        at java.io.DataInputStream.readFully(DataInputStream.java:180)
        at java.io.DataInputStream.readFully(DataInputStream.java:152)
        at
net.sf.jradius.packet.PacketFactory.parsePacket(PacketFactory.java:136)
        at net.sf.jradius.packet.PacketFactory.parse(PacketFactory.java:167)
        at
net.sf.jradius.freeradius.FreeRadiusProcessor.parseRequest(FreeRadiusProcessor.java:76)
        at
net.sf.jradius.freeradius.FreeRadiusProcessor.processRequest(FreeRadiusProcessor.java:55)
        at net.sf.jradius.server.Processor.process(Processor.java:119)
        at net.sf.jradius.server.Processor.run(Processor.java:91)
net.sf.jradius.freeradius.FreeRadiusProcessor(7): process() method threw an
exception: java.lang.NegativeArraySizeException
java.lang.NegativeArraySizeException
        at
net.sf.jradius.freeradius.FreeRadiusProcessor.parseRequest(FreeRadiusProcessor.java:79)
        at
net.sf.jradius.freeradius.FreeRadiusProcessor.processRequest(FreeRadiusProcessor.java:55)
        at net.sf.jradius.server.Processor.process(Processor.java:119)
        at net.sf.jradius.server.Processor.run(Processor.java:91)

Can anyone please help me where is the problem?? Thanks

Regards,

Saeed Akhtar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20081129/97486c97/attachment.html>


More information about the Freeradius-Users mailing list