mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 21:45:25 +08:00
This change adds a `session_stats` aggregate keyed on the session instead, scoring +30 when a session changes address faster than one hop per five minutes across three or more addresses - a rate two addresses cannot trigger, so ordinary wifi/cellular handover stays unscored. The +30 sits below `BOT_SCORE_THRESHOLD` on purpose: corporate round-robin NAT egress is indistinguishable from a proxy pool on the IP axis alone, so rotation is meant to combine with other signals rather than convict on its own. In addition, Baidu was added as a potential crawler ASN. |
||
|---|---|---|
| .. | ||
| assets | ||
| controllers | ||
| helpers | ||
| jobs | ||
| mailers | ||
| models | ||
| queries/reports | ||
| serializers | ||
| services | ||
| views | ||