You can use the script below to parse your maillog (mail.log on Debian based distros) for failed login attempts and place the results in your hosts.deny file or your IP tables config. The script deletes leading 0 IP addresses and filters out [brackets]. You can change the grep filter phrase to your liking.
grep “failed” /var/log/maillog | grep -Eo “([0-9]{1,3}.){3}[0-9]{1,3}” | sed ‘s/^[0]*//’ | uniq
Centos 5.6 is out. Check out the upgrade/release info at:
http://lists.centos.org/pipermail/centos-announce/2011-April/017282.html
Here is a miminal dovecot configuration for Centos, Debian or Ubuntu. You will need to modify the location and name of the ssl certs to match your config. This will work for the default debian configuration.
protocols = imaps pop3 pop3s imap
mail_privileged_group = mail
disable_plaintext_auth = no
ssl_cert_file = /etc/ssl/certs/dovecot.pem
ssl_key_file = /etc/ssl/private/dovecot.pem
auth default {
mechanisms = plain login
passdb pam {
}
userdb passwd {
}
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
Simple. Just run yum upgrade.
I have Ubuntu Lucid (10.04) amd 64 running as a desktop. It is superb. It plays Sirius, Apple Trailers, and any other media I have tried. I am using nvidia drivers for compiz however the nouveau driver works fine if you are satisfied with 2D acceleration.
Directly from the source:
yum clean all
yum update glibc*
yum update yum* rpm* python*
yum clean all
yum update
shutdown -r now
I have used both of these new updates for several weeks. “jaunty” is a moving target but it is rapidly getting finished. It is already quite usable.
First I love the debian “lenny” release. It is very quick, refined and up to date. I have compiled and installed the latest kernel 2.6.29 for both desktops (lenny and jaunty). They both work great with the newest kernel. The latest nvidia releasee (180.44) also works very well. Some of the applications like “streamtuner” seem more stable on “lenny”. However, I did compile xmms for “lenny”. I have to admit with each update “jaunty” is closing the gap.
The big difference which I cannot overcome is the difference in font rendering. It is probably due to Xorg 1.6 but “jaunty” is comparable with Windows XP and despite much tweeking “lenny” just won’t compare. The fonts are acceptable on “lenny” however after you use “jaunty” you just don’t want to go back.
I have since found that in order for nvidia-settings to work correctly you need this in the xorg.conf file:
Section “ServerLayout”
Identifier “Default Layout”
Identifier “Default Layout”
Screen “Default Screen” 0 0
InputDevice “Keyboard0″ “CoreKeyboard”
InputDevice “Mouse0″ “CorePointer”
EndSection
Section “Module”
Load “glx”
EndSection
Section “InputDevice”
# generated from default
Identifier “Keyboard0″
Driver “keyboard”
EndSection
Section “InputDevice”
# generated from default
Identifier “Mouse0″
Driver “mouse”
Option “Protocol” “auto”
Option “Device” “/dev/psaux”
Option “Emulate3Buttons” “no”
Option “ZAxisMapping” “4 5″
EndSection
Section “Monitor”
Identifier “Configured Monitor”
EndSection
Section “Device”
Identifier “Configured Video Device”
Driver “nvidia”
EndSection
Section “Screen”
Option “DPI” “96×96″
Identifier “Default Screen”
Device “Configured Video Device”
Monitor “Configured Monitor”
DefaultDepth 24
Option “NoLogo” “True”
Option “DPI” “96×96″
Option “RenderAccel” “True”
Option “TripleBuffer” “True”
Option “AllowGLXWithComposite” “True”
Option “AddARGBGLXVisuals” “True”
SubSection “Display”
Depth 24
Modes “nvidia-auto-select”
EndSubSection
EndSection
Section “Extensions”
Option “Composite” “Enable”
Option “RENDER” “true”
Option “DAMAGE” “true”
EndSection
With the 2.6.28 kernel series, you can use xorg without xorg.conf. This works fine if you don’t plan to use 3d graphics (nvidia in my case). If you do you will need a minimal xorg.conf. This is what I ended up with:
Section “Module”
Load “glx”
Load “fb”
Load “wfb”
EndSection
Section “Device”
Identifier “nVidia Corporation G98 [GeForce 8400 GS]”
Driver “nvidia”
Busid “PCI:1:0:0″
Option “AddARGBGLXVisuals” “True”
Option “DPI” “1366 x 768″
Option “RenderAccel” “True”
Option “TripleBuffer” “True”
Option “AllowGLXWithComposite” “True”
Option “DisableGLXRootClipping” “True”
Option “BackingStore” “True”
EndSection
Section “Extensions”
Option “Composite” “Enable”
Option “RENDER” “true”
Option “DAMAGE” “true
EndSection
Recent Comments