Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to test a RADIUS server with EAP-MSCHAPv2 authentication protocol? #26

Open
rochiang opened this issue Nov 20, 2017 · 2 comments
Open

Comments

@rochiang
Copy link

I setup a freeRADIUS server and tested it with JRadiusSimulator.
I just specified User-Name, User-Password attributes.
PAP, CHAP, MSCHAPv1 and MSCHAPv2 passed. But for EAP-MSCHAPv2, it stuck after "received RADIUS packet net.sf.jradius.packet.AccessChallenge".
How should I configure the attributes or other settings in JRadiusSimulator?

The server is

/usr/sbin/radiusd -d /etc/raddb -X

FreeRADIUS Version 2.1.12, for host x86_64-redhat-linux-gnu, built on Oct 15 2014 at 05:01:25
Copyright (C) 1999-2009 The FreeRADIUS server project and contributors.

@pavelnt
Copy link

pavelnt commented Nov 30, 2017

There is a problem in release version of JRadiusSimulator (1.1.5).
By default simulator uses Crypto Provider from JDK. This provider doesn't support MD4 algorithm that is required to encode user's password.
See the latest commit from David Greene. Now simulator uses BouncyCastle Crypto Provider.
All should work if you build project from master brunch.

@RobernetCO
Copy link

Hi, i have found EAPTest very useful, just if you have macOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants