<?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>ht4</title>
	<atom:link href="http://blog.ht4.ca/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ht4.ca</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 23 Aug 2010 04:53:29 +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>Stats, om nom nom</title>
		<link>http://blog.ht4.ca/2009/12/31/stats-om-nom-nom/</link>
		<comments>http://blog.ht4.ca/2009/12/31/stats-om-nom-nom/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 17:13:48 +0000</pubDate>
		<dc:creator>cody</dc:creator>
				<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[social media]]></category>

		<guid isPermaLink="false">http://blog.ht4.ca/?p=123</guid>
		<description><![CDATA[Recently Chris made a post &#8220;Hidden phpMyAdmin Features&#8221; which became fairly popular on Reddit and several other sites. I was curious not only what sort of traffic this would bring, but what the quality of traffic would be like.
Total Visitors

8,282 Visits (98% New Visitors)
8,104 Unique Visits

Now at a glance this seems to be a decent [...]]]></description>
			<content:encoded><![CDATA[<p>Recently <a href="http://blog.ht4.ca/author/chris/" target="_blank">Chris</a> made a post <a href="http://blog.ht4.ca/2009/12/29/hidden-phpmyadmin-features/" target="_blank">&#8220;Hidden phpMyAdmin Features&#8221;</a> which became fairly popular on Reddit and several other sites. I was curious not only what sort of traffic this would bring, but what the <em>quality</em> of traffic would be like.</p>
<h1>Total Visitors</h1>
<ul>
<li><strong>8,282 Visits (98% New Visitors)</strong></li>
<li><strong>8,104 Unique Visits</strong></li>
</ul>
<p>Now at a glance this seems to be a decent surge in traffic but it&#8217;s not that black and white. Here is why:</p>
<p><span id="more-123"></span></p>
<p>The amount of new visitors is, as expected, quite high, though how many of them actually read the content, commented, and will be returning?</p>
<h1>The Bounce</h1>
<p>The bounce rate is determined by taking the amount of visitors that go to a single page and exit on the same page. Essentially this means they visited our single post, and didn&#8217;t bother to see if there was anything else on the site. Now once again this is to be expected as the majority of the traffic came solely for the purpose of reading that single article.</p>
<ul>
<li><strong>93.67%</strong></li>
</ul>
<p>So roughly <strong>7,595</strong> of the visitors we received never left the original blog post, while <strong>513</strong> of them clicked off to another page.</p>
<h1>Time On Site</h1>
<p>Now this is a fairly obvious metric, though it means the average amount of time people spent on your site.</p>
<ul>
<li><strong>14 Seconds</strong></li>
</ul>
<p>That&#8217;s right, <strong>14 seconds</strong>. Now I&#8217;m not sure the average reading speed of reading for internet users, though this would seem that it&#8217;s a little on the short site. I&#8217;m lead to believe a large portion of the visitors simply skimmed the page rather than fully reading and understanding the content.</p>
<p><strong>*NOTE*</strong> The last sentence may be interpreted wrong: I believe the majority of people quickly glance / speedread the content and if something catches their eye, they&#8217;ll go back and try to absorb the information. Obviously our post is somewhat niche since it deals with phpMyAdmin which is popular, though it still interests a small portion of the internet community as a whole.</p>
<h1>Page Views</h1>
<p>This is another obvious metric, and somewhat of a obsolete one, though interesting nontheless.</p>
<ul>
<li><strong>9,047</strong></li>
</ul>
<p>Now if we take this number and subtract the total amount of unique visitors we arrive at <strong>939</strong>. Now the astute person would notice that this is almost double of the above number I arrived at regarding the bounce rate. This just simply goes to show you that statistics obviously aren&#8217;t 100%, and depending on the mechanism used to measure the statistics these will vary. Regardless I find it interesting to see an almost 100% difference &#8211; <strong>any one have any idea as to why?</strong></p>
<p><strong><br />
</strong></p>
<h1>Traffic Sources</h1>
<p>This metric is simply tells us what percent of visitors came from where (direct, referring, or search engines)</p>
<ul>
<li><strong>Direct Traffic: 12.90%</strong></li>
<li><strong>Referring Sites: 87.09%</strong></li>
<li><strong>Search Engines: 0.01%</strong></li>
</ul>
<p>Now this is clearly wrong &#8211; this blog literally has no real traffic. Unfortunately if a browser doesn&#8217;t send referral data, or a website redirects in a way to not send the data it&#8217;ll count it as direct traffic. What somewhat surprised me is how large of a margin of error this is.</p>
<h1>Referrals</h1>
<p>Now this is the fun metric &#8211; where the heck did all of this traffic come from. Obviously being on the front page of /r/programming and Reddit caused the majority of traffic, though not all of it:</p>
<ul>
<li><strong>Reddit.com &#8211; 6,060 visits</strong></li>
<li><strong>Direct (none) &#8211; 1,070 visits</strong></li>
<li><strong>Popurls.com &#8211; 316 visits</strong></li>
<li><strong>StumbleUpon.com &#8211; 307 visits</strong></li>
<li><strong>Delicious.com &#8211; 142 visits</strong></li>
<li><strong>Google.com &#8211; 106 visits</strong></li>
<li><strong>Wired.com &#8211; 68 visits</strong></li>
<li><strong>Jimmyr.com &#8211; 40 visits</strong></li>
<li><strong>Twitter.com &#8211; 18 visits</strong></li>
</ul>
<p>Keep in mind we only posted this on Reddit, everything else came organically by word of mouth, aggregator, and so forth. This also shows the discrepancy in the referral / direct reporting, showing 1,070 direct visitors.</p>
<p><strong>*NOTE*</strong> Since this site is so new and lacking content, all references to Google are from their applications such as Google Reader, GMail, etc.</p>
<h1>Conclusions</h1>
<p>If you get on the front page of Reddit / submit a popular story you will receive a surge in traffic, though a large portion of those people will simply glance / exit right away and will likely never return.</p>
<p>Also you need to take your statistics with a grain of salt &#8211; there is a fair margin of error when you start trying to dissect the statistics.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ht4.ca/2009/12/31/stats-om-nom-nom/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Hidden phpMyAdmin Features</title>
		<link>http://blog.ht4.ca/2009/12/29/hidden-phpmyadmin-features/</link>
		<comments>http://blog.ht4.ca/2009/12/29/hidden-phpmyadmin-features/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 21:49:14 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://blog.ht4.ca/?p=58</guid>
		<description><![CDATA[It goes without saying that anybody who has ever done open source development has heard of phpMyAdmin &#8211; a tool that lets you manipulate MySQL databases through a web interface.
What may be less known is that phpMyAdmin comes with a variety of features that aren&#8217;t enabled by default.

Enabling the features
To enable these features, you will [...]]]></description>
			<content:encoded><![CDATA[<p>It goes without saying that anybody who has ever done open source development has heard of <a href="http://www.phpmyadmin.net/home_page/index.php">phpMyAdmin</a> &#8211; a tool that lets you manipulate MySQL databases through a web interface.</p>
<p>What may be less known is that <a href="http://www.phpmyadmin.net/home_page/index.php">phpMyAdmin</a> comes with a variety of features that aren&#8217;t enabled by default.</p>
<p><span id="more-58"></span><strong></strong></p>
<p><strong>Enabling the features</strong></p>
<p>To enable these features, you will first need to create a database called &#8220;phpmyadmin&#8221;.</p>
<p>Once that&#8217;s done, execute the SQL file &#8220;create_tables.sql&#8221; found in &#8220;/scripts&#8221;.</p>
<p>Afterwards, open up the <a href="http://www.phpmyadmin.net/home_page/index.php">phpMyAdmin</a> configs file: &#8220;config.inc.php&#8221; and uncomment the following lines:</p>
<blockquote>
<div id="_mcePaste">$cfg['Servers'][$i]['pmadb'] = &#8216;phpmyadmin&#8217;;</div>
<div id="_mcePaste">$cfg['Servers'][$i]['bookmarktable'] = &#8216;pma_bookmark&#8217;;</div>
<div id="_mcePaste">$cfg['Servers'][$i]['relation'] = &#8216;pma_relation&#8217;;</div>
<div id="_mcePaste">$cfg['Servers'][$i]['table_info'] = &#8216;pma_table_info&#8217;;</div>
<div id="_mcePaste">$cfg['Servers'][$i]['table_coords'] = &#8216;pma_table_coords&#8217;;</div>
<div id="_mcePaste">$cfg['Servers'][$i]['pdf_pages'] = &#8216;pma_pdf_pages&#8217;;</div>
<div id="_mcePaste">$cfg['Servers'][$i]['column_info'] = &#8216;pma_column_info&#8217;;</div>
<div id="_mcePaste">$cfg['Servers'][$i]['history'] = &#8216;pma_history&#8217;;</div>
<div id="_mcePaste">$cfg['Servers'][$i]['designer_coords'] = &#8216;pma_designer_coords&#8217;;</div>
</blockquote>
<div>Note that if you want to name the database something other than &#8220;phpmyadmin&#8221; you can do so by simply changing the following value:</div>
<blockquote>
<div>$cfg['Servers'][$i]['pmadb'] = &#8216;phpmyadmin&#8217;;</div>
</blockquote>
<p>You should now see a couple of new buttons in the horizontal menu after selecting a database:</p>
<div style="text-align: center;"><a href="http://blog.ht4.ca/wp-content/uploads/2009/12/pma.admin_.png"><img class="aligncenter size-full wp-image-87" title="phpMyAdmin Horizontal Menu" src="http://blog.ht4.ca/wp-content/uploads/2009/12/pma.admin_.png" alt="" width="600" /></a></div>
<p><strong>Designer Mode</strong></p>
<p><a href="http://blog.ht4.ca/wp-content/uploads/2009/12/designer.mode_1.png" target="_blank"><img class="size-medium wp-image-68 alignright" title="Designer Mode" src="http://blog.ht4.ca/wp-content/uploads/2009/12/designer.mode_1-300x229.png" alt="Designer Mode" width="300" height="229" /></a>The designer mode allows you to visualize your database structure and create table relations on the fly.</p>
<p>You may not be able to create the structure of a database with this tool, but it does a good job at creating a diagram out of an existing structure and allowing you to trace relations. With only two clicks you can create a foreign key relationship between two tables.</p>
<p>The &#8220;Save position&#8221; button is great for saving your diagram for later use.</p>
<p>The designer mode also allows you to print and export the diagram. This feature can be really useful when there is more than one person on the project or when you need a paper copy of the diagram.</p>
<p><strong>Query History</strong></p>
<p>Another great and underestimated feature is the query history.</p>
<p>I can&#8217;t help but think of the numerous times I ran queries in <a href="http://www.phpmyadmin.net/home_page/index.php">phpMyAdmin</a> and had to re-run them again at a later moment.</p>
<p>The query history tool allows you to view a list of all SELECT queries you executed.</p>
<p>Unfortunately this SQL history is only available for the current session. The next time you login or if you are booted out of <a href="http://www.phpmyadmin.net/home_page/index.php">phpMyAdmin</a>, you will lose the content of the query history.</p>
<p>To access the query history, simply click the &#8220;Edit&#8221; link after executing a query.</p>
<div style="text-align: center;"><a href="http://blog.ht4.ca/wp-content/uploads/2009/12/pma.edit_.query_.png"><img title="phpMyAdmin Query" src="http://blog.ht4.ca/wp-content/uploads/2009/12/pma.edit_.query_.png" alt="" width="732" height="116" /></a></div>
<p>Clicking the &#8220;SQL History&#8221; tab will bring you to the query history window:</p>
<div style="text-align: center;"><a href="http://blog.ht4.ca/wp-content/uploads/2009/12/pma.history.png"><img title="phpMyAdmin SQL History" src="http://blog.ht4.ca/wp-content/uploads/2009/12/pma.history.png" alt="" width="555" height="102" /></a></div>
<p><strong>Query Bookmarking</strong></p>
<p>The query bookmarking feature complements the query history feature. In essence, it allows you to save a query for later use.</p>
<p>You can bookmark a query in the previous dialog window as well as the &#8220;SQL&#8221; tab in the database view.</p>
<div style="text-align: center;"><a href="http://blog.ht4.ca/wp-content/uploads/2009/12/pma.sql_.png"><img title="phpMyAdmin SQL Bookmarking" src="http://blog.ht4.ca/wp-content/uploads/2009/12/pma.sql_.png" alt="" width="612" height="439" /></a></div>
<p>After bookmarking a query, you can execute it from the SQL tab.</p>
<p>For example, suppose we have this table:</p>
<blockquote><p>CREATE TABLE `user` (<br />
`id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,<br />
`active` TINYINT( 1 ) UNSIGNED NOT NULL ,<br />
`username` VARCHAR( 32 ) NOT NULL<br />
) ENGINE = INNODB ;</p></blockquote>
<p>We can bookmark the following query so that we can have easy access to active users:</p>
<blockquote><p>SELECT * FROM user WHERE active = 1</p></blockquote>
<p>A neat feature included with the bookmarking tool is the variable option. This option lets you dynamically add a variable or a statement to the query when executing the bookmark.</p>
<p>For example, we can bookmark the following query:</p>
<blockquote><p>SELECT * FROM user WHERE active = 1 /* AND username = &#8216;[VARIABLE]&#8216; */</p></blockquote>
<p>When we execute the bookmark with no variable, the second part of the query will simply be sent as a comment.</p>
<div style="text-align: center;"><a href="http://blog.ht4.ca/wp-content/uploads/2009/12/pma.execute.bookmark.png"><img style="border: 0px initial initial;" title="phpMyAdmin Execute Bookmark" src="http://blog.ht4.ca/wp-content/uploads/2009/12/pma.execute.bookmark.png" alt="" width="567" height="107" /></a></div>
<p>Suppose I execute the bookmark with the variable value &#8216;chris&#8217;, the query will become:</p>
<blockquote><p>SELECT * FROM user WHERE active = 1 AND username = &#8216;chris&#8217;</p></blockquote>
<p>Many other features are available after enabling them. It&#8217;s really a matter of browsing through <a href="http://www.phpmyadmin.net/home_page/index.php">phpMyAdmin</a> to find them. That being said I hope this will help people increase their productivity when using <a href="http://www.phpmyadmin.net/home_page/index.php">phpMyAdmin</a>.</p>
<p>- Christian Joudrey</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ht4.ca/2009/12/29/hidden-phpmyadmin-features/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Why use Twitter OAuth</title>
		<link>http://blog.ht4.ca/2009/12/04/why-use-twitter-oauth/</link>
		<comments>http://blog.ht4.ca/2009/12/04/why-use-twitter-oauth/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 04:25:28 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[OAuth]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://blog.ht4.ca/?p=14</guid>
		<description><![CDATA[Back in April, Twitter quietly released the Sign in with Twitter feature allowing account owners to log in to 3rd party websites. Even though Facebook has offered the same service (Facebook Connect) for well over a year, Twitter&#8217;s solution remains the easiest to implement.
If you are looking for a fast way to implement a membership [...]]]></description>
			<content:encoded><![CDATA[<p>Back in April, Twitter quietly released the <a href="http://apiwiki.twitter.com/Sign-in-with-Twitter" target="_blank">Sign in with Twitter</a> feature allowing account owners to log in to 3rd party websites. Even though Facebook has offered the same service (<a href="http://developers.facebook.com/connect.php" target="_blank">Facebook Connect</a>) for well over a year, Twitter&#8217;s solution remains the easiest to implement.</p>
<p>If you are looking for a fast way to implement a membership system without the hassle of programming a registration and login module, <a href="http://apiwiki.twitter.com/Sign-in-with-Twitter">Sign in with Twitter</a> may be your best bet. Not only will you be saving development time, but in the long run you may actually get a lot more members than with a normal registration form.</p>
<p><span id="more-14"></span></p>
<p>Think about it&#8230; How many times have you visited a site and landed on a registration page to find an endless form and an e-mail activation at the end of all of it.  Speaking for myself, this is a major turn off. I find myself registering to more websites that have the social sign in feature than those that don&#8217;t. After all it&#8217;s a matter of a few clicks and I am registered on the site.</p>
<p>As of today, <a href="http://siteanalytics.compete.com/twitter.com/">Twitter has 23 million unique visitors</a> per month. Most of those visitors have a Twitter account, hence would automatically have an account on your website as well.</p>
<p>The sign in process cannot be any easier for the end-user, it&#8217;s really a matter of:</p>
<ol>
<li>Clicking the &#8216;Sign in with Twitter&#8217; button</li>
<li>Allowing the application to gain access to your information</li>
<li>That&#8217;s it! You are now logged in!</li>
</ol>
<p>Not only will your visitors be able to register with a few clicks, but they will not be obliged to remember an additional username.</p>
<p>For obvious reasons, if time isn&#8217;t an issue you should still program the typical registration and login form. After all, you still want the people that do not have Twitter to register.</p>
<p>Another interesting option would be to allow existing users to associate their Twitter account. By doing so, the user can either login using his Twitter or with the website&#8217;s login.</p>
<p>The idea is to add a twitter_account_id column to your existing users table. When someone tries to login with Twitter OAuth, you attempt to load the account linked to that Twitter account and proceed to the normal login process.</p>
<p>You could also do something a little bit more advanced and add a Many-to-One table with the following columns:</p>
<ul>
<li>user_id <em>unsigned int(10)</em></li>
<li>site <em>ENUM(&#8216;twitter&#8217;, &#8216;facebook&#8217;)</em></li>
<li>account_id <em>unsigned int(10)</em></li>
</ul>
<p>In essence, this would allow each user to have multiple social website accounts. This could be interesting for the person wanting to link his Twitter as well as his Facebook account to their account.</p>
<p>You can speed up queries by adding a UNIQUE index on all 3 columns and a foreign key from user_id to the primary key of your users table.</p>
<p>-Christian Joudrey</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ht4.ca/2009/12/04/why-use-twitter-oauth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fiddling with netcat &#8211; intercepting proxy</title>
		<link>http://blog.ht4.ca/2009/12/02/fiddling-with-netcat-intercepting-proxy/</link>
		<comments>http://blog.ht4.ca/2009/12/02/fiddling-with-netcat-intercepting-proxy/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 22:24:51 +0000</pubDate>
		<dc:creator>cody</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[netcat]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://blog.ht4.ca/?p=23</guid>
		<description><![CDATA[A couple of days ago Chris needed a way to see how a particular client was interacting with a server. Obviously there are numerous ways to do this, but I was curious how easy it would be to implement something similar with a quick netcat command. Sure enough after a little bit of fiddling I [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago Chris needed a way to see how a particular client was interacting with a server. Obviously there are numerous ways to do this, but I was curious how easy it would be to implement something similar with a quick <a href="http://en.wikipedia.org/wiki/Netcat">netcat</a> command. Sure enough after a little bit of fiddling I was able to produce exactly what he needed.</p>
<blockquote><p>nc -l -p 12345 &lt; pipe | tee outgoing.log | nc server 12345 | tee pipe incoming.log</p></blockquote>
<p>Now this may seem a little cryptic so I&#8217;m going to dissect each portion to explain how it works. Keep in mind the &#8220;pipe&#8221; references an actual <a href="http://en.wikipedia.org/wiki/Named_pipe">pipe</a>. You can make a FIFO pipe by running &#8220;<a href="http://linux.die.net/man/3/mkfifo">mkfifo</a> pipe&#8221; or &#8220;<a href="http://linux.die.net/man/3/mknod">mknod</a> pipe p&#8221; &#8211; the former is the most usual way. If you&#8217;re not familiar with named pipes I recommend <a href="http://en.wikipedia.org/wiki/Named_pipe">reading up on them</a> before continuing with this post as you may get a little confused.</p>
<blockquote><p>nc -l -p 12345 &lt; pipe</p></blockquote>
<p>This portion simply has netcat listen on port 12345 and send anything from the pipe to the connected client. If you&#8217;re not familiar with the pipes think of it as a simple file with the word &#8220;hello&#8221; in it. When someone were to successfully connect to the netcat instance it would send the &#8220;hello&#8221; to the client.</p>
<p><span id="more-23"></span></p>
<blockquote><p>| tee outgoing.log</p></blockquote>
<p>If you&#8217;re not familiar with <a href="http://unixhelp.ed.ac.uk/CGI/man-cgi?tee">tee</a> this may seem a bit obscure. Tee prints the things piped to it to stdout as well as writing it to a file. In this instance any traffic from the connected client will get printed to stdout and to the file &#8220;outgoing.log&#8221;. An example of how this would work is if I connected to the netcat instance and simply typed &#8220;hello&#8221; it would print it out to the screen and log it to the &#8220;outgoing.log&#8221; file.</p>
<blockquote><p>| nc server 12345</p></blockquote>
<p>This is the server that you would normally want to connect to. Remember the goal is to make a quick intercepting proxy to see how the client reacts to the server. This is the server.</p>
<blockquote><p>| tee pipe incoming.log</p></blockquote>
<p>Here is where the magic happens. This completes the relay so the client and server can communicate across the proxy. What this does is takes the network traffic from the server and using tee prints it to stdout while piping it to our &#8220;pipe&#8221; and &#8220;incoming.log&#8221; files respectively.</p>
<p>Now all of this may make sense individually, though how they work together might be slightly confusing.</p>
<p>If you recall the first command sends all data from our &#8220;pipe&#8221; to the client &#8211; and at the end we pipe all data from the server to the &#8220;pipe&#8221;. See now? We&#8217;re simply taking all data the server send and sending it to the client completing the relay and allowing for normal operation.</p>
<p>Now in this case Chris needed this for a quick look at how a normal IRC client interacts with the server since the RFC is lacking &#8211; so here is a real world example of where this was used (though there&#8217;s likely infinite better ways to do it):</p>
<blockquote><p>nc -l -p 12345 &lt; pipe | tee outgoing.log | nc irc.freenode.net 6667 | tee pipe incoming.log</p></blockquote>
<p>You&#8217;ll notice when you execute the above command you&#8217;ll start seeing some traffic from the server instantly:</p>
<blockquote><p>NOTICE AUTH :*** Looking up your hostname&#8230;<br />
NOTICE AUTH :*** Checking ident<br />
NOTICE AUTH :*** No identd (auth) response<br />
NOTICE AUTH :*** Couldn&#8217;t look up your hostname</p></blockquote>
<p>Now we connect to the netcat server &#8211; in this case localhost on port 12345 and if everything goes as planned it should connect like normal to Freenode. If you take a peak at the netcat server you&#8217;ll see a bunch of activity!</p>
<p>The cool part is the logs &#8211; we can see exactly how this particular IRC client (IRSSI) and server (Freenode) interact.</p>
<p><a href="http://rhinoass.com/incoming.log">incoming.log</a><br />
<a href="http://rhinoass.com/outgoing.log">outgoing.log</a></p>
<p>Once again this isn&#8217;t the best way to do this &#8211; tcpdump, wireshark and infinite other choices are available. That being said it&#8217;s fun to fiddle and learn.</p>
<p>-Cody Robertson</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ht4.ca/2009/12/02/fiddling-with-netcat-intercepting-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->