You can try nanny as an alternative (https://github.com/voron00/Nanny) since it has an IP authentication. But libcod would be indeed a more superiour solution.