niklaswall / node-red-contrib-radius Goto Github PK
View Code? Open in Web Editor NEWNode-Red node for RADIUS authentication and accounting
Node-Red node for RADIUS authentication and accounting
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.