Re: [users@httpd] mod_lua and subprocess_env

2018-03-09 Thread Andrei Ivanov
Yann? Any chance to get this reviewed after the 2.4.32 release? On Tue, Jan 2, 2018 at 7:08 PM, Andrei Ivanov wrote: > Hello? Yann? > > On Thu, Dec 21, 2017 at 5:39 PM, Andrei Ivanov > wrote: > >> Yann? Are you there?  >> >> On Mon, Dec 4,

Re: [users@httpd] mod_lua and subprocess_env

2018-01-16 Thread Eric Covener
On Sun, Jan 7, 2018 at 9:25 AM, sebb wrote: > The mod_lua docs state that subprocess_env can be used to access > process environment variables [1] It appears to imply that the script > can access standard CGI variables. > > However, the only variables that seem to be defined

[users@httpd] mod_lua and subprocess_env

2018-01-07 Thread sebb
The mod_lua docs state that subprocess_env can be used to access process environment variables [1] It appears to imply that the script can access standard CGI variables. However, the only variables that seem to be defined are: SCRIPT_URI SCRIPT_URL There also does not seem to be a way to

Re: [users@httpd] mod_lua and subprocess_env

2018-01-02 Thread Andrei Ivanov
Hello? Yann? On Thu, Dec 21, 2017 at 5:39 PM, Andrei Ivanov wrote: > Yann? Are you there?  > > On Mon, Dec 4, 2017 at 3:43 PM, Andrei Ivanov > wrote: > >> Hi Yann, >> Any news on the reviews? >> >> On Tue, Oct 3, 2017 at 9:58 AM, Andrei Ivanov

Re: [users@httpd] mod_lua and subprocess_env

2017-12-21 Thread Andrei Ivanov
Yann? Are you there?  On Mon, Dec 4, 2017 at 3:43 PM, Andrei Ivanov wrote: > Hi Yann, > Any news on the reviews? > > On Tue, Oct 3, 2017 at 9:58 AM, Andrei Ivanov > wrote: > >> Woohoo! >> >> Thank you ☺ >> >> On Tue, Oct 3, 2017 at 1:44 AM,

Re: [users@httpd] mod_lua and subprocess_env

