RE: [users@httpd] httpd -t -DDUMP_CONFIG and httpd -t -DDUMP_RUN_CFG not helping prove the value of MaxKeepAliveRequests / KeepAlive

2023-12-11 Thread Jason Pyeron
> From: Yann Ylavic 
> Sent: Monday, December 11, 2023 5:45 AM
> 
> On Mon, Dec 11, 2023 at 2:10 AM Jason Pyeron  wrote:
> >
> > I thought I could
> >
> > httpd -t -DDUMP_CONFIG | grep -e KeepAlive
> > httpd -t -DDUMP_RUN_CFG | grep -e KeepAlive
> >
> > but to no avail.
> 
> DUMP_CONFIG comes with mod_info (LoadModule required), but it will
> only show the directives which are configured IIUC
> (https://httpd.apache.org/docs/2.4/mod/mod_info.html#limitations), not
> the default values.
> 
> >
> > So how can I dump the effective configuration which includes defaults?
> >
> > I would really not want to modify our configuration just to add the default 
> > values explicitly.
> 
> I don't know of a setting/module which would show all the effective
> configuration, it would probably not be easy to write/maintain
> (dumping the internal structures).
> Maybe if it's not shown by mod_info it could be considered that the
> default applies, and the auditor could live with that?

That is what I tried, but they "don’t believe it". I am going to show source 
code, but I am pretty sure I lost the battle if that is the route I am going.

--
Jason Pyeron  | Architect
PD Inc| Certified SBA 8(a)
10 w 24th St  | Certified SBA HUBZone
Baltimore, MD | CAGE Code: 1WVR6
 
.mil: jason.j.pyeron@mail.mil
.com: jpye...@pdinc.us
tel : 202-741-9397




-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] httpd -t -DDUMP_CONFIG and httpd -t -DDUMP_RUN_CFG not helping prove the value of MaxKeepAliveRequests / KeepAlive

2023-12-11 Thread Yann Ylavic
On Mon, Dec 11, 2023 at 2:10 AM Jason Pyeron  wrote:
>
> I thought I could
>
> httpd -t -DDUMP_CONFIG | grep -e KeepAlive
> httpd -t -DDUMP_RUN_CFG | grep -e KeepAlive
>
> but to no avail.

DUMP_CONFIG comes with mod_info (LoadModule required), but it will
only show the directives which are configured IIUC
(https://httpd.apache.org/docs/2.4/mod/mod_info.html#limitations), not
the default values.

>
> So how can I dump the effective configuration which includes defaults?
>
> I would really not want to modify our configuration just to add the default 
> values explicitly.

I don't know of a setting/module which would show all the effective
configuration, it would probably not be easy to write/maintain
(dumping the internal structures).
Maybe if it's not shown by mod_info it could be considered that the
default applies, and the auditor could live with that?


Regards;
Yann.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org