Skip to content

[BUG] maltrail in docker stops after some time, container keeps running #19325

@simonszu

Description

@simonszu

Describe the bug
I have an issue where i start the maltrail container, and maltrail starts up fine. But after some time, it is apparently stopping for unknown reasons (problem 1), but the container is still up and running, since apparently maltrail is not its main process, so the container engine has no was to see that the container is faulty (problem 2).

How To Reproduce
Steps to reproduce the behavior:

  1. Start maltrail docker container
  2. Wait some time
  3. Maltrail WebUI is not reachable any more, the container is still running

Expected behavior
Either:

  • maltrail does not simply stop without explanation
    Or:
  • if maltrail stops, the whole container stops and can be recognized as crashed by the container engine

Logs

[o] 'https://zeustracker.abuse.ch/blocklist.php?download=compromised'
 [o] '(custom)'
 [o] '(static)'
 [o] 'https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip=1.1.1.1'
 [o] 'https://github.com/JR0driguezB/malware_configs'
 [o] 'https://urlhaus.abuse.ch/downloads/text/'
 [o] 'http://tracker.viriback.com/dump.php'
 [o] 'https://zeustracker.abuse.ch/monitor.php?filter=all'
 [o] 'https://zeustracker.abuse.ch/blocklist.php?download=compromised'
 [o] '(custom)'
 [o] '(static)'
[i] post-processing trails (this might take a while)...
[i] update finished
[i] trails stored to '/root/.maltrail/trails.csv'
[?] in case of any problems with packet capture on virtual interface 'any', please put all monitoring interfaces to promiscuous mode manually (e.g. 'sudo ifconfig eth0 promisc')
[i] opening interface 'any'
[i] setting capture filter 'ip or ip6'
[^] running...
[i] cleaning up...

[*] ending @ 01:02:01 /2025-07-17/

The [i] cleaning up... is the only log message emitted by maltrail regarding the stop event. I have no idea why it stops.

Environment:

  • Device: Linux on a mini PC
  • OS: Debian Bookworm Linux
  • Type of Maltrail installation: docker
  • Problematic Maltrail component: server, web-interface
  • Maltrail version: latest Docker image (wbsouza/maltrail:latest) as of today

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions