Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Logging Invalid password or No relevant user found #4096

Unanswered
wforumw asked this question in Q&A
Discussion options

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!

You must be logged in to vote

Replies: 1 comment

Comment options

Anyone an idea?
Many thanks!!

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.