Hello, Sure attached is the hosts.trashcan file I am currenly testing. Basically it uses the netfilter time patch. You edit the file to include the ip/hostmask the start_time, stop_time and days to deny. The only down side to this is the date wraping (i.e. deny time going past midnight) and you have to rerun the script after any change to the files.
Ed -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Antony Stone Sent: Sunday, July 07, 2002 7:39 PM To: [EMAIL PROTECTED] Subject: Re: hosts.deny On Monday 08 July 2002 12:33 am, Ed Street wrote: > Hello, > > I've taken the hosts.deny file a bit further and wrote a hosts.trashcan > and a hosts.dnat. > > The hosts.trashcan uses the time patch, it will reject any ip/netmask > from start_time to end_time on days. > > The hosts.dnat file will setup a dnat rule, it's format is > Sport ip dport protocol Can you give some more details on how these work please ? Antony.
hosts.trashcan
Description: Binary data
