Niels Horn's Blog
Random thoughts, tips & tricks about Slackware-Linux, Lego and Star WarsArchive for July, 2009
Flexible scheduling
July 23rd, 2009 by Niels Horn in Linux, Maintenance, Slackware, shell scripting
As explained in my previous post, I needed a flexible way to schedule a small script to run, with variable parameters.
The basic requirements were:
simple to configure (no messing in crontabs)
flexible enough to have different schedules on different weekdays (on Sundays a job should be started at another time than on Mondays, for example)
should offer the [...]
Firewall - Blocking a specific IP
July 23rd, 2009 by Niels Horn in Firewall, Linux, Slackware, shell scripting | No Comments »
This week I needed a solution to block and unblock certain IPs from accessing the internet at certain times.I didn't want to change my firewall script too much and didn't want to change it every time the rules changed (which change a lot due to variable circumstances).
So I created a two-part solution. In this post [...]