Questions tagged [tinyradius]

To be used along the java and radius tags, only if you are specifically using this library to authenticate to a RADIUS server.

11 questions
4
votes
0 answers

How to check if a user exists in Radius Server

Good morning everyone, I need to check if a user exists in a Radius Server. I am not sure if this question can be answered by the server (I am new to Radius). I have a java application, and I am using "TinyRadius", in particular RadiusClient from…
n3mo
  • 663
  • 8
  • 23
3
votes
0 answers

Communicating with RADIUS server using java

I'm getting an error at communicate/authenticate methods when executed, to send the Access-Request I followed the exact same steps as guided in http://tinyradius.sourceforge.net/ RadiusClient rc=new RadiusClient(InetAddress.getByName("server …
Dilrukshi Perera
  • 917
  • 3
  • 17
  • 31
2
votes
0 answers

How to send a Disconnect-Request using java?

I was able to send an Access-Request to Freeradius server and get Access-Accept, using tinyradius library in a spring boot application. Now I need to send a COA Request and then a Disconnect-Request to end the session. I tried to send a…
Dilrukshi Perera
  • 917
  • 3
  • 17
  • 31
1
vote
0 answers

Using TinyRadius in Spring Boot Service failing to start tomcat

I am trying to create a spring boot service using TinyRadius library. Consumers will call this service passing UserName & Password and I need to connect to the radius server for authentication. I am using IntelliJ for development. I have included…
1
vote
0 answers

How to get attributes values using tiny radius library from radius database?

I am currently working on the radius server. I am trying to get accounting data using tiny radius library in Java, but in response the attributes list is empty? What might be the reason for this or How can I get attributes and their values? Here I…
0
votes
0 answers

TinyRadius Netty RadiusClient test program does not shutdown & return despite closing the NioDatagramChannel & shutting down NioEventLoopGroup

This is regarding the use of tinyradius-netty & the mechanism to properly close the channel & shutdown (as part of app shutdown). Here is the sample code on the tinyradius-netty public git repo. If I try to test it as-is I see that the program does…
lmk
  • 654
  • 5
  • 21
0
votes
1 answer

RADIUS Proxy implementation Message-Authenticator error

I am implementing a radius proxy with a help of TinyRadius lib. PAP & CHAP proxying without any problems but EAP messages not. So, i am recalculate Request Authenticator for radius packet after adding a proxy attribute, then i recalculate…
user124
  • 13
  • 5
0
votes
1 answer

How to fix tinyRadius bad packet: Invalid identifier exception?

I'm using TinyRadius library and a FreeRadius server for authentication in a Spring boot app. Authentication works fine for about 4 requests, then I start getting "Error occurred while authenticating user. Message: bad packet: invalid packet…
P.Y Ofori
  • 5
  • 4
0
votes
1 answer

SSL Mutual Authentication Between Radius Client and Radius Server

Environment: Radius Server : FreeRadius Radius Client : TinyRadius I am setting up RADIUS server in our organization. I want to secure my RADIUS server so that client needs to provide two things to connect and communicate securely with RADIUS…
learner
  • 906
  • 2
  • 10
  • 39
0
votes
1 answer

Radius Protocol - How to correctly set the status in the second request?

I'm using TinyRadius to authenticate my Java WebServer (as Radius Client) to a Windows Server (as Radius Server). I successfully sent the user Access-Request to the server and received the passcode back. final RadiusClient client = new…
payloc91
  • 3,724
  • 1
  • 17
  • 45
-1
votes
1 answer

JAVA(org.tinyradius) method addAttribute (org.tinyradius) on processing "Class" attribute

RadiusClient rc = new RadiusClient("xx.xx.xx.xx","0000"); AccountingRequest acc = new AccountingRequest("michael",AccountingRequest.ACCT_STATUS_TYPE_START); acc.addAttribute("Framed-IP-Address", "1.1.1.1"); acc.addAttribute("Class","Key CL:…
Michael
  • 1
  • 3