48 lines
1.3 KiB
Markdown
48 lines
1.3 KiB
Markdown
---
|
|
title: "[bojemoi] medved: fix faraday reporter infinite retry loop + http port 8000"
|
|
date: 2026-02-27T23:48:41+01:00
|
|
draft: false
|
|
tags: ["commit", "bojemoi", "main"]
|
|
categories: ["Git Activity"]
|
|
summary: "Commit 5934bd9 par Betty dans bojemoi"
|
|
author: "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(-)
|
|
```
|