2017-12-04 Thread Andrei Ivanov
Hi Yann, Any news on the reviews? On Tue, Oct 3, 2017 at 9:58 AM, Andrei Ivanov wrote: > Woohoo! > > Thank you ☺ > > On Tue, Oct 3, 2017 at 1:44 AM, Yann Ylavic wrote: > >> Hi Andrei, >> >> Committed to trunk (http://svn.apache.org/r1810605),

Re: [users@httpd] mod_lua and subprocess_env

2017-10-03 Thread Andrei Ivanov
Woohoo! Thank you ☺ On Tue, Oct 3, 2017 at 1:44 AM, Yann Ylavic wrote: > Hi Andrei, > > Committed to trunk (http://svn.apache.org/r1810605), should have a better > visibility (and review) now. > > Regards, > Yann. > > > On Sun, Sep 17, 2017 at 8:18 PM, Andrei Ivanov

Re: [users@httpd] mod_lua and subprocess_env

2017-10-02 Thread Yann Ylavic
Hi Andrei, Committed to trunk (http://svn.apache.org/r1810605), should have a better visibility (and review) now. Regards, Yann. On Sun, Sep 17, 2017 at 8:18 PM, Andrei Ivanov wrote: > Ok, I understand. > > Thank you very much  > > On Sun, Sep 17, 2017 at 7:14 PM,

Re: [users@httpd] mod_lua and subprocess_env

2017-09-17 Thread Andrei Ivanov
Ok, I understand. Thank you very much  On Sun, Sep 17, 2017 at 7:14 PM, Yann Ylavic wrote: > On Sun, Sep 10, 2017 at 12:46 PM, Andrei Ivanov > wrote: > > Yann? > > What's the next step? Your message didn't seem to draw attention from > others >

Re: [users@httpd] mod_lua and subprocess_env

2017-09-17 Thread Yann Ylavic
On Sun, Sep 10, 2017 at 12:46 PM, Andrei Ivanov wrote: > Yann? > What's the next step? Your message didn't seem to draw attention from others > and it's been almost 2 months That's called lazy consensus :) In other words, I'll commit it to trunk (once rebased, since it

Re: [users@httpd] mod_lua and subprocess_env

2017-09-17 Thread Andrei Ivanov
Yann? Are you there?  On Sun, Sep 10, 2017 at 1:46 PM, Andrei Ivanov wrote: > Yann? > What's the next step? Your message didn't seem to draw attention from > others and it's been almost 2 months  > > On Mon, Aug 7, 2017 at 3:30 PM, Andrei Ivanov

Re: [users@httpd] mod_lua and subprocess_env

2017-09-10 Thread Andrei Ivanov
Yann? What's the next step? Your message didn't seem to draw attention from others and it's been almost 2 months  On Mon, Aug 7, 2017 at 3:30 PM, Andrei Ivanov wrote: > Hmm, if nobody comments on your proposal does it mean you get an implicit > commit acceptance after

Re: [users@httpd] mod_lua and subprocess_env

2017-08-07 Thread Andrei Ivanov
Hmm, if nobody comments on your proposal does it mean you get an implicit commit acceptance after 1 month?  On Sat, Jul 15, 2017 at 7:35 PM, Andrei Ivanov wrote: > This is great news, thank you very much. > > So far I am monitoring the list archives through

Re: [users@httpd] mod_lua and subprocess_env

2017-07-15 Thread Andrei Ivanov
This is great news, thank you very much. So far I am monitoring the list archives through http://mail-archives.apache.org/mod_mbox/httpd-dev/201707.mbox/browser :) On Sat, Jul 15, 2017 at 1:01 AM, Yann Ylavic wrote: > Hi Andrei, > > On Thu, Jul 13, 2017 at 3:21 PM, Andrei

Re: [users@httpd] mod_lua and subprocess_env

2017-07-14 Thread Yann Ylavic
Hi Andrei, On Thu, Jul 13, 2017 at 3:21 PM, Andrei Ivanov wrote: > > Yann? Is it a good time now? I proposed the patch on the httpd-dev mailing list. Waiting for feedbacks, then will commit it. I don't know if you are subscribed to this list, but most follow ups will

Re: [users@httpd] mod_lua and subprocess_env

2017-07-13 Thread Jim Jagielski
Maybe this would be better discussed on dev@ ?? > On Jul 13, 2017, at 9:21 AM, Andrei Ivanov wrote: > > Yann? Is it a good time now?  > > On Tue, Jun 20, 2017 at 6:41 PM, Andrei Ivanov > wrote: > Hi, > Seeing that 2.4.26 was released, is

Re: [users@httpd] mod_lua and subprocess_env

2017-07-13 Thread Andrei Ivanov
Yann? Is it a good time now?  On Tue, Jun 20, 2017 at 6:41 PM, Andrei Ivanov wrote: > Hi, > Seeing that 2.4.26 was released, is this a good time?  > > Thanks again. > > On Sun, May 28, 2017 at 11:54 PM, Yann Ylavic > wrote: > >> Hi Andrei, >> >>

Re: [users@httpd] mod_lua and subprocess_env

2017-06-20 Thread Andrei Ivanov
Hmm, I was actually asking Yann about committing a patch he created. I don't think I understand the connection with the CVEs. On Tue, Jun 20, 2017 at 6:57 PM, Mitchell Krog Photography < mitchellk...@gmail.com> wrote: > Yes as it addresses a number of vulnerabilities discovered. Check mailing >

Re: [users@httpd] mod_lua and subprocess_env

2017-06-20 Thread Mitchell Krog Photography
Yes as it addresses a number of vulnerabilities discovered. Check mailing list for CVE messages sent earlier today. Kind Regards Mitchell Krog ** Visit me at https://mitchellkrog.com ** License My

Re: [users@httpd] mod_lua and subprocess_env

2017-06-20 Thread Andrei Ivanov
Hi, Seeing that 2.4.26 was released, is this a good time?  Thanks again. On Sun, May 28, 2017 at 11:54 PM, Yann Ylavic wrote: > Hi Andrei, > > On Wed, May 24, 2017 at 5:50 PM, Andrei Ivanov > wrote: > > > > Does anybody know anything about Yann?

Re: [users@httpd] mod_lua and subprocess_env

2017-05-28 Thread Andrei Ivanov
On Sun, May 28, 2017 at 11:54 PM, Yann Ylavic wrote: > Hi Andrei, > > On Wed, May 24, 2017 at 5:50 PM, Andrei Ivanov > wrote: > > > > Does anybody know anything about Yann? > > I do :) > > Sorry I didn't have the time to propose something to the

Re: [users@httpd] mod_lua and subprocess_env

2017-05-28 Thread Yann Ylavic
Hi Andrei, On Wed, May 24, 2017 at 5:50 PM, Andrei Ivanov wrote: > > Does anybody know anything about Yann? I do :) Sorry I didn't have the time to propose something to the dev team for now, while 2.4.26 is coming soon and is very unlikely to include such a change on

