alexbacchin / tinyradius4net Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/tinyradius4net
Automatically exported from code.google.com/p/tinyradius4net
What steps will reproduce the problem?
1. Configure radius server , Configure RuggedCom switch for the radius server
2. Try to login as a user other than admin user. (Attribute should contain
vendor Specific attribute) . Make sure you have added vendor specific attribute
for RuggedCom
VENDOR 15004 RuggedCom
VENDORATTR 15004 RuggedCom-Privilege-level 2 string
3. Throws exception in the server while reading attributes from the dictionary
file in the server. When seen in Wireshark says malformed packet.
What is the expected output? What do you see instead?
Should read the vendor specific attribute
What version of the product are you using? On what operating system?
tinyradius for .net in windows 7
Please provide any additional information below.
Am not sure whehter i have latest version. Please provide link to the latest
version if there is any.
Original issue reported on code.google.com by [email protected]
on 4 Feb 2014 at 10:51
RFC 2865 says:
Call the shared secret S and the pseudo-random 128-bit Request
Authenticator RA. Break the password into 16-octet chunks p1, p2,
etc. with the last one padded at the end with nulls to a 16-octet
boundary. Call the ciphertext blocks c(1), c(2), etc. We'll need
intermediate values b1, b2, etc.
b1 = MD5(S + RA) c(1) = p1 xor b1
b2 = MD5(S + c(1)) c(2) = p2 xor b2
. .
. .
. .
bi = MD5(S + c(i-1)) c(i) = pi xor bi
The String will contain c(1)+c(2)+...+c(i) where + denotes
concatenation.
However when calculating b2, b3, b4, etc. Secret+P1, Secret+P2, Secret+P3, etc
is used, when it should have been c(1), c(2), c(3), etc.
This means that passwords longer than 16bytes will be calculated wrong and will
not work.
Attached is patch that fixes the problem..
Hope this help you (or someone else)
Cheers
Esben
Original issue reported on code.google.com by [email protected]
on 16 May 2013 at 9:10
Attachments:
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.