Categories
Linux Misc. Technology

It’s NOT OpenSuSE 10, it’s SuSE Linux OSS 10

I just want to thank the Anonymous comment, presumably from Moosy Blog for correcting me. The OSS version of SuSE is called SUSE Linux OSS 10.0 and NOT OpenSuse. OpenSuse is the name of the open source project sponsored by Novell. Thanks for pointing that out. Sorry folks.

technorati tags: , , ,

Categories
Linux Misc. Technology

OpenSuse 10 and Updates

I’ve been using OpenSuse for a few months now and though I like OpenSuse enough to be still using it on my Thinkpad T40, I am a little perplexed as to why 1) so few YUM repositories exist, 2) Why YAST ( which I am beginning to dislike more and more ) is so stupid that it won’t do any GPG checks on RPMs to authenticate them, 3) Why the updates to OpenSuse 10 is completely non-existant. I think the last time an update for OpenSuse 10 was available was probably eight to ten weeks ago. Now that I’m using OpenSuse, I’m realizing that Fedora Core is a product better supported by the community than OpenSuse is yet. It’s a shame because OpenSuse works very well out of the box.

I still haven’t been able to get Fedora Core 4 working in Xen on OpenSuse 10 🙁
If anyone has any suggestions or can offer any help, please drop me a note.

technorati tags: , , , , , ,

Categories
Linux Misc. Technology

So many repositories, so little time …

The number of YUM repositories for Fedora is growing larger and larger. I’ve been playing with YAM to try and build a local yum mirror of many of these repositories so I can keep multiple machines current but it’s getting harder and harder to keep up wiht all the repos…

Categories
Linux Misc. Technology

Fedora Core 4

Fedora Core 4 was released in the middle of June with some interesting enhancements/additions. Click here to download it.

So far, FC4 is the most stable and simplest Fedora release that I’ve run. I was able to install it on my Thinkpad T40 and have everything up and running in less than 45 minutes with a network installation.

This screenshot shows Rhythmbox, VNC connected to Mac OSX Tiger showing the Dashboard, and on the left, CrossOver Office installed so I can run Quicken 2004. Click on the image to see a larger image. My only complaint was that FC4 did not pick up my Intel Centrino chip properly. However, that was easily solved by going to ATrpms and installing the correct drivers from here. Probably some licensing limitation to including the drivers with FC4.

Categories
Linux Misc. Technology

SSH Hacker blocking script

I finally modified the script slightly to keep a list of the “bad” IP addresses in a text file. Please feel free to modify the script any way you like and I’d really appreciate any modifications anyone might have.

#!/bin/sh
# $Author: pankaj $
# $Date: 2005/01/27 18:58:27 $
# $Revision: 1.2 $
#
# This is a simple script to parse /var/log/secure for ssh hacking attempts and block the whole subnet
# It might be a little overzealous but so what
#
#
for i in `grep 'Failed password' /var/log/secure | egrep -v '|' | awk '{print \$11 \$13}' | cut -d ':' -f 4| cut -d '.' -f 1-3 | uniq | egrep -v '172.20.16'`
do
BLOCK=${i}.0/24
echo "Blocking ${i}.0"
echo "${i}.0" >> /usr/local/share/blocked/ipaddresses.txt
done

mv /usr/local/share/blocked/ipaddresses.txt /tmp/ipaddresses.txt
cat /tmp/ipaddresses.txt | sort | uniq > /usr/local/share/blocked/ipaddresses.txt
rm -f /tmp/ipaddresses.txt
#
#/sbin/iptables --flush

for i in `cat /usr/local/share/blocked/ipaddresses.txt | sort | uniq`
do
/sbin/iptables -I INPUT -s ${i}/24 -j DROP
done
#/etc/init.d/iptables restart

# $Log: blocksshhacks.sh,v $
# Revision 1.2  2005/01/27 18:58:27  pankaj
# *** empty log message ***