Re: [users@httpd] mod_lua and subprocess_env

2017-05-24 Thread Andrei Ivanov
Does anybody know anything about Yann? 樂 On Thu, Apr 27, 2017 at 3:47 PM, Andrei Ivanov wrote: > Yann?  > > > On Wed, Apr 19, 2017 at 11:49 AM, Andrei Ivanov > wrote: > >> On Apr 10, 2017 12:10 PM, "Andrei Ivanov" >>

Re: [users@httpd] mod_lua and subprocess_env

2017-04-27 Thread Andrei Ivanov
Yann?  On Wed, Apr 19, 2017 at 11:49 AM, Andrei Ivanov wrote: > On Apr 10, 2017 12:10 PM, "Andrei Ivanov" wrote: > > On Tue, Apr 4, 2017 at 4:25 PM, Andrei Ivanov > wrote: > >> On Wed, Mar 29, 2017 at 12:16 PM, Andrei

Re: [users@httpd] mod_lua and subprocess_env

2017-04-19 Thread Andrei Ivanov
On Apr 10, 2017 12:10 PM, "Andrei Ivanov" wrote: On Tue, Apr 4, 2017 at 4:25 PM, Andrei Ivanov wrote: > On Wed, Mar 29, 2017 at 12:16 PM, Andrei Ivanov > wrote: > >> On Thu, Mar 23, 2017 at 3:52 PM, Andrei Ivanov

Re: [users@httpd] mod_lua and subprocess_env

2017-04-10 Thread Andrei Ivanov
On Tue, Apr 4, 2017 at 4:25 PM, Andrei Ivanov wrote: > On Wed, Mar 29, 2017 at 12:16 PM, Andrei Ivanov > wrote: > >> On Thu, Mar 23, 2017 at 3:52 PM, Andrei Ivanov >> wrote: >> >>> On Wed, Mar 22, 2017 at 5:08 PM, Yann

Re: [users@httpd] mod_lua and subprocess_env

2017-04-04 Thread Andrei Ivanov
On Wed, Mar 29, 2017 at 12:16 PM, Andrei Ivanov wrote: > On Thu, Mar 23, 2017 at 3:52 PM, Andrei Ivanov > wrote: > >> On Wed, Mar 22, 2017 at 5:08 PM, Yann Ylavic >> wrote: >> >>> On Wed, Mar 22, 2017 at 3:45 PM, Andrei

Re: [users@httpd] mod_lua and subprocess_env

2017-03-29 Thread Andrei Ivanov
On Thu, Mar 23, 2017 at 3:52 PM, Andrei Ivanov wrote: > On Wed, Mar 22, 2017 at 5:08 PM, Yann Ylavic wrote: > >> On Wed, Mar 22, 2017 at 3:45 PM, Andrei Ivanov >> wrote: >> > On Wed, Mar 22, 2017 at 3:53 PM, Andrei Ivanov

