<?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 Rant &#187; linux</title>
	<atom:link href="http://florianhaas.net/blog/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://florianhaas.net/blog</link>
	<description>Random rants from a would-be software developer</description>
	<lastBuildDate>Tue, 20 Jul 2010 17:33:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tutorial/HowTo: ejabberd + jwchat + apache2 on Ubuntu or&#160;Debian</title>
		<link>http://florianhaas.net/blog/2008/05/27/tutorialhowto-ejabberd-jwchat-apache2-on-ubuntu-or-debian/</link>
		<comments>http://florianhaas.net/blog/2008/05/27/tutorialhowto-ejabberd-jwchat-apache2-on-ubuntu-or-debian/#comments</comments>
		<pubDate>Tue, 27 May 2008 22:18:22 +0000</pubDate>
		<dc:creator>Florian Haas</dc:creator>
				<category><![CDATA[Free Software]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://florianhaas.net/blog/?p=107</guid>
		<description><![CDATA[What is jwchat? Jwchat
is a full featured, web-based Jabber™ client.
It uses the HTTP-POLL method to connect to a jabber-server. It is written in Javascript, which is quite nice because you do not open a glaring security-hole by installing it.
I am not going to explain how you set up ejabberd or apache2; there are tons of [...]]]></description>
			<content:encoded><![CDATA[<p>What is jwchat? <a href="http://florianhaas.net/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2p3Y2hhdC5zb3VyY2Vmb2dlLm5ldC8=">Jwchat</a></p>
<blockquote><p>is a full featured, web-based <a href="http://florianhaas.net/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5qYWJiZXIub3JnLw==" target=\"_blank\">Jabber</a>™ client.</p></blockquote>
<p>It uses the HTTP-POLL method to connect to a jabber-server. It is written in Javascript, which is quite nice because you do not open a glaring security-hole by installing it.</p>
<p>I am not going to explain how you set up ejabberd or apache2; there are tons of tutorials for that out there.</p>
<ol>
<li>Go to the jwchat <a href="http://florianhaas.net/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2p3Y2hhdC5zb3VyY2Vmb3JnZS5uZXQvZG93bmxvYWQuc2h0bWw=">download-page</a> and download it. Extract it to somewhere where the webserver can read it; i put it in /usr/share/jwchat. Alternatively you can just <em>aptitude install jwchat</em>.</li>
<li>Edit the config.js you can find in jwchat/www . There are two things you want to edit:</li>
<li>
<ol>
<li>The SITENAME. Just put in your servername.</li>
<li>The httpbases a bit further down. This is the relative path where jwchat will try to contact the jabber-server. Put in anything you want; the default makes sense, though.</li>
</ol>
</li>
<li>Now comes the part where the jwchat-documentation fails us: we have to configure the apache2 to proxy all requests which go to the httpbase over to the jabber-server. jwchat proposes the following configuration:<br />
<code> DocumentRoot /var/www/jwchat<br />
Options  +Indexes +Multiviews<br />
AddDefaultCharset UTF-8<br />
RewriteEngine on<br />
RewriteRule http-poll/ http://127.0.0.1:5280/http-poll/ [P]</code></p>
<p>While this works, it adds a burden to the user: his firewall needs to allow outgoing connections to port 5280. It is way better to keep all connections on one port so that jwchat works in heavily locked-down environments like libraries, universities and schools. This can be achieved by mod_proxy.</li>
<li>First you have to enable mod_proxy_http and mod_proxy. You can do that by calling <em>a2enmod proxy proxy_http</em></li>
<li>Once this is done, put this somewhere into one of your (virtual)host configurations:<code>ProxyRequests Off<br />
ProxyPass /http-poll/ http://127.0.0.1:5280/http-poll/<br />
ProxyPassReverse /http-poll/ http://127.0.0.1:5280/http-poll/<br />
Allow from all<br />
Alias /jwchat /usr/share/jwchat/www<br />
Options  +Indexes +Multiviews +FollowSymLinks<br />
AddDefaultCharset UTF-8</code><br />
Now the users can go to $example.com/jwchat and use their jabber-accounts without having to install a client.</li>
</ol>
<p><span style="text-decoration: line-through;">It is important to note that the username and password are transmited as plaintext; <strong>this is dangerous and stupid</strong>. Not only will you die, it will also hurt the whole time you&#8217;re dieing.</span></p>
<p><strong>Edit</strong>: I was wrong: Jwchat uses DIGEST-MD5. While it is better than nothing, SSL is way more secure, seeing as the IETF is in the <a href="http://florianhaas.net/blog/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3Rvb2xzLmlldGYub3JnL2h0bWwvZHJhZnQtaWV0Zi1zYXNsLWRpZ2VzdC10by1oaXN0b3JpYy0wMA==">process of deprecating</a> DIGEST-MD5 because of the bruteforceability.</p>
<p><strong>Never</strong> use jwchat over an unencrypted connection. Be smart and put that whole configuration into an SSL-enabled host. You don&#8217;t lose any functionality but gain important security.</p>
 <img src="http://florianhaas.net/blog/wp-content/plugins/feed-statistics.php?view=1&post_id=107" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://florianhaas.net/blog/2008/05/27/tutorialhowto-ejabberd-jwchat-apache2-on-ubuntu-or-debian/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>OpenSuse 10.3 &#8211; A&#160;joyride</title>
		<link>http://florianhaas.net/blog/2007/10/15/opensuse-103-a-joyride/</link>
		<comments>http://florianhaas.net/blog/2007/10/15/opensuse-103-a-joyride/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 21:14:02 +0000</pubDate>
		<dc:creator>Florian Haas</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://florianhaas.net/blog/2007/10/15/opensuse-103-a-joyride/</guid>
		<description><![CDATA[Aus Spaß an der Freude habe ich mir gerade OpenSuse 10.3 installiert.
Ich mag es nicht.
OpenSuse ist eine Distribution die verdammt gut sein könnte. Das Ding sieht sehr gut aus (weitaus besseres artwork als Ubuntu), ist aber nicht wirklich zu verwalten.
Mein Ziel mit der Installation: Ein KDE installieren, neueste Updates draufspielen und ein bischen rumsurfen. Nichts [...]]]></description>
			<content:encoded><![CDATA[<p>Aus Spaß an der Freude habe ich mir gerade OpenSuse 10.3 installiert.</p>
<p>Ich mag es <strong>nicht</strong>.</p>
<p>OpenSuse ist eine Distribution die verdammt gut sein könnte. Das Ding sieht sehr gut aus (weitaus besseres artwork als Ubuntu), ist aber nicht wirklich zu verwalten.</p>
<p>Mein Ziel mit der Installation: Ein KDE installieren, neueste Updates draufspielen und ein bischen rumsurfen. Nichts wildes eigentlich.</p>
<p>Das Problem: Standardmäßig  wird (wenn man die Installation ohne aktive Internetverbindung ausführt) keinerlei Update-Quelle konfiguriert. Das Programm welches selbstständig nach Updates sucht meldet das auch. Es besitzt sogar einen Knopf &#8220;Quellen hinzufügen&#8221;. Nur leider ermöglicht der darauf folgende Dialog nur die direkte Eingabe einer URL.</p>
<p>Wie bekommt man also eine Update-Quelle? Die Buttons &#8220;Online-Update&#8221; und &#8220;Automatisches Online-Update&#8221; in dem Yast-Kontrollzentrum führen einen nur wieder zu dem bekannten Dialog zurück. Installationsquelle wechseln ebenfalls.</p>
<p>Das Geheimnis verbirgt sich hinter &#8220;Community Repositories&#8221;, einer großen Liste von Paketquellen, in der auch das OpenSuse-Repository auftaucht.</p>
<p>Hätte ich das meiner Mutter zumuten können?</p>
<p>Und warum zum Teufel ist RPM so elendig langsam?</p>
<p>Das Kontrollzentrum ist relativ aufgeräumt (auch wenn ich die Sortierung/Benennung manchmal etwas doppeldeutig finde). An sich eine echt tolle Sache. Da Yast seit 2004 unter der GPL verfügbar ist sollte einer Portierung eigentlich nichts im Wege stehen, oder?</p>
<p>Denkste: Yast4Debian ist tot, und die Ubuntu-Neuentwicklung Ubuntu System Tools ist ebenfalls sehr sehr still. Schade eigentlich, denn für absolute Anfänger ist das Ding ziemlich praktisch.</p>
<p>Der Rest von OpenSuse ist klassische Linux-Kost: viele tolle Programme, die im Regelfall sehr stabil sind und weitaus besser zu konfigurieren sind als ihre Counterparts.</p>
<p>Ich bleibe trotzdem bei Ubuntu (Ubuntu ist afrikanisch und bedeutet &#8220;Ich bin zu faul Debian richtig zu konfigurieren&#8221;).</p>
 <img src="http://florianhaas.net/blog/wp-content/plugins/feed-statistics.php?view=1&post_id=61" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://florianhaas.net/blog/2007/10/15/opensuse-103-a-joyride/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
