Tag: CentOS

Deleting hundreds of thousands of files on Linux

A badly configured server which leaves hundreds of thousands of temporary files in a single folder is a bummer. Not being able to delete them easily is even more so. I tried the standard rm -rf ./*, but all I

Share Button
Posted in Blog Tagged with: , , , ,

Iptables setup to secure Asterisk server

In this article I’m having a look at securing an AsteriskNOW VoIP server with iptables using custom chains, starting with a simple secure configuration, expanding to multiple users and looking at the issue of dynamic IP addresses. AsteriskNOW is a

Share Button
Posted in Blog Tagged with: , , , , ,

Running scripts as root from PHP

I needed to integrate a Linux server with our existing web application, which involved dynamically changing iptables rules by a bash script. For obvious reasons, the script needed root privileges to execute successfully. On CentOS (and a handful of other

Share Button
Posted in Blog Tagged with: , , ,

New NumGuess scripts

In case you’re not checking the NumGuess repository on GitHub every minute, here are the latest and greatest developments: Perl version has been updated to be fully compliant with the guidelines. Bash and Tcl script versions have been added, both tested

Share Button
Posted in Blog Tagged with: , , , ,