Re: [users@httpd] mod_lua and subprocess_env

2017-03-23 Thread Andrei Ivanov
On Wed, Mar 22, 2017 at 5:08 PM, Yann Ylavic wrote: > On Wed, Mar 22, 2017 at 3:45 PM, Andrei Ivanov > wrote: > > On Wed, Mar 22, 2017 at 3:53 PM, Andrei Ivanov > > wrote: > > > > Argh! You've sent more emails but Gmail

Re: [users@httpd] mod_lua and subprocess_env

2017-03-22 Thread Eric Covener
On Wed, Mar 22, 2017 at 10:45 AM, Andrei Ivanov wrote: > Argh! You've sent more emails but Gmail received them out of order so I > didn't see your initial email about the changed syntax. FWIW this is probably due to ASF mail problems today. -- Eric Covener

Re: [users@httpd] mod_lua and subprocess_env

2017-03-22 Thread Yann Ylavic
On Wed, Mar 22, 2017 at 2:53 PM, Andrei Ivanov wrote: > > Welcome back :-) Thanks ;) > > These expressions don't work anymore: Can't parse value expression : > Function 'PeerExtList' does not exist > > Header set Client-SAN "expr=%{PeerExtList:2.5.29.17}" > Header set

Re: [users@httpd] mod_lua and subprocess_env

2017-03-22 Thread Yann Ylavic
On Wed, Mar 22, 2017 at 3:45 PM, Andrei Ivanov wrote: > On Wed, Mar 22, 2017 at 3:53 PM, Andrei Ivanov > wrote: > > Argh! You've sent more emails but Gmail received them out of order so I > didn't see your initial email about the changed syntax.

Re: [users@httpd] mod_lua and subprocess_env

2017-03-22 Thread Andrei Ivanov
On Wed, Mar 22, 2017 at 3:53 PM, Andrei Ivanov wrote: > On Wed, Mar 22, 2017 at 3:27 PM, Yann Ylavic wrote: > >> On Wed, Mar 22, 2017 at 1:37 PM, Yann Ylavic >> wrote: >> > >> > There are two patches attached, one for the

Re: [users@httpd] mod_lua and subprocess_env

2017-03-22 Thread Andrei Ivanov
On Wed, Mar 22, 2017 at 3:27 PM, Yann Ylavic wrote: > On Wed, Mar 22, 2017 at 1:37 PM, Yann Ylavic wrote: > > > > There are two patches attached, one for the changes in httpd code, the > > other for the files generated by the bison/flex parser. > >

Re: [users@httpd] mod_lua and subprocess_env

2017-03-20 Thread Andrei Ivanov
On Mon, Mar 13, 2017 at 4:16 PM, Andrei Ivanov wrote: > On Fri, Mar 10, 2017 at 12:35 PM, Andrei Ivanov > wrote: > >> On Tue, Mar 7, 2017 at 7:08 PM, Andrei Ivanov >> wrote: >> >>> On Mon, Mar 6, 2017 at 12:57 PM, Yann

Re: [users@httpd] mod_lua and subprocess_env

2017-03-13 Thread Andrei Ivanov
On Fri, Mar 10, 2017 at 12:35 PM, Andrei Ivanov wrote: > On Tue, Mar 7, 2017 at 7:08 PM, Andrei Ivanov > wrote: > >> On Mon, Mar 6, 2017 at 12:57 PM, Yann Ylavic >> wrote: >> >>> Hi Andrei, >>> >>> On Mon, Mar 6, 2017 at

Re: [users@httpd] mod_lua and subprocess_env

2017-03-10 Thread Andrei Ivanov
On Tue, Mar 7, 2017 at 7:08 PM, Andrei Ivanov wrote: > On Mon, Mar 6, 2017 at 12:57 PM, Yann Ylavic wrote: > >> Hi Andrei, >> >> On Mon, Mar 6, 2017 at 10:15 AM, Andrei Ivanov >> wrote: >> >>> On Thu, Mar 2, 2017 at 12:40

