<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Random Bugs &#187; Featured</title>
	<atom:link href="http://www.randombugs.com/category/featured/feed" rel="self" type="application/rss+xml" />
	<link>http://www.randombugs.com</link>
	<description>Just another Bastard Operator From Hell. Everything from *nix to programming</description>
	<lastBuildDate>Thu, 05 Jan 2012 11:44:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Glassfish 3.1.1 workaround for Denial of Service through hash table multi-collisions</title>
		<link>http://www.randombugs.com/java/glassfish/glassfish-311-workaround-denial-service-hash-table-multicollisions.html</link>
		<comments>http://www.randombugs.com/java/glassfish/glassfish-311-workaround-denial-service-hash-table-multicollisions.html#comments</comments>
		<pubDate>Thu, 05 Jan 2012 11:42:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[DOS]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=783</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bluefish.png" width="24" height="24" alt="" title="Glassfish" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/text-x-java.png" width="24" height="24" alt="" title="Java" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/gpg.png" width="24" height="24" alt="" title="Security" /><br/>This is an old bug, first discovered in 2003, but now was applied to the hash table functions from the new programming languages. The main idea behind this bug is to create hashes which collide, because collision will eat a lot more cpu cycles on your server. For a post of 2 MB is resulting in a 44 minutes of CPU time which will results in a DOS.

As suggested in advisory released by nruns.com  we can limit the maximum post size from several 10&#8242;s of KB. In Glassfish 3.1.1 ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/glassfish/glassfish-311-workaround-denial-service-hash-table-multicollisions.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache Dynamic Virtual Hosting and PHP security</title>
		<link>http://www.randombugs.com/php/apache-dynamic-virtual-hosting-php-security.html</link>
		<comments>http://www.randombugs.com/php/apache-dynamic-virtual-hosting-php-security.html#comments</comments>
		<pubDate>Mon, 06 Jun 2011 10:35:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Virtual Hosting]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=739</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/apache3.jpg" width="24" height="24" alt="" title="Apache" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><br/>
It&#8217;s been a while since I configured the latest Dynamic Mass Virtual Hosting Server. Last time I used mod_vhost_alias to create a dynamic virtual hosting and it worked without any problem for what we need in that time. Then we didn&#8217;t care about the ftp and virtual users, the sites was updated from web pages and security was pretty much handled by upload application who managed the virtual hosting. Now, the problem is a little bit changed: We need a secure sever which should support ftp virtual users with quota ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/php/apache-dynamic-virtual-hosting-php-security.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing a Glassfish 3.1 Cluster on Debian 6.0 only from command line</title>
		<link>http://www.randombugs.com/java/glassfish/installing-glassfish-31-cluster-debian-60-command-line.html</link>
		<comments>http://www.randombugs.com/java/glassfish/installing-glassfish-31-cluster-debian-60-command-line.html#comments</comments>
		<pubDate>Wed, 04 May 2011 12:48:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Clustering]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=729</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/cluster.png" width="24" height="24" alt="" title="Clustering" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bluefish.png" width="24" height="24" alt="" title="Glassfish" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><br/>Finlay is here. For me, Glassfish 3.1, was one of most awaited piece of software, for all it&#8217;s new features and clustering support. Glassfish 3.1 slightly changed the way to install cluster, in a much better and integrated way. This version come with a lot of new functionality, but also with improved parts related to Glassfish 2.1. 

