<?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>Something better to do &#187; Vonage</title>
	<atom:link href="http://blog.kamens.us/tag/vonage/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kamens.us</link>
	<description>Musings of an indignant mind</description>
	<lastBuildDate>Mon, 06 Feb 2012 22:35:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
			<item>
		<title>HOWTO: Prioritize Vonage (and other) traffic in Fedora (and other) Linux</title>
		<link>http://blog.kamens.us/2010/10/19/howto-prioritize-vonage-and-other-traffic-in-fedora-and-other-linux/</link>
		<comments>http://blog.kamens.us/2010/10/19/howto-prioritize-vonage-and-other-traffic-in-fedora-and-other-linux/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 15:28:21 +0000</pubDate>
		<dc:creator>jik</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Amazon S3]]></category>
		<category><![CDATA[LARTC]]></category>
		<category><![CDATA[Traffic Shaping]]></category>
		<category><![CDATA[Vonage]]></category>

		<guid isPermaLink="false">http://blog.kamens.us/?p=1758</guid>
		<description><![CDATA[I use Vonage telephone service and Fedora Linux. My Fedora box is the router for my network. Vonage recommends letting its box sit between the Internet and my computer, so that its traffic always gets priority. However, there&#8217;s no way I&#8217;m going to give Vonage control of Internet connection, so I have it plugged into [...]]]></description>
			<content:encoded><![CDATA[<p>I use Vonage telephone service and Fedora Linux. My Fedora box is the router for my network.</p>
<p>Vonage recommends letting its box sit between the Internet and my computer, so that its traffic always gets priority. However, there&#8217;s no way I&#8217;m going to give Vonage control of Internet connection, so I have it plugged into my network, routing traffic through my Fedora box.</p>
<p>Unfortunately, this means that when something is generating a lot of outbound traffic, there isn&#8217;t enough outbound bandwidth for Vonage, so call quality is extremely poor.</p>
<p>With <a href="http://lartc.org/" target="_blank">Linux Advanced Routing &amp; Traffic Control</a> (LARTC), it is possible to configure Linux to prioritize Vonage (or any other preferred application) higher than other outbound traffic. There&#8217;s lots of information on the Web about how to configure LARTC, but I found that most of it is either too dense and detailed or not detailed enough, and I couldn&#8217;t find any plug-and-play LARTC configuration tool for Fedora (it&#8217;s somewhat puzzling why such a thing hasn&#8217;t yet been written, given how long LARTC has been around for). With a little work, however, I managed to figure out how to do it. For the benefit of the others, I&#8217;m spelling it out step-by-step here with a level of detail I was unable to find elsewhere.</p>
<h2><span id="more-1758"></span>Shaping Vonage traffic</h2>
<ol>
<li>Download <a href="http://lartc.org/wondershaper/" target="_blank">Wonder Shaper</a> and read the README file in it.</li>
<li>Now download <a href="http://stuff.mit.edu/~jik/software/wshaper.txt">my tweaked version</a> of the &#8220;wshaper.htb&#8221; script that&#8217;s included in the Wonder Shaper distribution. The most important change in my tweaked version is to add a &#8220;real-time&#8221; traffic class and put Vonage in that class, so Vonage is prioritized even higher than interactive traffic like SSH.</li>
<li>Copy my version of the script that you downloaded into &#8220;/etc/init.d/wshaper&#8221;, making sure that it is executable.</li>
<li>Edit the &#8220;DOWNLINK&#8221;, &#8220;UPLINK&#8221;, and &#8220;DEV&#8221; settings at the top of the script. Note that the first two sittings are in kilo<strong>bits</strong> per second, not kilobytes, and that the values you put here should probably be about 90% of the nominal speeds of your Internet connection. You can use a higher percentage if you find that you aren&#8217;t using all of your bandwidth when doing network-intensive operations &#8212; you might have to do some trial and error to get it right. Don&#8217;t forget to update these if you switch to a faster or slower Internet connection!</li>
<li>Run &#8220;<tt>/sbin/chkconfig wshaper on</tt>&#8220;.</li>
<li>Run &#8220;<tt>/sbin/service wshaper start</tt>&#8220;.</li>
</ol>
<p>That&#8217;s it!</p>
<h2>A note about how Vonage traffic is matched</h2>
<p>This is the code in my version of wshaper that matches Vonage traffic:</p>
<pre style="padding-left: 30px;">tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 \<strong>
        match ip tos 0xb8 </strong>0xff flowid 1:10</pre>
<p>The secret to what makes this work is the &#8220;match ip tos 0xb8&#8243; which  I&#8217;ve shown in bold. &#8220;TOS&#8221; stands for &#8220;Terms Of Service&#8221;, which basically means, &#8220;The section in the packet header which indicates what level of service the packet should be given.&#8221; I figured out the correct TOS value to match against  by doing the following:</p>
<ol>
<li>Use wireshark to capture packets on the interface of your Internet connection <strong>or</strong> the interface of the local network your Vonage box is plugged into.</li>
<li>Make a Vonage phone call while wireshark is capturing.</li>
<li>Find a packet in the capture with protocol &#8220;RTP&#8221; and source IP  corresponding to your IP address (if you&#8217;re capturing your Internet  traffic) or the IP address of your Vonage box (if you&#8217;re capturing your  local network).</li>
<li>Expand the &#8220;Internet Protocol&#8221; subtree of the packet analysis and  note the value following &#8220;Differentiated Services Field:&#8221;. That is the  TOS value you should match against in your LARTC configuration.</li>
</ol>
<h2>Other traffic shaping</h2>
<p>Here are some examples of other traffic shaping you can do with Wonder Shaper. If you&#8217;d like help figuring out how to make other kinds of traffic not mentioned here either high-priority or low-priority, feel free to <a href="#comments">post a comment</a> and I&#8217;ll try to help.</p>
<h3>Amazon S3 and other recurring large uploads</h3>
<p>I back up my system on a daily basis to a ReiserFS filesystem stored on Amazon S3, using the wonderful package <a href="http://code.google.com/p/s3backer/" target="_blank">s3backer</a>. For ten cents per gigabyte per month plus minimal upload costs, I get highly available, redundant storage of my critical data. It took a little tweaking to make this configuration stable enough for my tastes (when I get a chance I&#8217;ll post the details about that separately), but now that I&#8217;ve got it set up, I&#8217;m pretty happy with it.</p>
<p>The one thing I&#8217;m <em>not</em> happy about is that while the backup is running, it consumes a huge amount of bandwidth, and interactive performance for everything else suffers. I don&#8217;t want a Web page to take ten seconds to load just because I&#8217;m running a backup! Wonder Shaper can help with this problem:</p>
<ol>
<li>Note that files are uploaded to Amazon S3 at the host s3.amazonaws.com.</li>
<li>Run &#8220;<tt>host s3.amazonaws.com</tt>&#8221; to get its IP address.</li>
<li>Run &#8220;<tt>whois <em>ip-address</em></tt>&#8221; to look up the whois information for the IP address.</li>
<li>Find the &#8220;CIDR&#8221; line in the whois output, e.g., &#8220;72.21.192.0/19&#8243;.</li>
<li>Add the CIDR value to the &#8220;NOPRIOHOSTDST&#8221; line at the top of the &#8220;wshaper&#8221; script (if you have multiple destinations on this line, put them all in quotes separated by spaces, and make sure there&#8217;s no space before or after the &#8220;=&#8221; sign).</li>
<li>Run &#8220;<tt>/etc/init.d/wshaper</tt>&#8221; to reload the new configuration.</li>
</ol>
<p>One caveat I&#8217;ll note is that the network block for Amazon S3 may change from time to time, so if you start to notice network performance suffering while a backup is running, repeat the steps above to find out if there&#8217;s a new network block you need to add to the prior ones in NOPRIOHOSTDST.</p>
<p>You can use this for any service to which you do large data uploads on a recurring basis.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kamens.us/2010/10/19/howto-prioritize-vonage-and-other-traffic-in-fedora-and-other-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
			<item>
		<title>Gross hack of the day: adding names to Vonage voicemail email notifications</title>
		<link>http://blog.kamens.us/2009/12/29/gross-hack-of-the-day-adding-names-to-vonage-voicemail-email-notifications/</link>
		<comments>http://blog.kamens.us/2009/12/29/gross-hack-of-the-day-adding-names-to-vonage-voicemail-email-notifications/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 19:10:44 +0000</pubDate>
		<dc:creator>jik</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Free software]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[caller ID]]></category>
		<category><![CDATA[Vonage]]></category>

		<guid isPermaLink="false">http://blog.kamens.brookline.ma.us/~jik/wordpress/?p=1185</guid>
		<description><![CDATA[I&#8217;ve been using Vonage for telephone service for a couple of months, and I&#8217;m quite happy with it.  Their feature set is quite competitive, and I&#8217;m paying them significantly less than I&#8217;d be paying Verizon, Comcast or RCN for equivalent service.  (Shameless plug: if you&#8217;d like to give Vonage a try, send me email and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using Vonage for telephone service for a couple of months, and I&#8217;m quite happy with it.  Their feature set is quite competitive, and I&#8217;m paying them significantly less than I&#8217;d be paying Verizon, Comcast or RCN for equivalent service.  (Shameless plug: if you&#8217;d like to give Vonage a try, <a href="mailto:jik@kamens.us">send me email</a> and I&#8217;ll send you a referral.  Both you and I will get a free month of service.)</p>
<p>You can configure Vonage to email you about voicemail messages.  The email contains the actual voicemail message as an audio attachment, but what it <em>doesn&#8217;t</em> have, inexplicably, is the name of the caller pulled from caller ID.  This has annoyed me ever since we switched to Vonage, and I recently finally got annoyed enough to finally do something about it.  I&#8217;m posting my solution here on the off chance that it&#8217;ll be useful to others.</p>
<p>To take advantage of this hack, you have to have the ability to filter the contents of your incoming email, e.g., with <a href="http://www.procmail.org/" target="_blank">procmail</a>.  If you don&#8217;t know what that means, then you should probably stop reading now. :-/</p>
<p>My solution consists of two scripts and two configuration changes.  First, the scripts:</p>
<ol>
<li>The script vmail-cid.pl fetches the caller ID information for recent calls from <a href="http://www.vonage.com/" target="_blank">www.vonage.com</a> and saves it in a CSV file.</li>
<li>The script vonage-vmail-filter.pl reads the aforementioned caller ID CSV file, as well as a CSV file you&#8217;ve exported from your Outlook contacts, and uses the information in those files to filter a voicemail notification email message on stdin and send the (possibly modified) notification to stdout.  You can configure the script which of the two CSV files to read, i.e., you can take advantage of either the caller ID information from vmail-cid.pl, or the Outlook export CSV, or both.</li>
</ol>
<p>Now, the configuration changes:</p>
<ol>
<li>You need to set up a scheduled task, cron job, or whatever to run vmail-cid.pl periodically to keep the caller ID CSV file up-to-date.</li>
<li>You need to tie vonage-vmail-filter.pl into your email delivery, e.g., by editing your .procmailrc file (for which there is an example in a comment at the top of the script), <a href="http://www.fastmail.fm/docs/sieve/" target="_blank">sieve</a> configuration, or whatever.</li>
</ol>
<p>When all of this is done properly, then every voicemail notification you receive will be updated with the caller ID or Outlook Contacts name for the calling phone number, if it&#8217;s available, before it lands in your mailbox.</p>
<p><a href="/wp-content/uploads/2009/12/vonage-vmail-names.zip">Click here</a> to download a zip file containing the scripts.  See the comments at the top of the scripts for additional details.  As always, please feel free to <a href="mailto:jik@kamens.us">send me</a> any questions, comments and suggestions you might have.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.kamens.us/2009/12/29/gross-hack-of-the-day-adding-names-to-vonage-voicemail-email-notifications/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
			<item>
		<title>How to lower your phone + internet cost from $80 per month to $50 per month: buy your own cable modem and kick Comcast to the curb</title>
		<link>http://blog.kamens.us/2009/11/16/how-to-lower-your-phone-internet-cost-from-80-per-month-to-50-per-month-buy-your-own-cable-modem-and-kick-comcast-to-the-curb/</link>
		<comments>http://blog.kamens.us/2009/11/16/how-to-lower-your-phone-internet-cost-from-80-per-month-to-50-per-month-buy-your-own-cable-modem-and-kick-comcast-to-the-curb/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 02:58:17 +0000</pubDate>
		<dc:creator>jik</dc:creator>
				<category><![CDATA[Boston]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Consumer activism]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Comcast]]></category>
		<category><![CDATA[RCN]]></category>
		<category><![CDATA[Verizon]]></category>
		<category><![CDATA[Vonage]]></category>

		<guid isPermaLink="false">http://blog.kamens.brookline.ma.us/~jik/wordpress/?p=1096</guid>
		<description><![CDATA[Comcast was charging me $95 per month for internet and phone service.  That was too much. I got them to lower it to $75 per month, but I had to pay extra for all non-local and long-distance calls.  That was still too much. They raised the equipment charge for my cable modem from $3 to [...]]]></description>
			<content:encoded><![CDATA[<p>Comcast was charging me $95 per month for internet and phone service.  That was too much.</p>
<p>I got them to lower it to $75 per month, but I had to pay extra for all non-local and long-distance calls.  That was still too much.</p>
<p>They raised the equipment charge for my cable modem from $3 to $5 per month.  That <a href="/2009/10/19/comcast-sneaks-in-back-door-rate-increase-by-increasing-equipment-charge/">pissed me off</a>, so I bought my own cable modem.</p>
<p>Not only that, but I decided it was time to send Comcast a message for being so slimy, so I switched to Vonage for phone service for $25 per month.  You would think that would have lowered my total cost, except that when I canceled my Comcast phone service, I was no longer eligible for the special &#8220;bundle&#8221; rate on internet service, so they jacked up my internet service to $60 per month.</p>
<p>That pissed me off even more, so when I called today to swap out Comcast&#8217;s cable modem for my own, I also told them to downgrade me to their $40 per month internet service.</p>
<p>Believe it or not, what you get for that ridiculously high price is a 1mbps internet connection.  Yes, you read that right, one megabit.</p>
<p>Fortunately, Comcast isn&#8217;t the only game in town.  RCN will sell me a 1.5mbps connection, 50% faster than Comcast&#8217;s, for $25 per month, i.e., 37% less.  That&#8217;s not even a promotional rate.  Or, if I feel like spending $5 more per month, I can get a 10mbps connection, i.e., ten times as fast as Comcast for 25% less.  And although that is a promotional rate, unlike Comcast, RCN will let me sign up for any new promotion that becomes available after my 12-month contract is up.  Heck, even Verizon charges only $20 per month, half of what Comcast charges, for a 1mbps DSL line!</p>
<p>I haven&#8217;t switched to RCN yet, but I&#8217;ll probably be doing it some day soon when I&#8217;m in just the right mood.</p>
<p>Below is the letter I just sent the CEO of Comcast explaining how they managed to lose an $80 per month revenue stream over a lousy $2 per month.<span id="more-1096"></span></p>
<p>P.S. If you decide Vonage is right for you too, <a href="mailto:jik@kamens.us">email me</a> and I&#8217;ll send you a referral, and we&#8217;ll both get a free month of service!</p>
<hr />
<div lang="x-western">
<div style="margin-left: 50%;">November 16, 2009</div>
<p>Brian L. Roberts, Chairman and CEO<br />
Comcast Corporation<br />
<a href="mailto:brian_roberts@comcast.com">brian_roberts@comcast.com</a></p>
<p>Dear Mr. Roberts,</p>
<p>I&#8217;m writing to tell you how, through its shady business practices and &#8220;Gotcha Capitalism&#8221;, Comcast has halved its income stream from my family, from $80 to $40 per month, and why there&#8217;s a good chance you&#8217;ll also be losing that $40.</p>
<p>It all started when my promotional rate of around $75 for internet and phone service expired and my bill went up $20.  I was not about to pay Comcast $45 for phone service I could get from Vonage for $25, so I called up and asked what Comcast would do to keep me as a customer.  The only option, I was told, was to downgrade to your &#8220;local with more&#8221; phone service for $24.95 per month, but I&#8217;d have to pay $3.95 extra for voice mail, and I&#8217;d also be charged for all non-local calls.  This was clearly a rip-off, but it was just barely reasonable enough for me to decide that it wasn&#8217;t worth the hassle of switching to Vonage, so I took the deal.  However, it put me right at the brink of jumping ship.</p>
<p>Fast forward several months, when a notice appeared on my bill informing me that the monthly fee for my cable modem was being raised from $3 to $5.  Mind you, I&#8217;d already been paying the $3 fee for several years, thus paying for the actual cost of my cable modem several times over.  There was simply no justification for raising this fee, short of Comcast looking for a way to increase its annual revenue by $358 million, tax free, without incurring any extra expenses or providing any additional services.  I called and complained about the increase, to no avail.  I also <a href="/2009/10/19/comcast-sneaks-in-back-door-rate-increase-by-increasing-equipment-charge/">exposed Comcast&#8217;s machinations</a> on my popular consumer-advocacy blog.</p>
<p>This bogus increase pushed me over the edge, and I resolved to pay Comcast as little money as possible from that day forward.  I immediately signed up for Vonage so I could stop paying Comcast for phone service, and I bought a used cable modem for $10 from eBay so I could stop paying Comcast the absurd $5 per month equipment charge.</p>
<p>Alas, Comcast&#8217;s efforts to jerk me around were not over.  When I received my next bill, I discovered that I was no longer paying $45 per month for internet service.  Rather, since I was no longer purchasing multiple Comcast services, I was no longer eligible for your special &#8220;bundle&#8221; deal, and my rate had gone up to $60.</p>
<p>Well, as I&#8217;m sure you can imagine, as irritated as I&#8217;d been before, now I was more so.  Therefore, when I called today to swap out my Comcast modem, at the same time I downgraded my internet service from $60 to $40 per month.</p>
<p>Amazingly, that princely sum gets me the absurdly low speed of 1mbps.</p>
<p>That additional annoyance prompted me to browse over to <a href="http://www.rcn.com/">rcn.com</a>, where I discovered that I can get 1.5mbps service from them for only $25 per month, which is $180 per year less than what Comcast charges for slower service.  For just $5 more, still $120 per year less than Comcast, I can get 10mbps service, i.e., <em>ten times</em> Comcast&#8217;s speed, at a special promotional rate.  Best of all, when I called RCN&#8217;s sales department and asked what happens to the rate at the end of the 12-month contract, I was informed that as long as my account was in good standing, I would be offered whatever promotional rate was in effect at the end of my contract.  Apparently, RCN doesn&#8217;t believe in punishing its loyal customers by jacking up their rates by 25% overnight.  I was also pleased to see that RCN still charges only $3 per month for modem rental.</p>
<p>Although I&#8217;m just not in the mood to switch to RCN today, at some point in the near future I&#8217;ll probably be looking for a little something to cheer me up at the end of the day, and converting Comcast&#8217;s $40 per month revenue stream from my family to $0 will be just the thing.</p>
<p>I will, of course, be posting this letter to my blog and encouraging others to hit Comcast in the wallet if they&#8217;re as dissatisfied as I am with Comcast&#8217;s habit of charging more for less.</p>
<p>All this because of Comcast&#8217;s sticky-fingered attempt to extract $2 extra per month from my wallet for no good reason.  How&#8217;s that working out for ya?</p>
<div style="margin-left: 50%;">Sincerely,</p>
<p>Jonathan Kamens</p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.kamens.us/2009/11/16/how-to-lower-your-phone-internet-cost-from-80-per-month-to-50-per-month-buy-your-own-cable-modem-and-kick-comcast-to-the-curb/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

