From: Allen R. <al...@z6...> - 2007-03-09 16:20:44
|
Here's a simple python script to generate a classB for data/allowed-hosts #!/bin/env python # ############################################################################ # this script generates a class B for allowed-hosts in WORK_DIR # # try: # cd /usr/share/denyhosts # scripts/allowed-hosts-classB.py 172.22. >> data/allowed-hosts # ############################################################################ import sys for i in xrange(0,255+1): print sys.argv[1]+ str(i) + ".*" -- Allen P. Rueter 314/935-6429 Camp Box 1045 Bryan Rm 509 ___ ___ ___ Washington University / __|_ _/ __| One Brookings Dr. | (__ | |\__ \ St. Louis MO 63130 \____|_|____/ |