Re: [users@httpd] mod_lua and subprocess_env

2017-03-07 Thread Andrei Ivanov
On Mon, Mar 6, 2017 at 12:57 PM, Yann Ylavic wrote: > Hi Andrei, > > On Mon, Mar 6, 2017 at 10:15 AM, Andrei Ivanov > wrote: > >> On Thu, Mar 2, 2017 at 12:40 PM, Andrei Ivanov >> wrote: >> >>> On Tue, Feb 28, 2017 at

Re: [users@httpd] mod_lua and subprocess_env

2017-03-06 Thread Yann Ylavic
Hi Andrei, On Mon, Mar 6, 2017 at 10:15 AM, Andrei Ivanov wrote: > On Thu, Mar 2, 2017 at 12:40 PM, Andrei Ivanov > wrote: > >> On Tue, Feb 28, 2017 at 12:09 PM, Andrei Ivanov >> wrote: >> >>> On Mon, Feb 27, 2017 at

Re: [users@httpd] mod_lua and subprocess_env

2017-03-06 Thread Andrei Ivanov
On Thu, Mar 2, 2017 at 12:40 PM, Andrei Ivanov wrote: > On Tue, Feb 28, 2017 at 12:09 PM, Andrei Ivanov > wrote: > >> On Mon, Feb 27, 2017 at 11:58 AM, Andrei Ivanov >> wrote: >> >>> On Fri, Feb 24, 2017 at 10:58 PM,

Re: [users@httpd] mod_lua and subprocess_env

2017-03-02 Thread Andrei Ivanov
On Tue, Feb 28, 2017 at 12:09 PM, Andrei Ivanov wrote: > On Mon, Feb 27, 2017 at 11:58 AM, Andrei Ivanov > wrote: > >> On Fri, Feb 24, 2017 at 10:58 PM, Andrei Ivanov >> wrote: >> >>> On Feb 24, 2017 22:54, "Yann

Re: [users@httpd] mod_lua and subprocess_env

2017-02-28 Thread Andrei Ivanov
On Tue, Feb 28, 2017 at 2:02 PM, Eric Covener wrote: > On Mon, Feb 27, 2017 at 4:58 AM, Andrei Ivanov > wrote: > > But I think mod_headers has some different way of interpreting > expressions, > > because this doesn't work: > > The grammar has

Re: [users@httpd] mod_lua and subprocess_env

2017-02-28 Thread Eric Covener
On Mon, Feb 27, 2017 at 4:58 AM, Andrei Ivanov wrote: > But I think mod_headers has some different way of interpreting expressions, > because this doesn't work: The grammar has different starting points for expressions that resolve to boolean values vs. strings. I think

Re: [users@httpd] mod_lua and subprocess_env

2017-02-28 Thread Andrei Ivanov
On Mon, Feb 27, 2017 at 11:58 AM, Andrei Ivanov wrote: > On Fri, Feb 24, 2017 at 10:58 PM, Andrei Ivanov > wrote: > >> On Feb 24, 2017 22:54, "Yann Ylavic" wrote: >> >> On Fri, Feb 24, 2017 at 6:50 PM, Andrei Ivanov

Re: [users@httpd] mod_lua and subprocess_env

2017-02-27 Thread Andrei Ivanov
On Fri, Feb 24, 2017 at 10:58 PM, Andrei Ivanov wrote: > On Feb 24, 2017 22:54, "Yann Ylavic" wrote: > > On Fri, Feb 24, 2017 at 6:50 PM, Andrei Ivanov > wrote: > > > > I've managed to apply your patch and rebuild Apache

Re: [users@httpd] mod_lua and subprocess_env

2017-02-24 Thread Andrei Ivanov
On Feb 24, 2017 22:54, "Yann Ylavic" wrote: On Fri, Feb 24, 2017 at 6:50 PM, Andrei Ivanov wrote: > > I've managed to apply your patch and rebuild Apache and now I have: > Header set Client-IP "expr=%{REMOTE_ADDR}" > Header set Client-SAN

