Re: multiple named captures in map regex

2016-03-30 Thread Cole Tierney
Thank you, Francis! That’s great. Cole > On Mon, Mar 28, 2016 at 11:30:32PM -0400, Cole Tierney wrote: > > Hi there, > > > Is it possible to have more than one named capture in a map regex? > > In a map regex, yes. > > In a "value" part of a ma

multiple named captures in map regex

2016-03-28 Thread Cole Tierney
Hello, Is it possible to have more than one named capture in a map regex? When I try the following in a map: ~^/(?.)(?.) $a$b; ...I get [emerg] 28486#0: unknown "a$b” variable. I’ve tried "$a$b” and "${a}${b}” with no change. I’m running nginx/1.9.6. Cole

Re: shellshock probing

2015-04-02 Thread Cole Tierney
> On Apr 2, 2015, at 7:21 AM, itpp2012 wrote: > > Cole Tierney Wrote: > --- >> Or is there a better method to block these? > > Not really better but good enough :) > > map $http_refer

Re: shellshock probing

2015-04-01 Thread Cole Tierney
Thanks mex, I’ll check it out. > On Apr 1, 2015, at 4:50 PM, mex wrote: > > hi cole, > > if implemetable you couldd use naxsi https://github.com/nbs-system/naxsi > for this, there exists a rule to detect and block > shellshock-exploit-attempts: > > MainRule "str:() {" "msg:Possible Remote cod

shellshock probing

2015-04-01 Thread Cole Tierney
Hello, I'm seeing lots of shellshock probing in my access logs. My server's not vulnerable, but my logs are filling up with 404s. The requests are for random cgi scripts. The referer and user_agents are the same and always start with () { :; }; followed by curl or wget to a remote perl script p

Re: 2 maps for one 1 variable?

2015-04-01 Thread Cole Tierney
On Apr 1, 2015, at 3:23 PM, Steve Holdoway wrote: > > On Wed, 2015-04-01 at 15:05 -0400, Cole Tierney wrote: >> Hello, >> >> Is it possible to use more than one map directive with a single variable? I >> tried but it seems the second map over writes any value

2 maps for one 1 variable?

2015-04-01 Thread Cole Tierney
Hello, Is it possible to use more than one map directive with a single variable? I tried but it seems the second map over writes any value set by the 1st map even if there is no match in the 2nd map. I tried leaving out the default value in the second map. — Cole __

Re: What HTTP headers does nginx send to SCGI and FastCGI application servers?

2014-12-02 Thread Cole Tierney
On Tue, 02 Dec 2014 20:41:36 +, Some Developer wrote: > I guess I'll just write my daemon and take a dump of all the headers > manually to see exactly what to expect. At least then I can see how the > library will perform under real world conditions. You could try something similar with netc

Re: nginx-1.7.4

2014-08-06 Thread Cole Tierney
on Wed, 6 Aug 2014 16:20:51 +0400, Maxim Konovalov wrote: > On Wed, Aug 06, 2014 at 08:16:44AM -0400, Cole Tierney wrote: >> On Wed, 06 Aug 2014 15:19:43 +0400, Maxim Konovalov wrote: >>> On 8/6/14 3:15 PM, Cole Tierney wrote: >>>> Hello, >>>> Thanks for

Re: nginx-1.7.4

2014-08-06 Thread Cole Tierney
On Wed, 06 Aug 2014 15:19:43 +0400, Maxim Konovalov wrote: > On 8/6/14 3:15 PM, Cole Tierney wrote: >> Hello, >> >> Thanks for the update! >> >> Are there plans to update the mercurial respository? I just tried pulling >> changesets, recompiling, and I

Re: nginx-1.7.4

2014-08-06 Thread Cole Tierney
Hello, Thanks for the update! Are there plans to update the mercurial respository? I just tried pulling changesets, recompiling, and I am still at 1.7.1. — Cole ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx