{"id":413,"date":"2012-02-23T23:33:00","date_gmt":"2012-02-24T04:33:00","guid":{"rendered":"http:\/\/www.jetmore.org\/john\/blog\/?p=413"},"modified":"2012-04-10T13:13:20","modified_gmt":"2012-04-10T17:13:20","slug":"swaks-ipv6-support-initial-draft","status":"publish","type":"post","link":"https:\/\/www.jetmore.org\/john\/blog\/2012\/02\/swaks-ipv6-support-initial-draft\/","title":{"rendered":"Swaks IPv6 Support &#8211; Initial Draft"},"content":{"rendered":"<p>I&#8217;ve put together an initial attempt at IPv6 support in swaks. If this sort of thing interests you, please take a look at what I have so far and let me know what you think.<\/p>\n<p><strong>LINK REMOVED<\/strong> &#8211; this was a development release and the changes have been incorporated in official releases.  Please see the project home page at <a href=\"http:\/\/jetmore.org\/john\/code\/swaks\/\" target=\"_blank\">http:\/\/jetmore.org\/john\/code\/swaks\/<\/a> for the latest release.<\/p>\n<p>There is no documentation included yet, but the only real change to the documentation is the addition of the -4 and -6 options to force IPv4 or IPv6. There are a few unrelated tweaks since the last release, but nothing that needs documentation at this point.<\/p>\n<p><!--more--><\/p>\n<p>Static routing (where the target server is explicitly set using the &#8211;server option) is fairly solid and intuitive in my opinion. MX routing when -4 or -6 is given is also pretty solid &#8211; the MXs are cycled through and only chosen if the MX has the correct IP records associated with it (if -4 set, the exchanger is only chose if it has A records).<\/p>\n<p>The only really muddy issue I have outstanding is how much work to do sorting out MX records when neither -4 or -6 is specified. If I were to build the most robust thing I could, I would have to find the local machine&#8217;s interfaces to see if IPv6 will be available, then sort the MX records accordingly. However, I really don&#8217;t want to get that deep into the local machine config. As the code stands right now, without a hint about whether we will be using IPv4 or IPv6 at transport time, we can end up choosing an A-only MX record on an IPv6-only machine, or an AAAA-only MX record on an IPv4 machine.<\/p>\n<p>Still early goings on this. Please download it and try it out and let me know what you think. Feedback greatly appreciated.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve put together an initial attempt at IPv6 support in swaks. If this sort of thing interests you, please take a look at what I have so far and let me know what you think. LINK REMOVED &#8211; this was &hellip; <a href=\"https:\/\/www.jetmore.org\/john\/blog\/2012\/02\/swaks-ipv6-support-initial-draft\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,5,6],"tags":[8,21],"_links":{"self":[{"href":"https:\/\/www.jetmore.org\/john\/blog\/wp-json\/wp\/v2\/posts\/413"}],"collection":[{"href":"https:\/\/www.jetmore.org\/john\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jetmore.org\/john\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jetmore.org\/john\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jetmore.org\/john\/blog\/wp-json\/wp\/v2\/comments?post=413"}],"version-history":[{"count":3,"href":"https:\/\/www.jetmore.org\/john\/blog\/wp-json\/wp\/v2\/posts\/413\/revisions"}],"predecessor-version":[{"id":574,"href":"https:\/\/www.jetmore.org\/john\/blog\/wp-json\/wp\/v2\/posts\/413\/revisions\/574"}],"wp:attachment":[{"href":"https:\/\/www.jetmore.org\/john\/blog\/wp-json\/wp\/v2\/media?parent=413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jetmore.org\/john\/blog\/wp-json\/wp\/v2\/categories?post=413"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jetmore.org\/john\/blog\/wp-json\/wp\/v2\/tags?post=413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}