Re: [users@httpd] mod_lua and subprocess_env

2017-02-24 Thread Yann Ylavic
On Fri, Feb 24, 2017 at 6:50 PM, Andrei Ivanov wrote: > > I've managed to apply your patch and rebuild Apache and now I have: > Header set Client-IP "expr=%{REMOTE_ADDR}" > Header set Client-SAN "expr=%{PeerExtList:2.5.29.17}" > Header set Client-DN

Re: [users@httpd] mod_lua and subprocess_env

2017-02-24 Thread Andrei Ivanov
On Wed, Feb 22, 2017 at 5:10 PM, Yann Ylavic wrote: > On Wed, Feb 22, 2017 at 3:19 PM, Andrei Ivanov > wrote: > > On Wed, Feb 22, 2017 at 3:36 PM, Yann Ylavic > wrote: > >> > >> My bad, please try without the parentheses: >

Re: [users@httpd] mod_lua and subprocess_env

2017-02-22 Thread Yann Ylavic
On Wed, Feb 22, 2017 at 3:19 PM, Andrei Ivanov wrote: > On Wed, Feb 22, 2017 at 3:36 PM, Yann Ylavic wrote: >> >> My bad, please try without the parentheses: >> >> Require expr "'IP Address:' . %{REMOTE_ADDR} -in >> PeerExtList('2.5.29.17') > >

Re: [users@httpd] mod_lua and subprocess_env

2017-02-22 Thread Andrei Ivanov
On Wed, Feb 22, 2017 at 3:36 PM, Yann Ylavic wrote: > On Wed, Feb 22, 2017 at 11:19 AM, Andrei Ivanov > wrote: > > On Wed, Feb 22, 2017 at 12:02 PM, Yann Ylavic > wrote: > >> > >> On Wed, Feb 22, 2017 at 10:58 AM, Andrei

Re: [users@httpd] mod_lua and subprocess_env

2017-02-22 Thread Yann Ylavic
On Wed, Feb 22, 2017 at 11:19 AM, Andrei Ivanov wrote: > On Wed, Feb 22, 2017 at 12:02 PM, Yann Ylavic wrote: >> >> On Wed, Feb 22, 2017 at 10:58 AM, Andrei Ivanov >> wrote: >> > >> > So... do I have a chance to get it

Re: [users@httpd] mod_lua and subprocess_env

2017-02-22 Thread Andrei Ivanov
On Wed, Feb 22, 2017 at 12:02 PM, Yann Ylavic wrote: > On Wed, Feb 22, 2017 at 10:58 AM, Andrei Ivanov > wrote: > > > > So... do I have a chance to get it running on RHEL 7.3 which ships with > > 2.4.6? > > That may work in 2.4.6, I just didn't try

Re: [users@httpd] mod_lua and subprocess_env

2017-02-22 Thread Yann Ylavic
On Wed, Feb 22, 2017 at 10:58 AM, Andrei Ivanov wrote: > > So... do I have a chance to get it running on RHEL 7.3 which ships with > 2.4.6? That may work in 2.4.6, I just didn't try ;) "Require expr ... -in" exists (as far as I can tell), and so is PeerExtList I think.

Re: [users@httpd] mod_lua and subprocess_env

2017-02-22 Thread Andrei Ivanov
On Wed, Feb 22, 2017 at 2:13 AM, Yann Ylavic wrote: > On Wed, Feb 22, 2017 at 1:09 AM, Yann Ylavic wrote: > > On Tue, Feb 21, 2017 at 5:43 PM, Andrei Ivanov > wrote: > >> On Tue, Feb 21, 2017 at 6:32 PM, Yann Ylavic

Re: [users@httpd] mod_lua and subprocess_env

