Hi,
On 21/12/2010 23:37, Simon Leins wrote:
> For the OS signature we are able to change it on the fly with a
> security/network appliance and make it looks unknown, but we now need
> to fake the web server signature. Rather than adding a proxy such as
> varnish in front, I am looking for the way to directly patch the
> source code to change the server signature.
>
> Could someone point me the file name to patch to get this done?
You can edit the server name values by changing 'ngx_http_server_string'
and 'ngx_http_server_full_string' in
src/http/ngx_http_header_filter_module.c. Note the NGINX_VER is set in
nginx.h
Cheers,
Marcus.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx