0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/app
Krzysztof Kotlarek 03a7c723a2
DEV: Score sessions that rotate IP addresses in CrawlerScorer (#42083)
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.
2026-07-28 18:05:04 +08:00
..
assets FEATURE: Add workflow tags (#42056) 2026-07-27 17:22:42 +02:00
controllers FIX: Allow logged-in users to redeem invites when new registrations are disabled (#42026) 2026-07-25 17:02:30 +02:00
helpers PERF: Avoid replacing CSP nonces in non-cacheable responses (#42008) 2026-07-24 09:49:01 +08:00
jobs PERF: Serve the activity_by_category report from daily rollups (#42046) 2026-07-28 12:53:29 +08:00
mailers FEATURE: Log in with a one-time email code (#40804) 2026-06-17 12:34:48 -07:00
models DEV: Score sessions that rotate IP addresses in CrawlerScorer (#42083) 2026-07-28 18:05:04 +08:00
queries/reports DEV: Remove reporting_improvements upcoming change (#41259) 2026-07-01 07:52:02 +08:00
serializers FIX: Staged-user email disclosure to moderators via UserCardSerializer (#41993) 2026-07-23 13:47:48 -05:00
services PERF: Serve the activity_by_category report from daily rollups (#42046) 2026-07-28 12:53:29 +08:00
views PERF: Avoid HTML escaping preloaded JSON (#41978) 2026-07-24 09:25:06 +08:00