2017-02-21 Thread Yann Ylavic
On Wed, Feb 22, 2017 at 1:09 AM, Yann Ylavic wrote: > On Tue, Feb 21, 2017 at 5:43 PM, Andrei Ivanov > wrote: >> On Tue, Feb 21, 2017 at 6:32 PM, Yann Ylavic wrote: >>> >>> On Tue, Feb 21, 2017 at 4:50 PM, Andrei Ivanov

Re: [users@httpd] mod_lua and subprocess_env

2017-02-21 Thread Yann Ylavic
On Tue, Feb 21, 2017 at 5:43 PM, Andrei Ivanov wrote: > On Tue, Feb 21, 2017 at 6:32 PM, Yann Ylavic wrote: >> >> On Tue, Feb 21, 2017 at 4:50 PM, Andrei Ivanov >> wrote: >> >>> >> >>> Header set Client-SAN

Re: [users@httpd] mod_lua and subprocess_env

2017-02-21 Thread Andrei Ivanov
On Tue, Feb 21, 2017 at 6:43 PM, Andrei Ivanov wrote: > On Tue, Feb 21, 2017 at 6:32 PM, Yann Ylavic wrote: > >> On Tue, Feb 21, 2017 at 4:50 PM, Andrei Ivanov >> wrote: >> >>> >> >>> Header set Client-SAN

Re: [users@httpd] mod_lua and subprocess_env

2017-02-21 Thread Andrei Ivanov
On Tue, Feb 21, 2017 at 6:32 PM, Yann Ylavic wrote: > On Tue, Feb 21, 2017 at 4:50 PM, Andrei Ivanov > wrote: > >>> > >>> Header set Client-SAN "%{PeerExtList('2.5.29.17')}s" > > The syntax may be rather: > > Header set Client-SAN

Re: [users@httpd] mod_lua and subprocess_env

2017-02-21 Thread Yann Ylavic
On Tue, Feb 21, 2017 at 4:50 PM, Andrei Ivanov wrote: >>> >>> Header set Client-SAN "%{PeerExtList('2.5.29.17')}s" The syntax may be rather: Header set Client-SAN "expr=%{PeerExtList:2.5.29.17}" Does it work better?

Re: [users@httpd] mod_lua and subprocess_env

2017-02-21 Thread Andrei Ivanov
On Mon, Feb 20, 2017 at 11:31 AM, Andrei Ivanov wrote: > On Fri, Feb 17, 2017 at 12:18 PM, Andrei Ivanov > wrote: > >> >> On Thu, Feb 16, 2017 at 9:26 PM, Eric Covener wrote: >> >>> On Thu, Feb 16, 2017 at 11:16 AM, Andrei

Re: [users@httpd] mod_lua and subprocess_env

2017-02-20 Thread Andrei Ivanov
On Fri, Feb 17, 2017 at 12:18 PM, Andrei Ivanov wrote: > > On Thu, Feb 16, 2017 at 9:26 PM, Eric Covener wrote: > >> On Thu, Feb 16, 2017 at 11:16 AM, Andrei Ivanov >> wrote: >> > Is there a way to debug this? To print the

Re: [users@httpd] mod_lua and subprocess_env

2017-02-17 Thread Andrei Ivanov
On Thu, Feb 16, 2017 at 9:26 PM, Eric Covener wrote: > On Thu, Feb 16, 2017 at 11:16 AM, Andrei Ivanov > wrote: > > Is there a way to debug this? To print the values from the expression in > the > > logs maybe? > > One simple way to debug is to use

Re: [users@httpd] mod_lua and subprocess_env

2017-02-16 Thread Eric Covener
On Thu, Feb 16, 2017 at 11:16 AM, Andrei Ivanov wrote: > Is there a way to debug this? To print the values from the expression in the > logs maybe? One simple way to debug is to use the same [sub-]expressions in mod_headers conditions or header values -- Eric Covener

Re: [users@httpd] mod_lua and subprocess_env

