top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to connect freeDiameter to Hss

+1 vote
1,354 views

I am trying to implement an eap-sim authentication using freeDiameter but i stucked at connecting diameter server with HSS server stage so, my question is there a simple way to connect between them or any implementation for the interface between them ?

posted Jun 28, 2018 by Aya Eltokhy

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
Hey,
how did you in the end specify freediameter conf so that it would initiate sctp or tcp packet to HSS? As at the moment i can see that only freediameter can be used a a server

2 Answers

+1 vote

Aya, HSS supports different Diameter interfaces for different purposes. Looking at your description, you may need Wx (AAA Server - HSS interface). I haven't checked freeDiameter, but you will have to specify this application Id (Wx - its corresponding Id as defined in 29.234 ) while connecting.
In any case, first steps in Diameter connection establishment are TCP (or SCTP) connection and then Capabilities Exchange Request/Answer. You can check at what stage it is failing. If CER/CEA are successful, then you get in to application specific exchange.

Other security related HSS Diameter application (interface) is Zh (bootstrapping). So identify the specific interface you need and look at configuring freeDiameter accordingly.

Alternatives are available. My company has the libraries (Wx, Zh and other interfaces), but it is a commercial product.

answer Jun 28, 2018 by Rathnakumar Kayyar
Is there a free implementation for ws ?
0 votes

You mean free implementation of Wx from us? No, but if it is for academic purpose, you can use the evaluation copy, which provides the full functionality, but will work only for limited period.

We offer C-libraries.

If this works for you, please send me a mail (rkayyar@lcnpl.com with details of your requirement/organization.

answer Jun 29, 2018 by Rathnakumar Kayyar
Similar Questions
+1 vote

I have successfully installed freediameter and configured it as a relay and redirect agent. I have a query related to Redirect Agent Implementation.

All answers by the redirect agent include the following AVPs:Session-IDOrigin-HostOrigin-RealmResult-CodeError-MessageRedirect-Host-Usage Redirect-Max-Cache-TimeRedirect-Host

Now when a Credit-Control-Request is sent, the Redirect Agent sends a Credit-Control-Answer without including the following mandatory AVPs, Auth-Application-IdCC-Request-TypeCC-Request-Number
It seems that this answer is discarded by the PGW because of non-inclusion of the above mandatory AVPs.

Is there any need to modify the code in the redirect_extension so that all mandatory AVPs are included from the query message or the PGW sending the Credit Control Request should be able to handle it without those AVPs.

+2 votes

Does Mme also sends Purge(PUR) to HSS before sending delete session request to SGW when MME receives detach request from enodeb side ?
It would be great if you give your valuable suggestion ?

...