annotate mod_version_spoofed/README.md @ 6319:04c3273cb81f

mod_auth_cyrus: Add empty 'profile' table to SASL handler objects This is for compatibility with Prosody's built-in util.sasl objects. A SASL profile table usually includes methods supported by the backend, which can be used by SASL mechanism handlers to perform operations (such as testing the password). It also optionally contains a 'cb' field with channel binding method handlers. The Cyrus backend doesn't support channel binding, and doesn't have the same concept of auth backend methods (it handles all that internally, and Prosody has no insight or control over it). Thus, we create an empty profile which informs Prosody that the SASL handler does not support any of the auth or channel binding methods. Some features will not work, but they didn't work anyway. This just makes it explicit. This fixes a traceback in mod_sasl2_fast, which expected SASL handlers to always contain a 'profile' field.
author Matthew Wild <mwild1@gmail.com>
date Thu, 04 Sep 2025 10:14:46 +0100
parents 0bd63c52bbed
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6271
0bd63c52bbed mod_version_spoofed: fix README
Nicholas George <wirlaburla@worlio.com>
parents: 6270
diff changeset
1 ---
0bd63c52bbed mod_version_spoofed: fix README
Nicholas George <wirlaburla@worlio.com>
parents: 6270
diff changeset
2 summary: Server version spoofer
0bd63c52bbed mod_version_spoofed: fix README
Nicholas George <wirlaburla@worlio.com>
parents: 6270
diff changeset
3 ...
6270
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
4
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
5 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.
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
6
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
7 # Configuration
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
8
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
9 Name Description Type Default value
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
10 ---------------------- --------------------------------------------------- -------- ---------------
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
11 server\_name the reported name of the server software string "Prosody"
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
12 server\_version the reported version of the server software string `prosody.version`
6271
0bd63c52bbed mod_version_spoofed: fix README
Nicholas George <wirlaburla@worlio.com>
parents: 6270
diff changeset
13 server\_platform the reported platform of the server software string nil
6270
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
14
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
15 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.
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
16
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
17 As a tip if you want complete spoofing, you should use the `name` option under your VirtualHost and components to hide mentions of Prosody.
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
18
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
19 Compatibility
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
20 =============
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
21
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
22 version note
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
23 --------- ---------------------------------------------------------------------------
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
24 13 Should work
cc42d3548452 mod_version_spoofed: add new evil module
Nicholas George <wirlaburla@worlio.com>
parents:
diff changeset
25 0.12 Works