<?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 &#187; How to</title>
	<atom:link href="http://mathieudallaire.net/category/how-to/feed" rel="self" type="application/rss+xml" />
	<link>http://mathieudallaire.net</link>
	<description></description>
	<lastBuildDate>Fri, 09 Jul 2010 13:15:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to : Convert Jumbox to OVF</title>
		<link>http://mathieudallaire.net/how-to/convert-jumbox-to-ovf</link>
		<comments>http://mathieudallaire.net/how-to/convert-jumbox-to-ovf#comments</comments>
		<pubDate>Sun, 04 Jul 2010 04:35:22 +0000</pubDate>
		<dc:creator>Mathieu Dallaire</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[jumpbox]]></category>
		<category><![CDATA[ovf]]></category>
		<category><![CDATA[ovftool]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://mathieudallaire.net/?p=62</guid>
		<description><![CDATA[Extract your previously downloaded Jumbox to a folder Download VMware OVF Tool from here : http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf Install the OVF tool Run the OVF tool with the following options ovftool /yourjumbox/JumpBox.vmx /folder/foryourovf Just wait for the transfer to be done and you will be ready to import your Jumbox in vSphere or VirtualBox. To see all [...]]]></description>
			<content:encoded><![CDATA[<p>Extract your previously downloaded <a title="Jumpbox" href="http://www.jumpbox.com/">Jumbox</a> to a folder</p>
<p>Download VMware OVF Tool from here : <a title="http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf" href="http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf">http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf</a></p>
<p>Install the OVF tool</p>
<p>Run the OVF tool with the following options</p>
<p><code>ovftool /yourjumbox/JumpBox.vmx /folder/foryourovf</code></p>
<p>Just wait for the transfer to be done and you will be ready to import your Jumbox in vSphere or VirtualBox.</p>
<p>To see all option use :<br />
<code>ovftool --help</code></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/convert-jumbox-to-ovf/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 need) [...]]]></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>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>
            <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>0</slash:comments>
		</item>
		<item>
		<title>How to : Prevent spammers from spoofing your domain with SPF</title>
		<link>http://mathieudallaire.net/how-to/how-to-prevent-spammers-from-spoofing-your-domain-with-spf</link>
		<comments>http://mathieudallaire.net/how-to/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[How to]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[domain spoofing]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[spf]]></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 [...]]]></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>
            <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-prevent-spammers-from-spoofing-your-domain-with-spf/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
