ninoseki / mihari

A query aggregator for OSINT based threat hunting

Home Page:https://ninoseki.github.io/mihari/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]

xg5-simon opened this issue · comments

Describe the bug

Mihari Docker Container does not accept connections from outside the container because the default configuration is to bind the web service to localhost/127.0.0.1.

When you bind to localhost/127.0.0.1, the program will only accept connections coming from inside the container and a 3rd party app such as socat has to be installed as a workaround to forward the containers external port to the web service on 127.0.0.1:9292

Steps to reproduce

  • Follow the Mihari documentation to run the web service via a container.

Expected behavior

  • Mihari web service should be bound to 0.0.0.0

Actual behavior

  • NA

Screenshots

  • NA

System Information:

  • OS: Alpine Linux v3.17
  • Ruby version: 3.1.3p185
  • Mihari version: 4.11.0

Additional context

  • NA

Another work around to specify 0.0.0.0

docker run -dp 9292:9292 mihari web --host 0.0.0.0