Hello, and all my apologies if this message is inappropriate to this list, but I need some support, and I can not find any forum or list about JRadius. My system is Ubuntu 14.0.4 (but I also had the same problem on Windows 7 (using FreeRadius.net)).
I then run "sh start.sh" inside the newly generated server/target/jradius folder.
So the JRadius server starts well.
I then run the FreeRadius server. It detects JRadius well.
I then use a client such as radclient. FreeRadius receives the Access-Request from the client and transmits it to JRadius. This is were a problem arises on JRadius side (the client receives its Access-Accept well):
2016-01-25 13:40:42,728 INFO [net.jradius.log.Log4JRadiusLogger] - net.jradius.server.KeepAliveListener.run(): shutting down tcp socket listener
net.jradius.exception.RadiusException: KeepAlive rlm_jradius connection has been closed
at net.jradius.freeradius.FreeRadiusListener.parseRequest(FreeRadiusListener.java:102)
at net.jradius.server.ListenerRequest.getEventFromListener(ListenerRequest.java:78)
at net.jradius.server.TCPListenerRequest.accept(TCPListenerRequest.java:72)
at net.jradius.server.KeepAliveListener.run(KeepAliveListener.java:61)
2016-01-25 13:40:42,733 DEBUG [net.jradius.log.Log4JRadiusLogger] - Listening on socket...
2016-01-25 13:40:42,733 DEBUG [net.jradius.log.Log4JRadiusLogger] - net.jradius.server.KeepAliveListener.run(): starting tcp socket listener
2016-01-25 13:40:42,734 INFO [net.jradius.log.Log4JRadiusLogger] - net.jradius.server.KeepAliveListener.run(): shutting down tcp socket listener
net.jradius.exception.RadiusException: KeepAlive rlm_jradius connection has been closed
at net.jradius.freeradius.FreeRadiusListener.parseRequest(FreeRadiusListener.java:102)
at net.jradius.server.ListenerRequest.getEventFromListener(ListenerRequest.java:78)
at net.jradius.server.TCPListenerRequest.accept(TCPListenerRequest.java:72)
at net.jradius.server.KeepAliveListener.run(KeepAliveListener.java:61)
The line at FreeRadiusListener.java:102 shows that an Exception is thrown because the "nameLength" is supposed to have a size between 0 and 1024. But the received buffer seems badly interpreted by JRadius, or maybe in a format JRadius does not expect.
Is there an incompatibility between some versions of FreeRadius and JRadius? What is the recommended version of FreeRadius for the latest version of JRadius?
Hello, and all my apologies if this message is inappropriate to this list, but I need some support, and I can not find any forum or list about JRadius. My system is Ubuntu 14.0.4 (but I also had the same problem on Windows 7 (using FreeRadius.net)).
I try to use JRadius along with FreeRadius. I think I followed well the steps from the website (http://coova.github.io/JRadius/FreeRADIUS/):
From the second page of the website (http://coova.github.io/JRadius/RunServer/):
So the JRadius server starts well. I then run the FreeRadius server. It detects JRadius well.
I then use a client such as radclient. FreeRadius receives the Access-Request from the client and transmits it to JRadius. This is were a problem arises on JRadius side (the client receives its Access-Accept well):
2016-01-25 13:40:42,728 INFO [net.jradius.log.Log4JRadiusLogger] - net.jradius.server.KeepAliveListener.run(): shutting down tcp socket listener net.jradius.exception.RadiusException: KeepAlive rlm_jradius connection has been closed at net.jradius.freeradius.FreeRadiusListener.parseRequest(FreeRadiusListener.java:102) at net.jradius.server.ListenerRequest.getEventFromListener(ListenerRequest.java:78) at net.jradius.server.TCPListenerRequest.accept(TCPListenerRequest.java:72) at net.jradius.server.KeepAliveListener.run(KeepAliveListener.java:61) 2016-01-25 13:40:42,733 DEBUG [net.jradius.log.Log4JRadiusLogger] - Listening on socket... 2016-01-25 13:40:42,733 DEBUG [net.jradius.log.Log4JRadiusLogger] - net.jradius.server.KeepAliveListener.run(): starting tcp socket listener 2016-01-25 13:40:42,734 INFO [net.jradius.log.Log4JRadiusLogger] - net.jradius.server.KeepAliveListener.run(): shutting down tcp socket listener net.jradius.exception.RadiusException: KeepAlive rlm_jradius connection has been closed at net.jradius.freeradius.FreeRadiusListener.parseRequest(FreeRadiusListener.java:102) at net.jradius.server.ListenerRequest.getEventFromListener(ListenerRequest.java:78) at net.jradius.server.TCPListenerRequest.accept(TCPListenerRequest.java:72) at net.jradius.server.KeepAliveListener.run(KeepAliveListener.java:61)
The line at FreeRadiusListener.java:102 shows that an Exception is thrown because the "nameLength" is supposed to have a size between 0 and 1024. But the received buffer seems badly interpreted by JRadius, or maybe in a format JRadius does not expect.
Is there an incompatibility between some versions of FreeRadius and JRadius? What is the recommended version of FreeRadius for the latest version of JRadius?
Thanks a lot.
Regards, Julien.