Category Archives: CentOS

DNSBL for Horde

Here we go with a small patch to implement DNSBL for Horde. I have again used PEAR package, this time it is the Net_DNSBL, and as usually CentOS package is in my repos – http://fs12.vsb.cz/hrb33/el5/hrb/stable/i386/repoview/php-pear-Net-DNSBL.html. The first patch is the important one. We let the attacker to log in, just to make sure he/she owns [...]

Also posted in horde, mailing, php | Leave a comment

Captcha for Horde

Here is small patch to implement captcha on Horde login page. We have implemeteded Text_CAPTCHA_Numeral. Package for Centos is here: http://fs12.vsb.cz/hrb33/el5/hrb/stable/i386/repoview/php-pear-Text-CAPTCHA-Numeral.html. Here is the patch. — horde-webmail-1.2.8.orig/imp/login.php 2010-10-25 17:10:05.000000000 +0200 +++ horde-webmail-1.2.8/imp/login.php 2010-11-30 17:36:27.571023703 +0100 @@ -398,6 +398,7 @@ $t->set(’user_vinfo’, Horde::callHook(’_imp_hook_vinfo’, array(’vdomain’), ‘imp’)); } $t->set(’password_tabindex’, ++$tabindex); +$t->set(’captch_tabindex’, ++$tabindex);   $t->set(’change_smtphost’, (!empty($conf[’server’][’change_smtphost’]))); if ($t->get(’change_smtphost’)) { @@ [...]

Also posted in CentOS 4.x, CentOS 5.x, horde, php | Leave a comment

Hunting the root kits

Within Linux mailing list there has been post on hacked Linux box. We have recommended root kit scan. There are two important tools on Linux now, rkhunter and chkrootkit. [root@box ~]# chkrootkit ROOTDIR is `/’ Checking `amd’… not found Checking `basename’… not infected Checking `biff’… not found Checking `chfn’… not infected Checking `chsh’… not infected [...]

Posted in CentOS | Leave a comment

Firefox 3.6.2 and Thunderbird 3.0.3 for CentOS 5.4

It’s a quite long time I have announced Firefox 3.6 and Thunderbird 3.0 packages for CentOS 5.  Announcement has been submitted via CentOS mail-list. See http://lists.centos.org/pipermail/centos-devel/2010-February/005416.html and http://lists.centos.org/pipermail/centos/2010-February/090418.html. Packages have been tested by users and have been always within the testing repository only. Today I’m pushing new firefox 3.6.2 into the stable repository together with [...]

Also posted in CentOS 5.x | Leave a comment

Upgrade DAViCal 0.9.7.2 to 0.9.8

DAViCal upgrade is quite easy: [root@fs12 html] wget http://debian.mcmillan.net.nz/packages/davical/davical_0.9.8.orig.tar.gz [root@fs12 html] tar xvzf davical_0.9.8.orig.tar.gz [root@fs12 html] cd davical-0.9.8.orig/dba [root@fs12 dba] su postgres bash-3.00$ ./update-davical-database The database is version 8.1 currently at revision 1.2.5. Applying patch 1.2.6.sql … succeeded. Applying patch 1.2.7.sql … succeeded. Successfully applied 2 patches. Supported locales updated. Updated view: dav_principal.sql applied. CalDAV [...]

Posted in CentOS | Leave a comment

Running yum-3.2.8 on CentOS 4.7 – part II.

Today I have looked again at yum 3.2.8 on Centos 4. I wanted everything to clean up, go back to unittests again. I have backported python-nose and started to clean up the source. Finally I had to make all yum tests python 2.3 compatible. Here is the result: [root@build-c4-i386 yum-3.2.8]# make test ………………………………………………………………………………………………………………………………………….. ———————————————————————- Ran [...]

Also posted in CentOS 4.x | Leave a comment

Running yum-3.2.8 on CentOS 4.7

Today I spent a few hours testing and backporting yum-3.2.8 from CentOS 5.2 to CentOS 4.7. It wasn’t so hard to backport. Most of the time I have spent on testing and searching. Code is patched to allow sets, which are supported in python 2.3 ) and that’s almost all. Final rpms are available for [...]

Also posted in CentOS 4.x | 5 Comments

Call to undefined function load_config() – squirrelmail-1.4.8-5.el4.centos.3

During one of my squirrelmail upgrades I have discovered strange behavior. Users were able to login, but only blank page had appeared. I have found this in log: [Mon Feb 09 18:29:10 2009] [error] [client 89.103.46.115] PHP Fatal error: Call to undefined function load_config() in /usr/share/squirrelmail/plugins/change_sqlpass/functions.php on line 326, referer: http://blabla.blabla.tld/src/login.php change_sqlpass pluging needs compatibility [...]

Posted in CentOS | 1 Comment

Remove old kernels

Simple way to remove all but one kernel: if [ $(rpm -q kernel | wc -l) -gt 1 ]; then rpm -e $(rpm -q kernel | sed ‘$d’); fi if [ $(rpm -q kernel-smp | wc -l) -gt 1 ]; then rpm -e $(rpm -q kernel-smp | sed ‘$d’); fi

Posted in CentOS | Leave a comment

OpenSSH5 on CentOS 5

I have rebuilt OpenSHH5 RPMs for CentOS 5. They seem ) to work pretty well. Files are located here: http://fs12.vsb.cz/hrb33/el5/hrb-ssh/stable/i386/ http://fs12.vsb.cz/hrb33/el5/hrb-ssh/stable/x86_64/

Also posted in CentOS 5.x | Leave a comment