django-easy-audit icon indicating copy to clipboard operation
django-easy-audit copied to clipboard

Storing IP address as localhost 127.0.0.1 not HTTP_X_FORWARDED_FOR that contains client IP Address

Open asifkhan69 opened this issue 5 years ago • 4 comments

Easy audit is not storing actual client IP Address which Django keeps in HTTP_X_FORWARDED_FOR in user request.META. I found easy audit is using DJANGO_EASY_AUDIT_REMOTE_ADDR_HEADER in setting file with getattr() but not working if we set this in our app setting file like DJANGO_EASY_AUDIT_REMOTE_ADDR_HEADER = 'HTTP_X_FORWARDED_FOR'. Can you please check is this a problem or bug.

asifkhan69 avatar Oct 27 '19 09:10 asifkhan69

Can you give us a sense of why you closed this?

jheld avatar Nov 01 '19 12:11 jheld

It was by mistake and look how to reopen it but failed to do that. If you can reopen and help me on this matter would be great.

Regards, Asif

From: Jason Held [email protected] Reply-To: soynatan/django-easy-audit [email protected] Date: Friday, 1 November 2019 at 5:21 PM To: soynatan/django-easy-audit [email protected] Cc: Asif Khan [email protected], State change [email protected] Subject: Re: [soynatan/django-easy-audit] Storing IP address as localhost 127.0.0.1 not HTTP_X_FORWARDED_FOR that contains client IP Address (#115)

Can you give us a sense of why you closed this?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.

asifkhan69 avatar Nov 01 '19 12:11 asifkhan69

reopened!

jheld avatar Nov 01 '19 13:11 jheld

any body can support to resolve this matter.

asifkhan69 avatar Nov 11 '19 17:11 asifkhan69