Menu

#37 allowed-hosts CIDR and more patch for denyhosts-2.6

open
nobody
None
5
2019-08-23
2019-08-23
John Wythe
No

Hi

I would like to contribute a patch that allows allowed-hosts to handle the following formats as well as what it currently does.

n.n.n.n/b
n.n.n.n/m.m.m.m
n.
n.n.

Two files, one is a replacment for allowedhosts.py for denyhosts-2.6.5-2.6.20, may work with others if this file has not changed from those versions. I included the un modified version I started from.
The other is a patch file for regex.py

3 Attachments

Discussion


Log in to post a comment.

MongoDB Logo MongoDB