At 11:25 AM 11/16/01 -0500, you wrote:
> Hi all, > > I am interested in periodically unblocking all the IPs blocked by > Portsentry. > What I am looking to do is remove all the blocked IP's in the hosts.deny > and the routing table without a reboot. > Brian this script will take care of the host.deny and portsentry blocked files, I found this a while ago on the list.
Thanks for the script Gil. This will make clearing the hosts.deny a bit easier.
I do have a script to clean out sbin route but I have NOT tested it as of yet and well I have to find it, I will post it then
Okay. Thanks. I look forward to seeing the script as this is my main problem. How to bulk remove IP from the routing table without a reboot. Do you know if wildcards work? Something like:
"/sbin/route del -host ***.***.***.*** reject" Where the ***'s stand for any IP addresses. Brian