Closed russhaun closed 2 years ago
Have worked in new func check_open_port() into honeypot.py. it works like this it takes a port during server creation and returns true or false depending on if open or not. if open it starts a server on that port , if closed it skips and logs the port closed. at end of main() func it takes all closed ports and alerts if needed. resulting in 1 call to write_log() and 1 call to warn_the_good_guys() containing all info. available in next release 1.0.6-beta
1.0.6-beta has these changes closing issue
Exceptions in main honeypot startup are unneeded IMHO. my solution is add checks for ports in startup routine that determine open or closed status. if open use port if closed skip. This way you can put whatever in tcp and udp ports from config file and it will only use available ports.