CoreID fork of node-radius-server
Go to file
2020-02-16 19:14:54 +01:00
src fix: eap call is using wrong this, needs more refactoring later 2020-02-15 00:43:11 +01:00
ssl initial commit 2020-02-15 00:20:24 +01:00
.eslintrc.js chore: add eslint and prettier 2020-02-16 19:14:54 +01:00
.gitignore chore: add eslint and prettier 2020-02-16 19:14:54 +01:00
.prettierrc chore: add eslint and prettier 2020-02-16 19:14:54 +01:00
eapol_test initial commit 2020-02-15 00:20:24 +01:00
notes initial commit 2020-02-15 00:20:24 +01:00
package-lock.json initial commit 2020-02-15 00:20:24 +01:00
package.json initial commit 2020-02-15 00:20:24 +01:00
README.md chore: add eslint and prettier 2020-02-16 19:14:54 +01:00
tsconfig.eslint.json initial commit 2020-02-15 00:20:24 +01:00
tsconfig.json initial commit 2020-02-15 00:20:24 +01:00

Basic RADIUS Server for node.js for Google LDAP Service and WPA2 Enteprise WLAN Authentification.

  • Only implements LDAP as Authentification Backend
  • Only WPA TTLS implemented (as this is the only one that works with Google LDAP Service)

Known Issues / Disclaimer

This is a first implementation draft, which is currently only working with a nodejs fork (see https://github.com/nodejs/node/pull/31814).

  • PAP / CHAP RFC not found to implement this correctly
  • Project needs more structure and interfaces to extend it more easily in the future (make a full radius server out of it ;)?)
  • No package queuing or any kind of respsecting the MTU size
  • a lot of bugs

CONTRIBUTIONS WELCOME!

Installation

npm install
npm run build

Introduction

This app provides a radius server to authenticate against google's SLDAP service. To get this running you need: 1.) Running LDAP Service (E.g. Google Suite Enterprise or Gloud Identity Premium) 2.) Use stunnel to connect to the LDAP service and connect this app to the stunnel (I didn't get the client ldap authentication working in here yet) 3.) Install a SSL certificate (e.g. self signed via npm run create-certificate) 4.) Install und build server: npm install && npm run build 5.) Start server node dist/app.ts --secret {RADIUS secret} --baseDN dc=hokify,dc=com

Usage

You need to specify at least a radius password and the base DN for LDAP:

node dist/app.ts --secret {RADIUS secret} --baseDN dc=hokify,dc=com