Is there a setting to turn of a warning that someone is attempting to
access your site in a potentially malicious way? No.

When you get a warning like this, you investigate the cause, and fix the
problem. You don't just silence the warning.

Yours,
Russ Magee %-)

On Thu, May 14, 2015 at 3:44 AM, frocco <faro...@gmail.com> wrote:

> Thanks for getting back to me.
> I am on django 1.5. Is there a setting I can use to avoid getting these
> emails?
> I get at least 5 a week.
>
>
>
> On Tuesday, March 17, 2015 at 6:58:00 PM UTC-4, Russell Keith-Magee wrote:
>>
>> Hi,
>>
>> It's possible that you're getting this error for the exact reason that
>> the check was added - someone is submitting requests to your site with a
>> manipulated HTTP_HOST header. This may not be malicious - it could just be
>> a badly configured robot making web requests.
>>
>> It might also point at a problem with your hosting provider - especially
>> if you're sharing an IP address with g3suprimentos.com.br, or if
>> g3suprimentos.com.br once had the same IP that you're currently using.
>>
>> Without more details, it's hard to say for certain. But is someone trying
>> to hack your site? Almost certainly not. If you were being hacked, you
>> wouldn't have described the problem as "I see this error from time to time"
>> - you would have said "I just received a thousand of these in the last 10
>> minutes". Attackers aren't noted for their subtlety - they will generally
>> try every possible backdoor and exploit that they know of, all at once.
>>
>> Yours,
>> Russ Magee %-)
>>
>> On Tue, Mar 17, 2015 at 11:45 PM, frocco <far...@gmail.com> wrote:
>>
>>> I am concerned because I have a value in ALLOWED_HOSTS, but it is not
>>> this value.
>>>
>>>
>>> On Tuesday, March 17, 2015 at 9:17:15 AM UTC-4, frocco wrote:
>>>>
>>>> SuspiciousOperation: Invalid HTTP_HOST header (you may need to set
>>>> ALLOWED_HOSTS): www.g3suprimentos.com.br
>>>>
>>>> I keep getting this error from time to time.
>>>>
>>>> Is someone trying to hack my site?
>>>>
>>>> Thanks
>>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/5550dde0-4230-4068-a8b5-196f0bd844fc%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/5550dde0-4230-4068-a8b5-196f0bd844fc%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/ab908cd5-8c5b-4d6e-9033-80fca60415f7%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/ab908cd5-8c5b-4d6e-9033-80fca60415f7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJxq84-iGOycH2zn2T9mCLUuTmSOyHdquFHp9Duj39xqZ03dag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to