You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use fail2ban to block unwanted IP's. When an IP is blocked by a rule it is logged in NPM log files like [error] 208#208: *1046 access forbidden by rule, client: x.x.x.x, server: npmservr, request: "GET /api/ HTTP/2.0", host: "npmservr", referrer: "npmservr"
so it is easy to filter these by fail2ban.
Now when a login is unauthorized, on the website we get Invalid password
or No relevant user found
but nothing is logged in the NPM log files.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
We use fail2ban to block unwanted IP's. When an IP is blocked by a rule it is logged in NPM log files like
[error] 208#208: *1046 access forbidden by rule, client: x.x.x.x, server: npmservr, request: "GET /api/ HTTP/2.0", host: "npmservr", referrer: "npmservr"
so it is easy to filter these by fail2ban.
Now when a login is unauthorized, on the website we get
Invalid password
or
No relevant user found
but nothing is logged in the NPM log files.
Is there a way to get these logged also?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions