node-spdyproxy
node-spdyproxy copied to clipboard
about radius!
I use radius ,but the session of Simultaneous-Use is not effective!How can I do?Thank you!
I'm not sure what you're asking, can you elaborate a bit more?
Sorry! I start spdyproxy for this method
spdyproxy -k ssl.key -c ssl.crt -p 443 -v --radius-server localhost --radius-secret testing123 --rius-nasid 0.0.0.0 --rads-creds-ttl 1
I use freeradius 2.12+ mysql 5.1. My radius database name is radius
INSERT INTO radcheck (username,attribute,op,VALUE) VALUES ('test','Cleartext-Password',':=','test');
INSERT INTO radusergroup (username,groupname) VALUES ('test','VIP1');
INSERT INTO radgroupcheck (groupname,attribute,op,value) VALUES ('VIP1','Simultaneous-Use',':=','1');
INSERT INTO radius.nas VALUES ('1','0.0.0.0','The', 'other', NULL ,'testing123',NULL ,NULL ,'RADIUS Client');
But the user ‘test' can still log in and use the two clients!This is the reason?
@canghai908 ah, I see, thanks for the context. Current code doesn't do Simultaenous-Use
checks: https://github.com/igrigorik/node-spdyproxy/blob/master/lib/radiushelper.js#L76-L96
It would have to be extended to support this use case.