Server signature

Eugaia ngx.eugaia at gmail.com
Wed Dec 22 01:25:06 MSK 2010


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.




More information about the nginx mailing list