HAProxy for IPv6 translation to IPv4-only website

Background:
Have you heard of World IPv6 Day? On June 8 2011, a lot of very prominent web sites, like Google, Facebook, Yahoo and many more, are going to host their web site on dual stack for the day. They do this by publishing a AAAA DNS record, that’s an IPv6 address in DNS, so their site will resolve and be available on both IPv4 and IPv6 simultaneously. In other words, if you type in www.google.com on June 8 2011 and your computer can reach the IPv6 Internet, then your browser will fetch the AAAA record and connect to google’s site via IPv6, instead of IPv4. If you don’t have IPv6, you’ll just connect the same old way you do today. Either way, it’s going to be rather transparent to the end user, unless these sites flash something to users to say “HEY, YOU CONNECTED OVER IPv6″.

Challenge:
So, thinking about any web site out there that currently lives on IPv4, how can we make it dual stack, without owning or touching the existing servers? Answer: with a proxy. We want this proxy to be a separate machine, anywhere on the Internet, that already has dual stack hosting.

The dedicated, dual stacked proxy server will listen on an IPv6 IP address and forward that traffic to an IPv4 address. Can this be done reliably for a web site for World IPv6 Day. I think yes, it can. For one, the percentage of Internet traffic that’ll come over IPv6, even on this day, is only about 1% to 5%. So, as long as this proxy server can handle 5% of your normal load, it’ll work.

You can use HAProxy, available at http://haproxy.1wt.eu/, to turn your Linux or Solaris based dedicated (or virtual dedicated) server into an IPv6 translation proxy! And, it’ll work for both HTTP and HTTPS.

You don’t need to load the HTTPS ssl cert, either. HAProxy can TCP proxy, instead of HTTP proxy, so the end user will be talking directly to the server. The only caveot to this is that all traffic from your proxy will appear to the server as coming from the proxy ipv4 ip. You’ll lose all visibility of src ip.

Read on to see the proof of concept, this in action:
Continue reading

Posted in Uncategorized | Leave a comment

Cox Communication (NOT) using IPv6 transition mechanism 6to4 Relay anycast prefix

This is how Cox is providing us with IPv6 today.

(2/16 UPDATE – I WAS WRONG, MORE DETAILS OF CORRECTION AT BOTTOM OF POST. I AM GETTING IPV6 THROUGH 6TO4 ANYCAST RELAY, BUT NOT PROVIDED BY COX. THIS ARTICLE IS STILL VALID, JUST THAT IT’S NOT COX SUPPLYING IT)

http://www.ietf.org/rfc/rfc3068.txt

Check the comments out on this:
http://whois.arin.net/rest/net/NET-192-88-99-0-1

And what happens when I traceroute to 192.88.99.1 from home:
Continue reading

Posted in IPv6 | 2 Comments

HTTP Dynamic Streaming

I’d like to demo HTTP Dynamic Streaming for you….

Benefits:

  • * Adaptive bitrate - will seamlessly switch between streams depending on your flexing bandwidth conditions.
  • * Jump point navigation – can jump to any point in the movie instantly.
  • * Only download what you watch, only holds a small amount of buffer at a time. This saves on bandwidth charges.

I’m going to point it to this URL:

http://zeridemo-f.akamaihd.net/content/robinhood/robin_hood_25fps_3000-2.f4m


Continue reading

Posted in Uncategorized | 2 Comments

OSMF Flash Video Player for WordPress

Trying out this WordPress Plugin:
Flash Media Playback

Up till now, I’ve used the Viper’s Video Quicktags, which has served me well to date, and is great b/c it allows you to embed a variety of videos like YouTube, Vimeo, Flickr and a bunch more. The problem with Viper’s is the Flash option uses the jwplayer, which comes with some restrictions like non-commercial use only.

So, I think the perfect combo of WordPress video plugins is Flash Media Playback for Flash with HTML5 fallback, and Viper’s Video Quicktags for YouTube, Vimeo, etc (i.e. everything else). Read on to see the examples:

Continue reading

Posted in Video | Leave a comment

The end of the Internet is near

Well, maybe not the end of the Internet, but the end of the IP Address space, as we know it, is near. You know, IP addresses are the 4 blocks of number separated by periods, i.e. 10.0.0.1; well, there are only 4 billion of them. Sometime next year, 2012, Internet Assigned Numbers Authority (IANA) will have no more IP addresses to give to the Regional Internet Registries (RIRs). About a year after that, the RIRs will have no more to give out to Internet Service Providers (ISPs), such as Cox Communication and Go Daddy.
Continue reading

Posted in IPv6, Research | Tagged , , , , , | 1 Comment

Making bp-events work on BuddyPress 1.2 (with invites working)

There is a lot of chatter about wanting the plugin creator to update bp-events to work with Buddypress version 1.2, and so far it hasn’t happened, however, this guy has ported it for us so kindly:

http://codewarrior.getpaidfrom.us/2010/04/21/buddypress-event-plugin-for-1-2/

Continue reading

Posted in Code, Linux, Research | Tagged , , | 2 Comments

My First Easy Database Data Widget

Just testing this new product out called Easy Database for Website – will be out soon.

All this does it put a table on my site. There are more interesting widgets, such as search and filter, and form widgets, just starting with the most simple list possible from the Music template. Here is the list of Genres that were pre-populated in the Genre table for me:
Continue reading

Posted in Reviews | Leave a comment

Test video in my WordPress

This let me just drop a JavaScript into my post. In other WordPress sites, I can’t do this. Is WordPress MU the difference?

Posted in Uncategorized | Leave a comment