MinePot icon indicating copy to clipboard operation
MinePot copied to clipboard

haproxy support

Open nicolube opened this issue 1 year ago • 0 comments

Hello there,

first of all, this is a nice project. I run a mc network and yes, we get quite a few attacks. There is what I want to do.

I have an haproxy in front of my mc proxy as an application firewall. It does rate-limiting, connection throttling and stuff.

I currently redirect user's that exceed certain limits to a different proxy that just shows a motd, but I actually what to log as much information as I can and this Project looks suitable for that.

Issue is that your Honeypot does not support the proxy protocol that is needed do get the original IPs that have connected to the haproxy.

Docs for the Protocol: https://www.haproxy.org/download/2.3/doc/proxy-protocol.txt

Here are 2 go implementation of proxy protocol:

  • https://github.com/mailgun/proxyproto
  • https://github.com/pires/go-proxyproto

nicolube avatar Sep 16 '24 03:09 nicolube