Files
blog/content/posts/commits/2026-02-27-commit-5934bd9.md
Betty 2921d0160b
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled
post: commit 5934bd9 in bojemoi
2026-02-27 23:48:42 +01:00

1.3 KiB

title, date, draft, tags, categories, summary, author
title date draft tags categories summary author
[bojemoi] medved: fix faraday reporter infinite retry loop + http port 8000 2026-02-27T23:48:41+01:00 false
commit
bojemoi
main
Git Activity
Commit 5934bd9 par Betty dans bojemoi Betty

Commit 5934bd9

Repository bojemoi
Branch main
Author Betty
Hash 5934bd97bda6cd0b39ef57117122f4ba96b24b95

Description

faraday_reporter: when Faraday returns 409 CONFLICT (vuln already exists), events were never marked as reported_to_faraday=TRUE because MARK_REPORTED only ran when vuln_id != 0. This caused 25k+ events to be retried every 60s, flooding logs with "Failed to create vuln" warnings. Fix: catch httpx.HTTPStatusError 409 explicitly and set should_mark_reported=True.

medved stack: change HTTP honeypot published port from 8888 to 8000 (port 80 taken by Traefik, port 8080 taken by dnsmasq).

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Files Changed

M	medved/honeypot/faraday_reporter.py
M	stack/65-service-medved.yml

Diff Summary

 medved/honeypot/faraday_reporter.py | 14 +++++++++++++-
 stack/65-service-medved.yml         |  2 +-
 2 files changed, 14 insertions(+), 2 deletions(-)