Skip to content

[3.0] Dont let bots flood logs#9145

Merged
jdarwood007 merged 1 commit intoSimpleMachines:release-3.0from
sbulen:30_dont_log_bad_referrers
Mar 12, 2026
Merged

[3.0] Dont let bots flood logs#9145
jdarwood007 merged 1 commit intoSimpleMachines:release-3.0from
sbulen:30_dont_log_bad_referrers

Conversation

@sbulen
Copy link
Contributor

@sbulen sbulen commented Mar 12, 2026

Fixes #9142

3.0 version of #9144 . More discussion may be found there.

Just don't log "Unable to verify referring URL" errors. This gives a handle for bots to flood your logs. Plus, I'm not sure the info is usable or actionable. Note also that the other similar session errors throughout this logic are not logged.

I kept the one a few lines below this as logged - that condition appears to be more of a trap for an internal issue. So it's kept, for now...

Signed-off-by: Shawn Bulen <bulens@pacbell.net>
@jdarwood007 jdarwood007 added this to the 3.0 Alpha 5 milestone Mar 12, 2026
@jdarwood007 jdarwood007 merged commit d39897f into SimpleMachines:release-3.0 Mar 12, 2026
8 checks passed
@sbulen sbulen deleted the 30_dont_log_bad_referrers branch March 13, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[2.1 & 3.0] "Unable to verify referring URL" errors can flood the SMF error log

2 participants