CoreID fork of node-radius-server
Go to file
simon 0cb807a555 fix: a lot of bug fixes, first running version for windows and android :)
code is super ugly right now.. please don't judge
2020-02-22 02:36:06 +01:00
src fix: a lot of bug fixes, first running version for windows and android :) 2020-02-22 02:36:06 +01:00
ssl fix: a lot of bug fixes, first running version for windows and android :) 2020-02-22 02:36:06 +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
config.js fix: a lot of bug fixes, first running version for windows and android :) 2020-02-22 02:36:06 +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 fix: a lot of bug fixes, first running version for windows and android :) 2020-02-22 02:36:06 +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