<?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>Mathieu Dallaire</title>
	<atom:link href="http://mathieudallaire.net/feed" rel="self" type="application/rss+xml" />
	<link>http://mathieudallaire.net</link>
	<description>A blog about IT, scuba diving and other things...</description>
	<lastBuildDate>Tue, 03 Feb 2009 17:21:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VMware Workstation 6.5 Ubuntu keymapping fix</title>
		<link>http://mathieudallaire.net/ubuntu/vmware-workstation-65-ubuntu-keymapping-fix</link>
		<comments>http://mathieudallaire.net/ubuntu/vmware-workstation-65-ubuntu-keymapping-fix#comments</comments>
		<pubDate>Mon, 02 Feb 2009 21:08:04 +0000</pubDate>
		<dc:creator>Mathieu Dallaire</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://mathieudallaire.net/?p=14</guid>
		<description><![CDATA[If after installing VMware Workstation 6.5 on your Ubuntu workstation you have problems with keymaps inside your virtual machines (arrows not working or binded to other keys) you have to add the following lines at the end of /etc/vmware/config
xkeymap.keycode.108 = 0x138 # Alt_R
xkeymap.keycode.106 = 0x135 # KP_Divide
xkeymap.keycode.104 = 0x11c # KP_Enter
xkeymap.keycode.111 = 0x148 # Up
xkeymap.keycode.116 [...]]]></description>
			<content:encoded><![CDATA[<p>If after installing VMware Workstation 6.5 on your Ubuntu workstation you have problems with keymaps inside your virtual machines (arrows not working or binded to other keys) you have to add the following lines at the end of /etc/vmware/config</p>
<pre>xkeymap.keycode.108 = 0x138 # Alt_R
xkeymap.keycode.106 = 0x135 # KP_Divide
xkeymap.keycode.104 = 0x11c # KP_Enter
xkeymap.keycode.111 = 0x148 # Up
xkeymap.keycode.116 = 0x150 # Down
xkeymap.keycode.113 = 0x14b # Left
xkeymap.keycode.114 = 0x14d # Right
xkeymap.keycode.105 = 0x11d # Control_R
xkeymap.keycode.118 = 0x152 # Insert
xkeymap.keycode.119 = 0x153 # Delete
xkeymap.keycode.110 = 0x147 # Home
xkeymap.keycode.115 = 0x14f # End
xkeymap.keycode.112 = 0x149 # Prior
xkeymap.keycode.117 = 0x151 # Next
xkeymap.keycode.78 = 0x46 # Scroll_Lock
xkeymap.keycode.127 = 0x100 # Pause
xkeymap.keycode.133 = 0x15b # Meta_L
xkeymap.keycode.134 = 0x15c # Meta_R
xkeymap.keycode.135 = 0x15d # Menu</pre>
<p>Some articles suggests adding the lines to /home/user/.vmware/config but in my experience it breaks the Unity function.</p>
            <script type="text/javascript">  linkscolor = "000000";  highlightscolor = "888888";  backgroundcolor = "FFFFFF";  channel = "none";   </script><script type="text/javascript" src="http://www.addmarx.com/dynamicbookmark_compressed.php"></script><span><a onClick="clickDynamic1(this); return false;" href="http://www.addmarx.com"><img src="http://mathieudallaire.net/wp-content/plugins/addmarx/sharebookmarx.png" border="0"></a></span><span style="position:absolute; z-index:1000001; margin-top:24px; margin-left:-127px; visibility:hidden;"><iframe id="addmarx_empty" scrolling="no" frameborder="0"></iframe></span><!-- Please place the above code into your site where you want to have a bookmark/share/publicize link. Please do not change any of the code aside from the link text or image, or else the code may not work properly.  -->                  ]]></content:encoded>
			<wfw:commentRss>http://mathieudallaire.net/ubuntu/vmware-workstation-65-ubuntu-keymapping-fix/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SlickRun</title>
		<link>http://mathieudallaire.net/free-tools/slickrun</link>
		<comments>http://mathieudallaire.net/free-tools/slickrun#comments</comments>
		<pubDate>Fri, 14 Mar 2008 23:45:50 +0000</pubDate>
		<dc:creator>Mathieu Dallaire</dc:creator>
				<category><![CDATA[Free Tools]]></category>

		<guid isPermaLink="false">http://www.mathieudallaire.net/wp/free-tools/slickrun</guid>
		<description><![CDATA[SlickRun is a floating command line tool for windows. It allows you to run custom command defined by yourself and built-in Windows commands. For example I can create a command that points to UltraVNC viewer executable and call it vnc. Now to connect to a remote computer I only have to call SlickRun, type &#8220;vnc [...]]]></description>
			<content:encoded><![CDATA[<p>SlickRun is a floating command line tool for windows. It allows you to run custom command defined by yourself and built-in Windows commands. For example I can create a command that points to UltraVNC viewer executable and call it vnc. Now to connect to a remote computer I only have to call SlickRun, type &#8220;vnc computername&#8221; and I&#8217;m connected to the computer. The next time you have to connect to that same computer you just type in &#8220;vnc com&#8221; and if you have auto-complete enabled SlickRun will fill in the rest of the word for you.</p>
<p>You can use SlickRun to call and provide parameters to batch files or tools like <a href="http://talhatariq.wordpress.com/projects/remote-command-executor-xrce/">RemCom</a> and <a href="http://www.nirsoft.net/utils/nircmd.html">NirCmd</a> to execute complex operations on remote computers using simple commands. The possibilities are almost infinite.</p>
<p><a title="www.bayden.com/SlickRun" href="http://www.bayden.com/SlickRun/" target="_blank">www.bayden.com/SlickRun</a></p>
<p><!--adsense#itadvance_text--></p>
            <script type="text/javascript">  linkscolor = "000000";  highlightscolor = "888888";  backgroundcolor = "FFFFFF";  channel = "none";   </script><script type="text/javascript" src="http://www.addmarx.com/dynamicbookmark_compressed.php"></script><span><a onClick="clickDynamic1(this); return false;" href="http://www.addmarx.com"><img src="http://mathieudallaire.net/wp-content/plugins/addmarx/sharebookmarx.png" border="0"></a></span><span style="position:absolute; z-index:1000001; margin-top:24px; margin-left:-127px; visibility:hidden;"><iframe id="addmarx_empty" scrolling="no" frameborder="0"></iframe></span><!-- Please place the above code into your site where you want to have a bookmark/share/publicize link. Please do not change any of the code aside from the link text or image, or else the code may not work properly.  -->                  ]]></content:encoded>
			<wfw:commentRss>http://mathieudallaire.net/free-tools/slickrun/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to : Run dig on Windows</title>
		<link>http://mathieudallaire.net/how-to/how-to-run-dig-on-windows</link>
		<comments>http://mathieudallaire.net/how-to/how-to-run-dig-on-windows#comments</comments>
		<pubDate>Sun, 02 Mar 2008 06:45:07 +0000</pubDate>
		<dc:creator>Mathieu Dallaire</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[How to]]></category>

		<guid isPermaLink="false">http://www.mathieudallaire.net/wp/free-tools/how-to-run-dig-on-windows</guid>
		<description><![CDATA[Dig is a nice linux/unix tool to query dns servers which is included by default in most linux distribution.  You can get dig from BIND which is provided by the ISC ftp://ftp.isc.org/isc/bind/. Just grab the zip file for the latest version and extract the following files to c:\dig (or any folder that suits your [...]]]></description>
			<content:encoded><![CDATA[<p>Dig is a nice linux/unix tool to query dns servers which is included by default in most linux distribution.  You can get dig from BIND which is provided by the ISC <a href="ftp://ftp.isc.org/isc/bind/">ftp://ftp.isc.org/isc/bind/</a>. Just grab the zip file for the latest version and extract the following files to c:\dig (or any folder that suits your need)</p>
<p><code>dig.exe<br />
libbind9.dll<br />
libdns.dll<br />
libeay32.dll<br />
libisc.dll<br />
libisccc.dll<br />
libisccfg.dll<br />
liblwres.dll</code></p>
<p>If you intend to use dig alot I suggest that you add it&#8217;s folder to your path for more convenience.</p>
<p><!--adsense#itadvance_text--></p>
<p>Open a command prompt and go to c:\dig and type &#8220;dig www.google.com&#8221;. You should see something like this :</p>
<pre>C:\dig&gt;dig www.google.com

; &lt;&lt;&gt;&gt; DiG 9.4.2 &lt;&lt;&gt;&gt; www.google.com
;; global options:  printcmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 470
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.                        IN      A

;; ANSWER SECTION:
www.google.com.         10182   IN      CNAME   www.l.google.com.
www.l.google.com.       193     IN      A       72.14.205.147
www.l.google.com.       193     IN      A       72.14.205.99
www.l.google.com.       193     IN      A       72.14.205.103
www.l.google.com.       193     IN      A       72.14.205.104

;; Query time: 15 msec
;; SERVER: 10.150.250.1#53(10.150.250.1)
;; WHEN: Sun Mar 02 00:28:44 2008
;; MSG SIZE  rcvd: 116

C:\dig&gt;</pre>
<p>This is the basic syntax to make basic queries:<br />
<code>dig [domain] [query type] @[nameserver]</code></p>
<p>Here is a small list of sample query you can give to dig in your everyday use.</p>
<p>When no query type is specified dig will return the &#8220;a&#8221; record(s) for the domain from your configured name server<br />
<code>dig google.com</code></p>
<p>This return the mx records for google.com and the &#8220;a&#8221; records for each mx from your configured name server<br />
<code>dig google.com mx</code></p>
<p>This will query the name server 198.235.216.130 for &#8220;a&#8221; records of the domain google.com<br />
<code>dig google.com a @198.235.216.130</code></p>
<p><!--adsense#itadvance_text--></p>
            <script type="text/javascript">  linkscolor = "000000";  highlightscolor = "888888";  backgroundcolor = "FFFFFF";  channel = "none";   </script><script type="text/javascript" src="http://www.addmarx.com/dynamicbookmark_compressed.php"></script><span><a onClick="clickDynamic1(this); return false;" href="http://www.addmarx.com"><img src="http://mathieudallaire.net/wp-content/plugins/addmarx/sharebookmarx.png" border="0"></a></span><span style="position:absolute; z-index:1000001; margin-top:24px; margin-left:-127px; visibility:hidden;"><iframe id="addmarx_empty" scrolling="no" frameborder="0"></iframe></span><!-- Please place the above code into your site where you want to have a bookmark/share/publicize link. Please do not change any of the code aside from the link text or image, or else the code may not work properly.  -->                  ]]></content:encoded>
			<wfw:commentRss>http://mathieudallaire.net/how-to/how-to-run-dig-on-windows/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to : Prevent spammers from spoofing your domain with SPF</title>
		<link>http://mathieudallaire.net/spam-filter/how-to-prevent-spammers-from-spoofing-your-domain-with-spf</link>
		<comments>http://mathieudallaire.net/spam-filter/how-to-prevent-spammers-from-spoofing-your-domain-with-spf#comments</comments>
		<pubDate>Thu, 21 Feb 2008 02:17:35 +0000</pubDate>
		<dc:creator>Mathieu Dallaire</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Spam Filter]]></category>

		<guid isPermaLink="false">http://www.mathieudallaire.net/http:/mathieudallaire.net/spam-filter/how-to-prevent-spammers-from-spoofing-your-domain-with-spf</guid>
		<description><![CDATA[Spam going trough you mail system to your end users is only part of the spam problem. There is another part called domain or email spoofing.
Here is the definition of domain spoofing from answers.com :
The unauthorized use of a third-party domain name as the sender&#8217;s name in an e-mail message. Most often used by spammers, [...]]]></description>
			<content:encoded><![CDATA[<p>Spam going trough you mail system to your end users is only part of the spam problem. There is another part called domain or email spoofing.</p>
<p>Here is the definition of domain spoofing from <a href="http://www.answers.com/topic/e-mail-spoofing?cat=technology" target="_blank">answers.com</a> :</p>
<blockquote><p>The unauthorized use of a third-party domain name as the sender&#8217;s name in an e-mail message. Most often used by spammers, spoofing the name of a popular retailer or organization entices the recipient to read the full message.</p></blockquote>
<p>Some negative effect of email spoofing of your domain are bad publicity, flood of bounce notification for emails you did not send, possibly phishing of your e-commerce site and spam getting to your end users because of white listing of you own domain in your spam filter.</p>
<p>There are 3 main methods of preventing spoofing :</p>
<ul>
<li>Sender Policy Framework (SPF records)</li>
<li>Sender ID Framework (SIDF) (Microsoft&#8217;s implementation of SPF)</li>
<li>DomainKeys Identified Mail (DKIM)</li>
</ul>
<p>In this post I will explain how to use SPF records since it is the easiest to setup and the most widely adopted of the three mechanism. This goal of this post is to get you started with SPF records and help you start design a record for your domain and is far from covering the whole complexities of mail servers and authentication mechanism. For more advanced information I encourage you to read trough the links posted at the end of this post.</p>
<p><!--adsense#itadvance_text--></p>
<p>A SPF record is a text record for your domain name specifying which servers are allowed to send mail for the domain. This is why it is important to do a good evaluation of your network for all the possible sources of email for your domain. This includes but is not limited to website confirmation mail, mobile devices (BlackBerrys, Palm, etc) and Internet load balancer (more on that later).</p>
<p>Once you have defined all the sources of email (IP and DNS name) you can start creating the SPF record. I will be using example.com with the following records.</p>
<p><code>example.com                            MX     10    mx1.example.com<br />
example.com                           MX   20   mx2.example.com<br />
mx1.example.com                A    111.111.111.25<br />
mx1.example.com                A              111.111.111.26<br />
www.example.com             A    111.111.111.80<br />
</code></p>
<p>Considering that mx1.example.com,  mx2.example.com and www.example.com send email from  example.com we would create the following  spf record :</p>
<pre><code>"v=spf1 mx ip4:111.111.111.80 -all"</code></pre>
<p><strong>v=spf1</strong><br />
All SPF record should begin with this</p>
<p><strong> mx</strong><br />
This is a alias including all the servers in mx records (in this case mx1.example.com and mx2.example.com)</p>
<p><strong>ip4</strong><br />
This specify another valid outgoing server by IP, we can also add the mask to this so if we wanted to allow the whole 111.111.111.0 subnet to send mail we would have written ip4:111.111.111.0/24.</p>
<p><strong>-all</strong><br />
The &#8220;-&#8221; means that the following host is denied to send mail for our domain. &#8220;all&#8221; will match everything</p>
<p>A receiving server looking up the spf record will try to match the conditions from left to right, this is why we put -all at the end, to make sure any host not specifically mentioned before is denied.</p>
<p>Now our records would look like this :<br />
<code>example.com     	            MX        10    mx1.example.com<br />
example.com         	        MX       20   mx2.example.com<br />
mx1.example.com        A            111.111.111.25<br />
mx1.example.com         A            111.111.111.26<br />
www.example.com       A            111.111.111.80<br />
example.com       TXT   "v=spf1 mx ip4:111.111.111.80 -all"</code></p>
<p>When using a Internet load balancer, outgoing mail may pass trough different IP when leaving your internal network and if only one of the wan IP is in the SPF record then you may experience mail bouncing back because of SPF failure (Trust me, I learned it the hard way). In this situation you can either put all your wan IPs in the SPF record or use only one and force outgoing smtp traffic to pass through the allowed IP.</p>
<p>If you are using your ISP&#8217;s smtp server as a smarthost for you mail server make sure to add it to the spf record too since the smart host will be considered the sending server.</p>
<p>You can read the links below for more information on email authentication and the different mechanism available. On <a href="http://www.openspf.org/">www.openspf.org</a> you will find tools to help you design you record, a full page describing the SPF syntax and tools to test your SPF records. I also included links to SenderID and DKIM sites.</p>
<h4>Links</h4>
<p><a href="http://en.wikipedia.org/wiki/E-mail_authentication">http://en.wikipedia.org/wiki/E-mail_authentication</a></p>
<h5>SPF</h5>
<p><a href="http://www.openspf.org/">http://www.openspf.org/</a><br />
<a href="http://en.wikipedia.org/wiki/Sender_Policy_Framework">http://en.wikipedia.org/wiki/Sender_Policy_Framework </a></p>
<h5>DKIM</h5>
<p><a href="http://www.dkim.org/">http://www.dkim.org/ </a></p>
<h5>SenderID</h5>
<p><a href="http://www.microsoft.com/downloads/details.aspx?familyid=B7CE1CAC-D884-4216-82FE-379F875663FF&amp;displaylang=en">http://en.wikipedia.org/wiki/Sender_ID</a><br />
<a href="http://www.microsoft.com/downloads/details.aspx?familyid=B7CE1CAC-D884-4216-82FE-379F875663FF&amp;displaylang=en">Implementation Tips for the Sender ID Framework—Creating Your SPF Record</a></p>
<p><!--adsense#itadvance_text--></p>
            <script type="text/javascript">  linkscolor = "000000";  highlightscolor = "888888";  backgroundcolor = "FFFFFF";  channel = "none";   </script><script type="text/javascript" src="http://www.addmarx.com/dynamicbookmark_compressed.php"></script><span><a onClick="clickDynamic1(this); return false;" href="http://www.addmarx.com"><img src="http://mathieudallaire.net/wp-content/plugins/addmarx/sharebookmarx.png" border="0"></a></span><span style="position:absolute; z-index:1000001; margin-top:24px; margin-left:-127px; visibility:hidden;"><iframe id="addmarx_empty" scrolling="no" frameborder="0"></iframe></span><!-- Please place the above code into your site where you want to have a bookmark/share/publicize link. Please do not change any of the code aside from the link text or image, or else the code may not work properly.  -->                  ]]></content:encoded>
			<wfw:commentRss>http://mathieudallaire.net/spam-filter/how-to-prevent-spammers-from-spoofing-your-domain-with-spf/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Sound Switch</title>
		<link>http://mathieudallaire.net/free-tools/quick-sound-switch</link>
		<comments>http://mathieudallaire.net/free-tools/quick-sound-switch#comments</comments>
		<pubDate>Sun, 17 Feb 2008 17:51:23 +0000</pubDate>
		<dc:creator>Mathieu Dallaire</dc:creator>
				<category><![CDATA[Free Tools]]></category>

		<guid isPermaLink="false">http://www.mathieudallaire.net/http:/mathieudallaire.net/free-tools/quick-sound-switch</guid>
		<description><![CDATA[Quick Sound Switch is a great tool for people using USB headphones and one or multiple sound card. It&#8217;s a taskbar icon that allow you to quickly switch the default sound device between your available sound cards. The change only applies to newly opened process so just make sure to switch to the desired device [...]]]></description>
			<content:encoded><![CDATA[<p>Quick Sound Switch is a great tool for people using USB headphones and one or multiple sound card. It&#8217;s a taskbar icon that allow you to quickly switch the default sound device between your available sound cards. The change only applies to newly opened process so just make sure to switch to the desired device before launching the application that will be using it.</p>
<p><a href="http://www.quicksoundswitch.toflo.de/" target="_blank">http://www.quicksoundswitch.toflo.de/</a><br />
<!--adsense#itadvance_text--></p>
            <script type="text/javascript">  linkscolor = "000000";  highlightscolor = "888888";  backgroundcolor = "FFFFFF";  channel = "none";   </script><script type="text/javascript" src="http://www.addmarx.com/dynamicbookmark_compressed.php"></script><span><a onClick="clickDynamic1(this); return false;" href="http://www.addmarx.com"><img src="http://mathieudallaire.net/wp-content/plugins/addmarx/sharebookmarx.png" border="0"></a></span><span style="position:absolute; z-index:1000001; margin-top:24px; margin-left:-127px; visibility:hidden;"><iframe id="addmarx_empty" scrolling="no" frameborder="0"></iframe></span><!-- Please place the above code into your site where you want to have a bookmark/share/publicize link. Please do not change any of the code aside from the link text or image, or else the code may not work properly.  -->                  ]]></content:encoded>
			<wfw:commentRss>http://mathieudallaire.net/free-tools/quick-sound-switch/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
