File

mod_version_spoofed/README.md @ 6320:ebcf612da2b1

mod_http_oauth2: Use numeric for loop instead of ipairs Pedantic attempted optimization, reducing function calls. I didn't even measure, only vaguely recall that this is faster in PUC Lua.
author Kim Alvefur <zash@zash.se>
date Thu, 03 Jul 2025 12:14:53 +0200
parent 6316:0bd63c52bbed
line wrap: on
line source

---
summary: Server version spoofer
...

This module is a fork of the built-in mod_version that adds spoofing options. Please do not use this module to mess with services that provide statistics and information. Instead, contact the hosts of such services and request blacklisting.

# Configuration

  Name                   Description                                           Type      Default value
  ---------------------- --------------------------------------------------- -------- ---------------
  server\_name           the reported name of the server software            string   "Prosody"
  server\_version        the reported version of the server software         string   `prosody.version`
  server\_platform       the reported platform of the server software        string   nil

This replaces mod_version, so you must disable mod_version when enabling or the modules might conflict. Unconfigured, this module acts the same as mod_version.

As a tip if you want complete spoofing, you should use the `name` option under your VirtualHost and components to hide mentions of Prosody.

Compatibility
=============

  version   note
  --------- ---------------------------------------------------------------------------
  13        Should work
  0.12      Works