A quick solution for blocking dos attacks can be
mod_evasive on an apache2 web server:
# mkdir -p /root/tmp # cd /root/tmp # wget http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz # tar zxvf mod_evasive_1.10.1.tar.gz # cd mod_evasive # apxs -cia mod_evasive20.c
I always liked the Slackware distribution, everything (well, almost) is really simple and straightforwar. For some time i'm using Zenwalk, a slackware-based distro, on my laptop.
At some point, i needed to connect to a nearby access point, and fortunately this samsung r20 has built-in an Atheros wireless adapter.
It appears Attansic was recently bought by Atheros. However, getting it to work on GNU/Debian Lenny is as simple as:
apt-get install atl2-modules-2.6-686 modprobe atl2
And here it is:
root@gw # ifconfig eth1 eth1 Link encap:Ethernet HWaddr 00:1e:8c:18:88:a6 BROADCAST MULTICAST MTU:1500 …
On the machine you want to log to (i have a slackware one):
root[floyd]# nano /etc/rc.d/rc.syslog
echo -n "/usr/sbin/syslogd"/usr/sbin/syslogd
echo -n "/usr/sbin/syslogd -r "/usr/sbin/syslogd -r
root[floyd]# /etc/rc.d/rc.syslog …
Few days ago I bought a brand-new Zakang ZX-400 phone, from a local CDMA
Also, I have opted for a monthly subscription, including unlimited internet access.
The main issue is that they provide drivers/instructions for WinXP/2000, and I'm not going to use Windows just because of …
Well, as i said in previous post, Updating Slackware I took the following steps: Adjusted /etc/slapt-get/slapt-getrc to point to the newer release:
After that, i did the following:
slapt-get --dist-upgrade --ignore-excludes --download-onlyslapt-get --install kernel --no-upgradeslapt-get --dist-upgrade --ignore-excludes
And adjusted /etc …more…
I have an old router/gateway, still running Slackware 10.0, and since i can't afford more than 5-10min downtime on that box, i'll have to find a reliable way to upgrade "on-the-fly" the os to a newer release.
Afaik, there are a lot of folks that managed to update …more…
A useful utility for backing-up network devices configuration i have recently stumbled upon is RANCID, (Really Awesome New Cisco confIg Differ) which allows for backup automation. It also allows for keeping a history of changes done to devices' configuration, using either CVS or SVN, also all changes can be automatically …more…
Yep, this is the first post on this blog, welcome to all of you :)
On these pages you will be able to read my posts on my systems administrator position and also some news/notes from the IT world.
I hope real soon i will manage to find some spare …more…