15 messages in ru.sysoev.nginxRe: filter out tcp connections withou...
FromSent OnAttachments
Stefan ScottNov 30, 2008 6:33 pm 
Stefan ScottNov 30, 2008 6:49 pm 
Stefan ScottNov 30, 2008 6:59 pm 
Rob SchultzNov 30, 2008 7:34 pm 
Marlon de BoerDec 1, 2008 4:15 am 
Igor SysoevDec 1, 2008 4:41 am 
曹 海峰Dec 1, 2008 4:58 am 
Nick PearsonDec 1, 2008 6:20 am 
Igor SysoevDec 1, 2008 6:23 am 
dennis caoDec 1, 2008 6:34 am 
Nick PearsonDec 1, 2008 6:37 am 
Dave CheneyDec 1, 2008 6:51 am 
dennis caoDec 1, 2008 7:25 am 
Stefan ScottDec 1, 2008 11:39 am 
dennis caoDec 1, 2008 10:00 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: filter out tcp connections without sending dataActions...
From:Igor Sysoev (is@rambler-co.ru)
Date:Dec 1, 2008 4:41:27 am
List:ru.sysoev.nginx

On Mon, Dec 01, 2008 at 01:15:28PM +0100, Marlon de Boer wrote:

I want to filter out the following requests

nginx: 127.0.0.1 - - [01/Dec/2008:13:10:15 +0100] "-" 400 0

I want to filter it out with a location match

location = - { access_log off; return 444; }

This doesn't work, any other method to match a "-" request?

No, this does not work as "-" in access_log means no request line at all.