Giter VIP home page Giter VIP logo

node-red-contrib-radius's People

Contributors

niklaswall avatar

node-red-contrib-radius's Issues

error when sending results from auth process to requestor

Hi there, when processing a simple auth from a "radius request" with the below message, it processes the auth, accepts and sends the output to the radius-response widget, there is an error stating that

#RADIUS AUTH req:
Access-Request : msg.payload : Object
object
code: "Access-Request"
identifier: 2
length: 72
authenticator: buffer[16]
[0 … 9]
[10 … 15]
attributes: object
NAS-Identifier: "Homeland_Security_Remote"
User-Name: "test01"
User-Password: "test01"
raw_attributes: array[3]
0: array[2]
0: 32
1: buffer[24]
Homeland_Security_Remote
1: array[2]
0: 1
1: buffer[6]
test01
2: array[2]
0: 2
1: buffer[16]
Âk¥@k�+qk�/WT�³Ô

ERROR FROM THE radius-response widget:
msg : error
"TypeError: Cannot read property 'length' of undefined"

Message sent from the supplied example Function :
Access-Request : msg.payload : Object
object
code: "Access-Accept"
identifier: 2
length: 72
authenticator: buffer[16]
�Û¦�üĪ��FR����ø
attributes: array[2]
0: array[2]
0: "Idle-Timeout"
1: 3600
1: array[2]
0: "Vendor-Specific"
1: 5089
raw_attributes: array[3]
0: array[2]
0: 32
1: buffer[24]
Homeland_Security_Remote
1: array[2]
0: 1
1: buffer[6]
test01
2: array[2]
0: 2
1: buffer[16]
Âk¥@k�+qk�/WT�³Ô

this is runing on a rpi with the latest buster code.

Is there by chance an updated example or code ?

thanks for the work thus far
John

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.