The most interesting features of Glassfish 3.1 are: Clustering (100 instances per domain), SSH provisioning, Centralized management (with the help of ssh), High Availability Session Persistence, High Availability Java Message Service, RMI-IIOP Load ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/glassfish/installing-glassfish-31-cluster-debian-60-command-line.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Glassfish Enhanced Broker Cluster and &#8220;Failed to load JDBC driver&#8221;</title>
		<link>http://www.randombugs.com/java/glassfish/glassfish-enhanced-broker-cluster-failed-load-jdbc-driver.html</link>
		<comments>http://www.randombugs.com/java/glassfish/glassfish-enhanced-broker-cluster-failed-load-jdbc-driver.html#comments</comments>
		<pubDate>Thu, 14 Apr 2011 10:44:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Clustering]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[imq]]></category>
		<category><![CDATA[JMS]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=721</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/cluster.png" width="24" height="24" alt="" title="Clustering" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bluefish.png" width="24" height="24" alt="" title="Glassfish" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><br/>Is not a bug, but a pretty annoying configuration thing which appear when you try to configure Enhanced Broker Cluster in Glassfish. I configured my persistent store, for Enhanced Broker Cluster, as jdbc / MySQL:

[...]
imq.persist.jdbc.dbVendor=mysql
imq.persist.jdbc.mysql.driver=com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
imq.persist.jdbc.mysql.property.url=jdbc\:mysql\://sqlserver\:3306/jms
imq.persist.jdbc.mysql.needpassword=true
imq.persist.jdbc.mysql.user=jms
[...]

and after at restart I got the following error:

[13/Apr/2011:12:12:30 CEST] [B1060]: Loading persistent data&#8230;
[13/Apr/2011:12:12:30 CEST] ERROR [B3198]: Error initializing cluster manager:
com.sun.messaging.jmq.jmsserver.util.BrokerException: [B3024]: Failed to load JDBC driver: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
        at com.sun.messaging.jmq.jmsserver.persist.jdbc.DBManager.(DBManager.java:428)
        at com.sun.messaging.jmq.jmsserver.persist.jdbc.DBManager.getDBManager(DBManager.java:219)
        at com.sun.messaging.jmq.jmsserver.persist.jdbc.JDBCStore.(JDBCStore.java:98)
  ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/glassfish/glassfish-enhanced-broker-cluster-failed-load-jdbc-driver.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snmp support for Glassfish 2.1.1 (with cluster support)</title>
		<link>http://www.randombugs.com/java/glassfish/snmp-support-glassfish-211-cluster-support.html</link>
		<comments>http://www.randombugs.com/java/glassfish/snmp-support-glassfish-211-cluster-support.html#comments</comments>
		<pubDate>Mon, 14 Mar 2011 11:57:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Clustering]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[snmp]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=701</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/cluster.png" width="24" height="24" alt="" title="Clustering" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bluefish.png" width="24" height="24" alt="" title="Glassfish" /><br/>Why you choose SNMP when Glassfish have strong JMX support? I presume, the answer for all who use SNMP is (almost) the same: Because the architecture of current monitoring solution is not scalable enough, and I cannot load my monitoring servers with supplementary JAVA processes. 

Before starting using SNMP I tried to see what solutions I have:
1. Re-design entire monitoring solution
2. Use SNMP
I&#8217;m a lazy person, so I choose to add SNMP support for all our clusters  .



