Giter Site home page Giter Site logo

Comments (5)

muirdm avatar muirdm commented on September 3, 2024

Yes, that is what this library is designed for. This library only provides encoding and decoding of RADIUS packets, so you need to hook up all the other application logic.

from node-radius.

gjongenelen avatar gjongenelen commented on September 3, 2024

So, I'm trying to do this, using Unifi AP's. But none of the devices are able to login, while a radtest works great. Do I need a bit of TLS? What could be the problem? The Access-request package does not contain a password-field.

from node-radius.

muirdm avatar muirdm commented on September 3, 2024

Can you include a dump of the packet?

from node-radius.

gjongenelen avatar gjongenelen commented on September 3, 2024

Of course:

{ 'User-Name': 'xxxxxxxx',
  'NAS-IP-Address': '172.16.10.13',
  'NAS-Identifier': 'f09fc2734187',
  'NAS-Port': 0,
  'Called-Station-Id': 'F0-9F-C2-75-41-87:SSID+',
  'Calling-Station-Id': 'B8-53-AC-14-4D-7D',
  'Framed-MTU': 1400,
  'NAS-Port-Type': 'Wireless-802.11',
  'Connect-Info': 'CONNECT 0Mbps 802.11b',
  'EAP-Message': <Buffer xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx>,
  'Message-Authenticator': <Buffer xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx> }

I replace buffer contents because I don't really know what is in it 😄

from node-radius.

muirdm avatar muirdm commented on September 3, 2024

Looks like your network is using EAP. This library doesn't have any direct support for handling EAP messages, so you will need to do that yourself or use another package.

from node-radius.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.