Peter Bonivart <shuttlebox@...> wrote: > If the log file is produced by syslog a contributed script can parse > it using a marker, extracting timestamp and addresses. Number of hours > for removal should be configurable. Even simpler would be to combine > it with logrotate and have a script remove all entries in the not > current log file. Up to the user to set logrotate intervals. Another idea: for each A record stored, I can add a TXT record for the current date. For instance, for today may 20th, I blacklist 192.0.2.1 and 192.0.2.2. I would have in my zone file: 1.2.0.192.bl.example.net IN A 127.0.0.1 2.2.0.192.bl.example.net IN A 127.0.0.1 20130520.bl.example.net IN TXT 1.2.0.192.bl.example.net 20130520.bl.example.net IN TXT 2.2.0.192.bl.example.net That way I just need to perform a DNS lookup on current date to get all the records I need to cleanup. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz manu@...
Message
Re: [milter-greylist] nsupdate support
2013-05-20 by manu@...
Attachments
- No local attachments were found for this message.