Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Extension:IPReputation/AbuseFilter variables

From mediawiki.org
<Extension:IPReputation
Translate this page
Languages:
Recommendations:
  • Do use IPReputation variables in combination with other variables to mitigate abuse.
  • Avoid creating blocking AbuseFilters based solely on IPReputation variables due to high risk of unintended blocking of good faith actors
  • Try using IPReputation variables before using IPs and IP ranges in filter conditions
IPReputation AbuseFilter variables
AbuseFilter variables that allow matching against IP reputation data to take specific actions
Group:Trust and Safety Product
Start:2025-02
End:2025-06
Backlog:#ipreputation
Lead:WBrown (WMF),KHarlan (WMF)
Tracked inPhabricator
Task T354599

TheIPReputation extension adds severalAbuseFilter variables if that extension is installed.These variables allow AbuseFilters to filter actions based on the IP reputation data for the IP being used to perform the action.These variables are marked as protected variables, which limits their use to protected filters and hides them from public view.Using these variables can help avoid the use IP addresses and IP ranges in filter conditions.

Where can I use these variables

[edit]

These variables are accessible for all actions performed by anonymous users andtemporary accounts.Additionally, these can be accessed for account creation of permanent accounts if they are creating their account while logged out.Account creations performed by other users and autocreations of permanent accounts are not supported by these variables.Expansion to all actions performed by permanent accounts is dependent onT234155.

As mentioned above, these variables can only be used in protected AbuseFilters.This means that only users with theabusefilter-access-protected-vars right can use these variables or see their value.Additionally, accessing the value of these variables causes a log entry and the value of the variables will expire after 3 months.

What variables are available for use

[edit]

The AbuseFilter variables that currently exist are listed below:

DescriptionNameData typeExtended details
Whether the IP being used by the user is known by the IPoid serviceip_reputation_ipoid_knownboolean
Number of clients associated with IP being used by the userip_reputation_client_countintegerValues are described byclient.count atdocs.spur.us.
List of behaviors associated with the IP being used by the userip_reputation_client_behaviorsarrayValues are described byclient.behaviors atdocs.spur.us.
List of proxy services associated with IP being used by the userip_reputation_client_proxiesarrayValues are described byclient.proxies atdocs.spur.us.
List of risks associated with the IP being used by the userip_reputation_risk_typesarrayValues are described byrisks atdocs.spur.us.
List of tunnel operators associated with the IP being used by the userip_reputation_tunnel_operatorsarrayValues are described bytunnels atdocs.spur.us.

All variables have the value ofnull if the action is being performed by a permanent user (except for account creation).Additionally, except forip_reputation_ipoid_known, the variables arenull ifip_reputation_ipoid_known is is nottrue.

Recommendations for use

[edit]
An example AbuseFilter that uses the IPReputation variables

Research was carried out into the effectiveness of this data in predicting if auser is blocked or if anedit is reverted.This research suggested that using the variables can help to better predict that an edit will be reverted, but that the variables are less useful for determining if an account would be blocked.

While the above research suggests that these variables can better predict if an edit will be reverted, an action matching these variables does not necessarily mean that the action being performed is inherently bad-faith.This is because users may be using a shared internet connection or need to use proxies to access the site.Additionally, the data may be out of date for IPs that are highly dynamic and may be reassigned to a good faith user.

We recommend:

  • Use IPReputation variables in combination with other variables.
  • Do not configure AbuseFilters to outright block actions based solely on IPReputation variables, instead you should flag the action or warn the user before taking the action.
  • Try using IPReputation variables before using IPs and IP ranges in filter conditions.

If you have additional recommendations for using these variables, please add them to this page.

Retrieved from "https://www.mediawiki.org/w/index.php?title=Extension:IPReputation/AbuseFilter_variables&oldid=7904508"
Category:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp