Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable the usage of X-Forwarded-For/X-Real-IP #28

Closed
wants to merge 1 commit into from

Conversation

stephdl
Copy link
Collaborator

@stephdl stephdl commented Mar 20, 2024

With roundcubemail we do not catch the real IP but the local ip for bad login

Mar 20 12:06:40 R4-pve.rocky9-pve4.org roundcubemail-app[790326]: errors: <48434fed> IMAP Error: Login failed for [email protected] against R4-pve.rocky9-pve4.org from 10.0.2.100 (X-Real-IP: 192.168.13.25,X-Forwarded-For: 192.168.13.25). Could not connect to R4-pve.rocky9-pve4.org:143: Connection refused in /var/www/html/program/lib/Roundcube/rcube_imap.php on line 211 (POST /?_task=login&_action=login)

https://docs.crowdsec.net/docs/configuration/crowdsec_configuration/#use_forwarded_for_headers

@stephdl
Copy link
Collaborator Author

stephdl commented Mar 20, 2024

lets close for now it cannot see the real ip of dovecot

@stephdl stephdl closed this Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant