Extension:TrustedXFF

puberty is where your ghuuebhuenwkehunjhdnhgywnhhfnjhhfhbbyjnahejauyhuaqrhgygbdyhbagyedbhgyufbhyenjbhjahbhbachhibigwdncuhhbsdyenyfbneybwhjdtbhsbhagjdbhbhvjnisokndvjmhjnsd{POIUYTREDSWQ\][p[]oyp6u89i6\78]\]p][phk[i]bn\[]4\]p]6[o-0sd]s[]\v[avdg][nrtg][n\]yufk][yt\[\td][nh]s[g[s]fhn[


 * You are in the base directory for your wiki


 * ./trusted-hosts.txt is in that directory


 * ./extensions/TrustedXFF/ is one level further

These most likely need to be actual files, not merely symlinks pointing somewhere else, as the code uses __DIR__ and relative paths.

Insert in :

Remain in the base directory; run generate.php using:

At this point, there should be an output file created at ./cache/trusted-xff.cdb

If this exists, and Special:Version reports the extension as installed, it should be good to go.

If you have more than one wiki, be sure to copy the output file to the ./cache/ directory for each of your MediaWiki installations.

Limitations
The list will compile with warnings and the large range will be ignored. This is an issue for services like CloudFlare that occupy multiple, huge chunks of IPv4 space.
 * The extension will not whitelist large ranges, such as an /18 (or wider).

There are a few such ranges hard-coded into TrustedXFF.body.php, but adding more addresses requires editing the code directly.
 * The extension will not accept  ranges in trusted-hosts.txt.