<?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; Security</title>
	<atom:link href="http://www.randombugs.com/category/security/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>User [admin] from host null does not have administration access</title>
		<link>http://www.randombugs.com/java/glassfish/user-admin-host-null-administration-access.html</link>
		<comments>http://www.randombugs.com/java/glassfish/user-admin-host-null-administration-access.html#comments</comments>
		<pubDate>Wed, 23 Nov 2011 08:24:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Recovery]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[jmx]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=771</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/recovery.gif" width="24" height="24" alt="" title="Recovery" /><br/>I should admit, I didn&#8217;t read the Glassfish 3.1 Administration Manual, and I don&#8217;t know if this is documented. Anyway the main problem appeared when I tried to connect on my cluster instances with admin credentials. If I connect with VisualVM or JConsole to Domain Administration Server (DAS) on 8686 I don&#8217;t have any problem. When I&#8217;m trying to connect to my cluster instances on port 28686 with admin credentials I get from JConsole

Connection Failed: Retry?
The connection to admin@rb.randombugs.com:28686 did not succeed.
Would you like to try again?

and on server.log

[#&#124;2011-11-23T12:12:40.599+0000&#124;INFO&#124;glassfish3.1.1&#124;javax.enterprise.system.tools.admin.com.sun.enterprise.container.common&#124;_ThreadID=34;_ThreadName=Thread-2;&#124;User [admin] ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/glassfish/user-admin-host-null-administration-access.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTTP transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed</title>
		<link>http://www.randombugs.com/java/glassfish/http-transport-error-javaxnetsslsslhandshakeexception-sunsecurityvalidatorvalidatorexception-pkix-path-validation-failed-javasecuritycertcertpathvalidatorexception-signature-check-failed.html</link>
		<comments>http://www.randombugs.com/java/glassfish/http-transport-error-javaxnetsslsslhandshakeexception-sunsecurityvalidatorvalidatorexception-pkix-path-validation-failed-javasecuritycertcertpathvalidatorexception-signature-check-failed.html#comments</comments>
		<pubDate>Wed, 13 Jul 2011 02:45:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=762</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/>I switched all my Java Glassfish webservices to SSL, because I wanted to have an encrypted communication between me and my clients. Until then, all my applications worked flawlessly over the HTTP protocol, but now, after switching to SSL, I got the following error:
HTTP transport error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed

That means, the client doesn&#8217;t have the certificate and cannot check response against the server certificate. The most simple solution is to export the certificate from the webserver server and import it on the webservice ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/glassfish/http-transport-error-javaxnetsslsslhandshakeexception-sunsecurityvalidatorvalidatorexception-pkix-path-validation-failed-javasecuritycertcertpathvalidatorexception-signature-check-failed.html/feed</wfw:commentRss>
		<slash:comments>2</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>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>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>java.lang.SecurityException: JCE cannot authenticate the provider BC</title>
		<link>http://www.randombugs.com/java/javalangsecurityexception-jce-authenticate-provider-bc.html</link>
		<comments>http://www.randombugs.com/java/javalangsecurityexception-jce-authenticate-provider-bc.html#comments</comments>
		<pubDate>Mon, 10 Aug 2009 09:57:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=577</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/bug.png" width="24" height="24" alt="" title="Bugs" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/gpg.png" width="24" height="24" alt="" title="Cryptography" /><img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/debian.png" width="24" height="24" alt="" title="Debian" /><br/>Trying to integrate BouncyCastle Cryptography provider in Java can be a nightmare. I read a lot of forums messages about &#8220;JCE cannot authenticate the provider BC&#8221; and I didn&#8217;t find any clear response. After several hours of tweaking and digging I found the main reason of the problem. If you want to use BouncyCastle as Security provider then install it directly on your Java Virtual Machine and remove any library of bc from your application. 

How to install correctly Bouncy Castle on your JVM:
First for Ubuntu/Debian users you should look ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/java/javalangsecurityexception-jce-authenticate-provider-bc.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Using GPG under Ubuntu or Debian</title>
		<link>http://www.randombugs.com/linux/gpg-ubuntu-debian.html</link>
		<comments>http://www.randombugs.com/linux/gpg-ubuntu-debian.html#comments</comments>
		<pubDate>Wed, 13 May 2009 12:40:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Newbie]]></category>
		<category><![CDATA[Recovery]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=443</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/gpg.png" width="24" height="24" alt="" title="Cryptography" /><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/>Gpg is stands for Gnu Privacy Guard and is a free alternative to the PGP cryptographic software. GnuPG (or GPG) follows the RFC 4880 which is the standard specification of OpenPGP. The most important thing GPG is interoperable with PGP. GPG is build as a command line utility but also have several front-ends for KDE, Gnome and other Linux desktops, but also is directly integrated in other software like: Email Clients as  Mozilla Thunderbird, Evolution, Kmail, Instant Messaging as PSI, Fire, Browsers as Mozilla Firefox etc.

GnuPG encrypts messages using ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/gpg-ubuntu-debian.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Encrypting and Decrypting files under Ubuntu</title>
		<link>http://www.randombugs.com/linux/encrypting-decrypting-files-ubuntu.html</link>
		<comments>http://www.randombugs.com/linux/encrypting-decrypting-files-ubuntu.html#comments</comments>
		<pubDate>Tue, 05 May 2009 12:27:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Headline]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=434</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/gpg.png" width="24" height="24" alt="" title="Cryptography" /><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/>This days we shouldn&#8217;t trust in anything. The Internet is full of worms, trojans, viruses and they are spreading more and more. Even if you have a firewall is not enough. The best security for your computer is to have it unplugged from power and network &#8230; and even then you cannot be 100% about security of your stored data. So today we will talk about encryption under Linux. I will show you how to do it from console and from KDE Windows manager. We have several possibilities to encrypt ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/encrypting-decrypting-files-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How-to work with ssh keys, agents and other usefull stuff</title>
		<link>http://www.randombugs.com/linux/howto-work-ssh-keys-agents-usefull-stuff.html</link>
		<comments>http://www.randombugs.com/linux/howto-work-ssh-keys-agents-usefull-stuff.html#comments</comments>
		<pubDate>Tue, 17 Mar 2009 13:54:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Newbie]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Xorg]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.randombugs.com/?p=314</guid>
		<description><![CDATA[<img src="http://www.randombugs.com/wp-content/uploads/icons/24x24/gpg.png" width="24" height="24" alt="" title="Cryptography" /><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/>Managing more than 80 Linux servers is not an easy job, but with the help of ssh I can distribute a command to all servers without typing, retyping the password every time for that. Don&#8217;t understand me wrong, you will need to type a password for accessing this servers, but just one time. If you manage correctly your keys you will don&#8217;t need to have any fear in heavy exploiting the ssh keys.

What is SSH ? SSH stands for Secure Shell and is a protocol that allows secure data exchange ...]]></description>
		<wfw:commentRss>http://www.randombugs.com/linux/howto-work-ssh-keys-agents-usefull-stuff.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

