fail2ban, CentOS 5, cPanel, EXIM, regex

failregex = .*\[<HOST>\]:[0-9]+ .*(?:Unrouteable address|rejected) Or, if You want to replace CPanel CPHULK by fail2ban do that: /etc/fail2ban/jail.conf [cpanel-iptables] enabled  = true filter   = cpanel logpath  = /usr/local/cpanel/logs/login_log action   = iptables-multiport[name=cpanel, port=”21,80,443,2082,2083,2095,2096″, protocol=tcp] #           sendmail-whois[name=cpanel, dest=root, sender=fail2ban@example.com] findtime = 86400 bantime  = 600 maxretry = 5 /etc/fail2ban/filter.d/cpanel.conf # Fail2Ban configuration file # # Author: Widmo …

Continue reading ‘fail2ban, CentOS 5, cPanel, EXIM, regex’ »

Debian, Kali Linux – XRDP disconnects after program open

If You see that’s errors: Jan 21 23:52:12 torx x-session-manager[8859]: Gdk-WARNING: x-session-manager: Fatal IO error 11 (Resource temporarily unavailable) on X server :14.0.#012 Xvnc[9771]: segfault at 7fffd9e71000 ip 000000000044d31e sp 00007fffd9e6ffc0 error 6 in Xtightvnc[400000+17d000] [20140121-23:51:06] [INFO ] starting xrdp-sessvc – xpid=8571 – wmpid=8570 [20140121-23:51:10] [INFO ] session 8569 – user root – terminated Just: …

Continue reading ‘Debian, Kali Linux – XRDP disconnects after program open’ »

“Windows could not parse or process the unattend answer file for pass [specialize]“ WDS Windows Deploy Unattended

Today I got this interesting error when deploying new VMs from a pre-defined template with customizations. Its basically failing on Setup is applying system settings part and to be precise on specialize pass of Microsoft-Windows-Shell-Setup of unattend.xml file. Here is the screenshot: At this point the only option is to press OK which will cause the VM to …

Continue reading ‘“Windows could not parse or process the unattend answer file for pass [specialize]“ WDS Windows Deploy Unattended’ »

To remember… Grub, vmkfstools

vmkfstools –fix check disk-s001.vmdk vmkfstools –fix repair disk-s001.vmdk grub> device (hd0) /dev/sda grub> device (hd1) /dev/sdb grub> root (hd0,0) grub> setup (hd0) grub> root (hd1,0) grub> setup (hd1) grub> quit sfdisk -d /dev/sda > partition.txt OR sfdisk -d /dev/sda | sfdisk /dev/sdb

HONDA PILOT – Oli reset, maintenance, service light, procedure, how to, -99999, oil service codes

2003-2005 Turn off the engine. Press and hold the SELECT/RESET button in the instrument panel and turn the ignition switch to run (one position before starting). Hold the button for at least 10 seconds, until the indicator resets. Turn the ignition off and then start the engine to verify the indicator has been reset. 2006-2010 …

Continue reading ‘HONDA PILOT – Oli reset, maintenance, service light, procedure, how to, -99999, oil service codes’ »