billchurch / webssh2

Web SSH Client using ssh2, socket.io, xterm.js, and express. webssh webssh2
MIT License
2.26k stars 527 forks source link

express-ipfilter optional ipfilter for array of allowed_ips in config or environment #344

Closed tabroughton closed 7 months ago

tabroughton commented 8 months ago

I have added express-ipfilter to only allow certain ip addresses if they have been added to the config or added as an environment var. If the ip addresses aren't added in the config then the ipfilter isn't used.

sonarcloud[bot] commented 8 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information