How to Encrypt SSL Certificate Private Keys from the Command Line With OpenSSL

In this mini how-to, I show you how to encrypt SSL certificate private keys from the command line using OpenSSL.

Why would you want to encrypt an SSL certificate private key? If you found this how-to by doing a Google search, chances are you already know why and you just want the command syntax. Nevertheless, I’ll briefly explain why you should encrypt your private keys. After the explanation, I’ll provide the command. Continue reading » How to Encrypt SSL Certificate Private Keys from the Command Line With OpenSSL




Pages: 1 2

Shaw Delays Plan to Charge Internet Users Who Go Over Monthly Data Limit

Last week I commented on a Vancouver Sun story about how Shaw and Telus were planning to start charging internet users who go over their monthly data limit. In my commentary, I pointed out the practical pitfalls of trying to accurately measure an internet user’s actual bandwidth usage and I showed examples of how a rogue user could maliciously drive up your usage without you even initiating any traffic.

Perhaps other internet users share my concerns. On February 8th, the Vancouver Sun’s Gillian Shaw reported that Shaw has decided to suspend its plan to charge customers for exceeding internet plans, “in response to consumer outrage”.

You can read more about Shaw’s “about face” in its February 8th press release entitled Shaw To Engage Customers In Consultation Process On Internet Usage Allowances. Essentially, Shaw is going to consult with customers during February and March to get their opinions and ideas about internet usage limits. Until this consultation is complete, Shaw will not charge charge customers for going over monthly limits.

For a very persuasive argument against usage-based billing for internet, I invite you to read Stephen Hume’s story Gutenberg changed the world. The Internet can do it again, from yesterday’s Vancouver Sun. It’s more philosophical and less nerdy than my argument.

If you are a current Shaw customer, please contact Shaw and let them know how you feel about usage-based billing (UBB) for internet. Do it now before it’s too late! You should be particularly concerned if you are a Netflix user.

Is imitation really the sincerest form of flattery?

If you haven’t heard yet, Google and Microsoft’s Bing are in a bit of a cold war.  Yesterday, Google posted results of a series of experiments that confirm their suspicion that Bing had been “copying” their top query results.

In short, Google temporarily created about 100 “synthetic queries”.  These synthetic queries would be strings that one would never expect a user to type such as “delhipublicschool40 chdjob” or “hiybbprqag”.  Google would then insert as a top result a unique and real web page that had nothing to do with the query.  In other words, the non-nonsensical string did not appear in the page nor were there any other indications that this real world web page should have any association to the strings.

Google engineers were then given laptops with fresh installs of both Windows, Internet Explorer 8 and the Bing Toolbar.  They were then asked to query for those same strings.

Within a short time, the contrived top results that Google had placed started appearing as top results on Bing for the same queries!

Now the million dollar question…

Was this a sincere form of flattery?  A clever idea?  An indication that Bing is a cheap imitation?  All of the above?

Hit us up in the comments with what you think!

Links:

BC ISPs Charging Users Who Go Over Monthly Data Limit

Internet Service Providers in British Columbia will begin charging users who go over their monthly data limit, according to a story in the January 27, 2011 edition of the Vancouver Sun.

The story states that Shaw, one of BC’s largest ISPs, will give users two warnings before it starts charging them between $1 and $2 a gigabyte for however much they go over their monthly limits.

Similarly, Telus, Shaw’s main competitor, will also warn users before charging them $2 per GB for however much they go over their monthly limits.

Before charging the extra fees, both ISPs will offer offending users the option of upgrading to a plan that has higher data limits.

The story’s author, Chad Skelton, states that of all the various types of online activities a user can engage in, the only one that is likely to put you over your monthly data limit is watching (or downloading) video, especially high-def video.

For the most part, I agree with Mr. Skelton. For example, if you are a Netflix Canada user, you can use up a lot of data in a short time, as I discussed in my Netflix Canada review a few weeks ago.

In theory, this new “user pay” system is fairer than the status quo because heavy internet users will pay more than light internet users. However, I would like to see more details about how Shaw and Telus will implement their usage tracking systems so that I can determine whether the systems are truly “fair”. I can foresee some practical problems that could result in you paying for traffic that you don’t want and that you didn’t initiate.

For example, a rogue user could flood ping your IP address, quickly generating “junk” traffic that would probably count towards your monthly limit. In Linux, it’s extremely easy to do a flood ping. Just run the following command, replacing <some-IP-address> with the IP address you want to ping: sudo ping -f <some-IP-address>

Flood pings are relatively easy for a smart firewall to detect so hopefully Shaw and Telus already protect you from that.

Another source of junk traffic is a UDP flood. I won’t show you exactly how to do it but it’s a trivial task to implement a UDP flood tool. For example, you could run the nc command (also known as netcat) in UDP mode in an endless loop. Furthermore, if the rogue user’s ISP does not carefully monitor outgoing traffic, the source IP address of the UDP flood can be easily forged (i.e. spoofed) to hide the source of the junk traffic.

To make matters worse, a UDP flood could actually cost you twice the amount of junk traffic as what the rogue user sent because your firewall will likely reply to the rogue user’s IP address with an ICMP destination unreachable response containing a copy of the junk data that was sent to you. This is illustrated by the following two examples from the rogue user’s point of view and the victim user’s point of view.

Rogue-user:

Rogue-user@bad-computer:~$ echo “some junk data” | nc -u 172.16.1.27 50000

Victim:

Victim@good-computer:~$ sudo tcpdump -n -A dst 172.16.1.25 and icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
14:40:58.783055 IP 172.16.1.27 > 172.16.1.25: ICMP 172.16.1.27 udp port 50000 unreachable, length 51
E..G.?..@..b……….Wz….E..+.?@.@..-………..P..[.some junk data

In the above example, Rogue-user sends “some junk data” to Victim and Victim sends it back to Rogue-user, thereby exacerbating the junk traffic problem.

Another source of junk traffic is spam. For home users, this is not a major problem because your email provider (typically your ISP or a service like Gmail) has already filtered out most of your junk mail before it arrives at your computer. However, for companies that host their own mail server, this can be a huge source of traffic. For example, I have seen some corporate mail servers where the vast majority (90% or more) of mail traffic is from spam or attempts to send spam. Companies can mitigate this traffic, to a certain extent, by firewalling out known spammer IP addresses but, in practice, this is always a “moving target” and is easier said than done. Tarpits can also help too but you’ll never prevent all spam traffic.

Time will tell whether this new over-limit charging system is good for consumers. Meanwhile the debate will rage on.

Links:

Updates:

Shaw has said it will give users two warnings before it starts charging them between $1 and $2 a gigabyte for however much they go over their monthly limits

Page 4 of 24« First...«23456»1020...Last »