referefref / honeygogo-smtp

golang honeypot smtp server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

honeygogo-smtp standalone honeypot

A lightweight SMTP honeypot server written in Go, leveraging go-smtp. A stand alone version of a module from honeygogo "a golang honeypot" ecosystem.

Logs mail to stdout and elasticsearch.

crash gopher
Goper image by egonelbre

honygogo-smtp logs metadata about the emails sent to it. It does not relay or save the email data.

Usage Notes

  • the smtp server runs on port 10025
  • set the ELASTICSEARCH_URL env var with the elasticsearch url if desired (ex. http://es:9200)
  • set the MM_LICENSE_KEY env var to pull maxmind geoip database (this is a free thing)
  • set the smtp server port with HGG_PORT
docker pull jothflee/honeygogo-smtp

Contributing/Development

Getting started

run elasticsearch 9200 kibana 5601 and smtp 10025 using docker/docker-compose

docker-compose up

or

go mody tidy
go run main.go

License

The software is using MIT License (MIT) - contributors welcome.

About

golang honeypot smtp server

License:MIT License


Languages

Language:Go 90.8%Language:Dockerfile 6.7%Language:Shell 2.5%