2017-02-16 Thread Andrei Ivanov
On Thu, Feb 16, 2017 at 5:20 PM, Yann Ylavic wrote: > On Thu, Feb 16, 2017 at 2:46 PM, Andrei Ivanov > wrote: > > > > I gave it a try, but seems to reach the same limitation of the expression > > engine :-( > > NSSRequire %{REMOTE_ADDR} in

Re: [users@httpd] mod_lua and subprocess_env

2017-02-16 Thread Yann Ylavic
On Thu, Feb 16, 2017 at 2:46 PM, Andrei Ivanov wrote: > > I gave it a try, but seems to reach the same limitation of the expression > engine :-( > NSSRequire %{REMOTE_ADDR} in PeerExtList('2.5.29.17') > or > Require expr "%{REMOTE_ADDR} in PeerExtList('2.5.29.17')" > >

Re: [users@httpd] mod_lua and subprocess_env

2017-02-16 Thread Andrei Ivanov
On Thu, Feb 16, 2017 at 2:49 PM, Yann Ylavic wrote: > On Tue, Feb 14, 2017 at 1:24 PM, Andrei Ivanov > wrote: > > > > I'm using mod_nss exactly because mod_ssl doesn't expose that variable > and > > my issue that requests that is sitting ignored

Re: [users@httpd] mod_lua and subprocess_env

2017-02-16 Thread Yann Ylavic
On Tue, Feb 14, 2017 at 1:24 PM, Andrei Ivanov wrote: > > I'm using mod_nss exactly because mod_ssl doesn't expose that variable and > my issue that requests that is sitting ignored for 2 months now :-( Did you try something with SSLRequire or a expression like "'' -in

Re: [users@httpd] mod_lua and subprocess_env

2017-02-14 Thread Daniel Gruno
On 02/14/2017 01:24 PM, Andrei Ivanov wrote: > On Tue, Feb 14, 2017 at 2:19 PM, Daniel Gruno > wrote: > > On 02/14/2017 01:16 PM, Andrei Ivanov wrote: > > On Tue, Feb 14, 2017 at 1:59 PM, Daniel Gruno

Re: [users@httpd] mod_lua and subprocess_env

2017-02-14 Thread Andrei Ivanov
On Tue, Feb 14, 2017 at 2:19 PM, Daniel Gruno wrote: > On 02/14/2017 01:16 PM, Andrei Ivanov wrote: > > On Tue, Feb 14, 2017 at 1:59 PM, Daniel Gruno > > wrote: > > > > On 02/14/2017 12:38 PM, Andrei Ivanov wrote: > >

Re: [users@httpd] mod_lua and subprocess_env

2017-02-14 Thread Daniel Gruno
On 02/14/2017 01:16 PM, Andrei Ivanov wrote: > On Tue, Feb 14, 2017 at 1:59 PM, Daniel Gruno > wrote: > > On 02/14/2017 12:38 PM, Andrei Ivanov wrote: > > Hi, > > I'm trying to create a lua authorization script but I can't seem to >

Re: [users@httpd] mod_lua and subprocess_env

2017-02-14 Thread Andrei Ivanov
On Tue, Feb 14, 2017 at 1:59 PM, Daniel Gruno wrote: > On 02/14/2017 12:38 PM, Andrei Ivanov wrote: > > Hi, > > I'm trying to create a lua authorization script but I can't seem to > > access the request environment: > > > > require 'apache2' > > > > function

Re: [users@httpd] mod_lua and subprocess_env

2017-02-14 Thread Daniel Gruno
On 02/14/2017 12:38 PM, Andrei Ivanov wrote: > Hi, > I'm trying to create a lua authorization script but I can't seem to > access the request environment: > > require 'apache2' > > function authz_check_remote_ip_in_client_san(r) > r:err("remote_ip_in_client_san running..."); >

[users@httpd] mod_lua and subprocess_env

2017-02-14 Thread Andrei Ivanov
Hi, I'm trying to create a lua authorization script but I can't seem to access the request environment: require 'apache2' function authz_check_remote_ip_in_client_san(r) r:err("remote_ip_in_client_san running..."); r:alert("uri: " .. r.uri); r:alert("useragent_ip: " ..