To do that you should do 3 easy steps:
1. Upload the  ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/glassfish/snmp-support-glassfish-211-cluster-support.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Reading List or what I should read in the near future</title>
		<link>http://www.randombugs.com/headline/reading-list-read-future.html</link>
		<comments>http://www.randombugs.com/headline/reading-list-read-future.html#comments</comments>
		<pubDate>Fri, 25 Feb 2011 11:58:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=682</guid>
		<description><![CDATA[<br/>Howdy everyone! Because I travel a lot, I build a list of books which I should buy and read next in the airports, bus stations etc or everywhere I should wait some amount of time. This list contain everything what an System / Application Administrator should know. I&#8217;m usually dealing with Java/Tomcat/Glassfish/Jboss under Linux, but also I have a strong background of networking, security and cloud computing. This books are my choice and I think is a good choice for everyone who want to learn or improve your skills as ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/headline/reading-list-read-future.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Atomic ModSecurity Rules with Debian Lenny 5.0</title>
		<link>http://www.randombugs.com/linux/atomic-modsecurity-rules-debian-lenny-50.html</link>
		<comments>http://www.randombugs.com/linux/atomic-modsecurity-rules-debian-lenny-50.html#comments</comments>
		<pubDate>Thu, 30 Dec 2010 11:26:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=666</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/apache3.jpg" width="24" height="24" alt="" title="Apache" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><br/>Everyone, with a decent Linux security knowledge, should know about ModSecurity – Open Source Web Application Firewall. Personally, I know this mod from 2004 and it help me a lot in detecting and/or preventing malicious attacks before reaching my customers applications.]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/atomic-modsecurity-rules-debian-lenny-50.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Innodb table crash</title>
		<link>http://www.randombugs.com/linux/crash-innodb-table.html</link>
		<comments>http://www.randombugs.com/linux/crash-innodb-table.html#comments</comments>
		<pubDate>Thu, 06 May 2010 14:16:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Recovery]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=658</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/kexi.png" width="24" height="24" alt="" title="Databases" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/tux.png" width="24" height="24" alt="" title="Linux" /><br/>I searched over internet, on several tens of posts, to find how to delete a crashed Innodb table. Short story: I tried to import a big table but it crashed in the middle of the process (power failure). The table was not very important so I didn&#8217;t care about the table, I just want to delete it and start from the scratch, but surprise! The table cannot be deleted! I use the latest MySQL Innodb plugin from Debian backports repository (is coming with Debian 5.1.xx) with  file per table ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/crash-innodb-table.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Compile and configure mod_qos to prevent Slowloris DDOS on Apache 2 from Debian Lenny distribution</title>
		<link>http://www.randombugs.com/linux/compile-configure-modqos-prevent-slowloris-ddos-apache-2-debian-lenny-distribution.html</link>
		<comments>http://www.randombugs.com/linux/compile-configure-modqos-prevent-slowloris-ddos-apache-2-debian-lenny-distribution.html#comments</comments>
		<pubDate>Tue, 04 May 2010 20:00:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[ddos]]></category>
		<category><![CDATA[qos]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=650</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/apache3.jpg" width="24" height="24" alt="" title="Apache" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-contents.png" width="24" height="24" alt="" title="How-to" /><br/>mod_qos is becoming a very popular module for Apache, from the discover of Slowloris DDoS Attack. It seems, mod_qos is the best solution for Slowloris attack on Apache 2, but you can also check mod_evasive, mod_security or http accelerator &#8220;Varnish&#8221;. In this post I will try to present a step by step tutorial how to install mod_qos and configure to prevent Slowloris DDoS attack. 

This post is just a compendium of other good posts:

How To Defend slowloris DDoS With mod_qos (Apache2 On Debian [Lenny])
DDoS, Apache2 and mod_qos
How to best defend ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/compile-configure-modqos-prevent-slowloris-ddos-apache-2-debian-lenny-distribution.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Content-filter and unsolicited bulk e-mail</title>
		<link>http://www.randombugs.com/linux/contentfilter-unsolicited-bulk-email.html</link>
		<comments>http://www.randombugs.com/linux/contentfilter-unsolicited-bulk-email.html#comments</comments>
		<pubDate>Tue, 16 Mar 2010 14:07:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Newbie]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[amavis]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=643</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/tux.png" width="24" height="24" alt="" title="Linux" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/help-hint.png" width="24" height="24" alt="" title="Newbie" /><br/>After an Amavis upgraded my e-mail system started to have a strange behavior. A lot of emails sent internally from one user to another stopped with the following message:


&#8212;&#8212;&#8211; Original Message &#8212;&#8212;&#8211;
Subject: 	Considered UNSOLICITED BULK EMAIL, apparently from youis considered local.
Date: 	Tue, 13 Mar 2010 00:13:39 +0200 (EET)
From: 	Content-filter at xxx13.randombugs.com

To: 	
A message from  to:
-> yyy@randombugs.com
was considered unsolicited bulk e-mail (UBE).
Our internal reference code for your message is 00311-13/npX-RCahiLdc
The message carried your return address, so it was either a genuine mail
from you, or a sender address was faked and ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/contentfilter-unsolicited-bulk-email.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

