thinkst / opencanary

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

Automatically disable portscan in Dockerised OpenCanary #292

Closed jayjb closed 1 year ago

jayjb commented 1 year ago

Proposed changes

We want to tell folks that they cannot use portscan while in a docker container. This change does just that. It automatically disables portscan if in docker and prints out a little statement. Mentioned in #216 (and a few others).

Types of changes

What types of changes does your code introduce to this repository? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.