Welcome! Log In Create A New Profile

Advanced

Re: 400 bad request errors

October 06, 2009 10:19AM
pepejose Wrote:
-------------------------------------------------------
> hello again! jeje
>
> well, I've been watching the logs again and the
> report of Logwatch, now with nginx as reverse
> proxy in front of apache I have in one hour 441
> "NULL 400 Bad Requests" made by 45 ips aprox
>
> example:
>
> 17 connections: same ip, same second
>
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
> IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> "-" "-"
>
>
> These amounts are normal with nginx?
> how can I know the causes of this?
> What can I do?
>
> thanks!! thanks!! thanks!!

I've been looking at the error.log

this is the type of error that causes these entries in the access.log

2009/10/05 18:26:12 [info] 31810#0: *29604 client closed prematurely connection while reading client request line, client: IP, server: _


in my configuration file I have the following virtualhost:

server {
listen *:80;
server_name _; #default
return 444;
}


then, why a request without host header generating a response 400 (bad request) and not a 444 as in the case if there is the host header but there is no virtualhost defined with same host?

thanks!!!
Subject Author Posted

400 bad request errors

pepejose September 28, 2009 10:07AM

Re: 400 bad request errors

Maxim Dounin September 28, 2009 10:30AM

Re: 400 bad request errors

Ray September 28, 2009 10:40AM

Re: 400 bad request errors

pepejose September 28, 2009 10:44AM

Re: 400 bad request errors

Maxim Dounin September 28, 2009 10:56AM

Re: 400 bad request errors

pepejose September 28, 2009 11:02AM

Re: 400 bad request errors

pepejose October 01, 2009 04:13AM

Re: 400 bad request errors

pepejose October 06, 2009 10:19AM

Re: 400 bad request errors

Igor Sysoev October 06, 2009 10:44AM

Re: 400 bad request errors

pepejose October 06, 2009 10:56AM

Re: 400 bad request errors

pepejose October 06, 2009 11:12AM

Re: 400 bad request errors

Igor Sysoev October 06, 2009 11:20AM

Re: 400 bad request errors

pepejose October 06, 2009 11:53AM

Re: 400 bad request errors

Igor Sysoev October 06, 2009 12:50PM

Re: 400 bad request errors

pepejose October 06, 2009 01:08PM

Re: 400 bad request errors

pepejose October 07, 2009 10:57AM

Re: 400 bad request errors

Igor Sysoev October 07, 2009 11:20AM

Re: 400 bad request errors

cdan18po October 08, 2009 02:35AM

Re: 400 bad request errors

pepejose October 08, 2009 09:59AM

Re: 400 bad request errors

Igor Sysoev October 08, 2009 10:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 295
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready