Skip to main content

Displays source IPs in log when behind a reverse proxy

Project description

License: AGPL-3

Forwarded-for IPs in log

This module makes werkzeug messages in the log show the IP the requests come from instead of the reverse proxy one.

Installation

Only install the module in the database.

Configuration

You should be running Odoo with –proxy-mode or proxy_mode = True in your configuration file and have your reverse proxy set the XFF header.

This can be achieved with nginx adding the following in your site configuration:

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

Usage

If everything is well configured, you will see the IPs the requests come from in the log instead of the proxy one.

Known issues / Roadmap

  • None

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.

Credits

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit http://odoo-community.org.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo8_addon_log_forwarded_for_ip-8.0.1.0.0.99.dev12-py2-none-any.whl.

File metadata

File hashes

Hashes for odoo8_addon_log_forwarded_for_ip-8.0.1.0.0.99.dev12-py2-none-any.whl
Algorithm Hash digest
SHA256 2f0553e062cc4154adb0b83ebc5d96d0bc8c3907afc9f0135156f56efbdaa40f
MD5 a15caa5c890194b0e07aa6dc8c79f5b2
BLAKE2b-256 8c8b456bacc5238a4abe6a358bf331d3a7cda419cf02828eec983ab0a7673faa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page