[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] OT: Bulk Portsentry Unblock IP's



Hi all,

I am interested in periodically unblocking all the IPs blocked by Portsentry.

I assume I can just:  "> hosts.deny"
Yes?

However the IP's will still exist on the routing table. In the past (being a windows user --shoot me if you want) I've just set my alarm for 3am and rebooted the server to clear it.

I know how to remove one IP at a time from the routing table using:
"/sbin/route del -host [IP Address] reject"

What I am looking to do is remove all the blocked IP's in the hosts.deny and the routing table without a reboot.

TIA.

Brian