thinkst / opencanary

Modular and decentralised honeypot
http://opencanary.org
BSD 3-Clause "New" or "Revised" License
2.29k stars 358 forks source link

Add listen_addr parameter to modules where it missed #337

Closed beerman17 closed 8 months ago

beerman17 commented 8 months ago

Proposed changes

The modules for imitation rdp, redis, git and vnc protocols don't use "device.listen_addr" parameter from config file. So there is no problem if you have only IPv4 network interfaces on your host where Opencanary is running as it runs on all ipv4 addresses by default. But if you have only IPv6 network this modules cannot be used.

I simply added self.listen_addr just as it is in other modules