CoreID fork of node-radius-server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
simon 13f10bae59
chore: add eslint and prettier
4 years ago
src fix: eap call is using wrong this, needs more refactoring later 4 years ago
ssl initial commit 4 years ago
.eslintrc.js chore: add eslint and prettier 4 years ago
.gitignore chore: add eslint and prettier 4 years ago
.prettierrc chore: add eslint and prettier 4 years ago
README.md chore: add eslint and prettier 4 years ago
eapol_test initial commit 4 years ago
notes initial commit 4 years ago
package-lock.json initial commit 4 years ago
package.json initial commit 4 years ago
tsconfig.eslint.json initial commit 4 years ago
tsconfig.json initial commit 4 years ago

README.md

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