Extension:TrustedXFF/de-formal
![]() Release status: stable |
|
---|---|
Description | Handling of trusted proxy addresses (XFF) |
Author(s) | Tim StarlingDiskussion |
Latest version | 2.0.0 |
MediaWiki | >= 1.39.0 |
License | GNU General Public License 2.0 or later |
Download | |
Example | mediawiki.org |
Quarterly downloads | 4 (Ranked 166th) |
Public wikis using | 838 (Ranked 300th) |
Translate the TrustedXFF extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The TrustedXFF extension maintains a list of trusted hosts in a file in a PHP array format. For details, see meta:XFF project.
The file can be generated using the generate.php maintenance script.
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
TrustedXFF
im Ordnerextensions/
ablegen. - Folgenden Code am Ende Ihrer
LocalSettings.php
hinzufügen:wfLoadExtension( 'TrustedXFF' );
- Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
Für Benutzer, die MediaWiki in der Version 1.28 und früher betreiben:
Die oben stehenden Anweisungen beschreiben die neue Installationsanweisung für diese Erweiterung unter der Verwendung von wfLoadExtension()
.
Wird diese Erweiterung in einer dieser früheren Versionen (MediaWiki 1.28 und früher) – an Stelle von wfLoadExtension( 'TrustedXFF' );
– installiert, benutzen Sie:
require_once "$IP/extensions/TrustedXFF/TrustedXFF.php";
Limitations
- Useless where
X-Forwarded-For
is unavailable.
As of 2019, many wikis force HTTPS for all things. Any manipulation with headers on a proxy compromises HTTPs server authentication unless the proxy possesses an SSL certificate authoritative for the wiki in question. It makes the extension far less useful nowadays than it was originally envisaged.
Siehe auch
This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |