Joohansson / NanoRPCProxy

A relay, limiter, token and protection system for Nano node RPC & websocket interface
https://api.nanos.cc
GNU General Public License v3.0
96 stars 26 forks source link

Disable logging blacklisted IPs does not work on docker #85

Open Joohansson opened 3 years ago

Joohansson commented 3 years ago

So we have this log set to false to disable logging blocked IPs when they attempt to connect. That works fine normally but not with docker for some reason! I have no idea.

https://github.com/Joohansson/NanoRPCProxy/blob/master/src/proxy.ts#L204

aspic commented 3 years ago

Not sure why this is not working in docker compared to running manually. Perhaps it has something to do with system configured logging? :thinking: I asked the maintainers to release a new version on the ipfilter-package which has a configurable logger (https://github.com/jetersen/express-ipfilter/issues/72) – with this we could supply our own logger into the library.