chore: node version > 13.9.x
This commit is contained in:
parent
0ccb1b26cc
commit
aa535ccf32
@ -2,6 +2,9 @@
|
||||
"name": "radius-server",
|
||||
"description": "radius server for google LDAP and TTLS",
|
||||
"version": "0.0.1",
|
||||
"engines": {
|
||||
"node": ">13.9.x"
|
||||
},
|
||||
"scripts": {
|
||||
"debug": "DEBUG=radius:* node dist/app.js",
|
||||
"start": "node dist/app.js",
|
||||
|
@ -6,10 +6,6 @@ import { Authentication } from './auth';
|
||||
import { IAuthentication } from './types/Authentication';
|
||||
import { startTLSServer } from './tls/crypt';
|
||||
|
||||
console.log(`Listener Port: ${config.port || 1812}`);
|
||||
console.log(`RADIUS Secret: ${config.secret}`);
|
||||
console.log(`Auth Mode: ${config.authentication}`);
|
||||
|
||||
/* test node version */
|
||||
const testSocket = startTLSServer();
|
||||
if (typeof (testSocket.tls as any).exportKeyingMaterial !== 'function') {
|
||||
@ -18,6 +14,10 @@ if (typeof (testSocket.tls as any).exportKeyingMaterial !== 'function') {
|
||||
process.exit(-1);
|
||||
}
|
||||
|
||||
console.log(`Listener Port: ${config.port || 1812}`);
|
||||
console.log(`RADIUS Secret: ${config.secret}`);
|
||||
console.log(`Auth Mode: ${config.authentication}`);
|
||||
|
||||
(async () => {
|
||||
/* configure auth mechansim */
|
||||
let auth: IAuthentication;
|
||||
|
Loading…
Reference in New Issue
Block a user