SOPA and Protect IP: Freedom of Speech

I’ve been meaning to comment about a post that  I saw on Pulse. The post entitled “It’s Time to Give GoDaddy a Break”. The author makes the point that we live in the US, that we all have the freedom of speech, including GoDaddy. They go on to say that GoDaddy had an opinion against popular opinion and their client base punished them for their views and once they reversed their opinion people are still jumping ship.

At first I felt that the author actually has a logical view point. In the US we all have the right to freedom of speech and to our opinions. What the author fails to realize is that the right to free speech does not include immunity to the reaction that speech has. I should be allowed to express my opinion, but I must then face the consequences of my actions. I have the right to tell my neighbour that their music is a sin unto god. I would expect that their reaction wouldn’t be to give me a break. It is a very common misconception that freedom of speech implies freedom from consequences. It doesn’t.

The cosmic irony about the post is that the poster is defending GoDaddy’s first amendment right while GoDaddy’s opinion limits the first amendment. The outcome is pretty simple. Your richly diverse customers buy your products, you merely advocate controversial opinion, you expect loss in sales and profits. Take for example Proposition 8 in California. A religious group based in another state sends millions of dollars from their non profit organization to promote the opinion of yes on the controversial proposition where two halves of the populace feel very strongly. When the ‘no’ half of the populace lash out they are taken by surprise.

This begs some questions that I find truly interesting… why would a company have rights? Why does a company get to have freedom of speech? Why can it make political contributions? Are these not called lobbyists? Recently a law was overturned that was setup to restrict how much money a company could contribute to political campaigns. The consensus was that a company was a legal entity in the US and that granted the company the same basic rights as citizens. When I read that I sort of laughed thinking how funny it would be if WalMart and other companies got to vote on current issues.

The point I want to make here is that everyone is entitled to their opinions. Like my father told me, ‘… everyone’s got one.’ My opinion is that SOPA and Protect IP Act infringe on freedom of speech, they infringes on fair use, they make it easier to control information. They’re setup wrong and pose problems. They don’t need amendments to fix them. They need to go back to the drawing board. I understand that my opinion might anger some people. If I find that an entity, be it person, business, or corporation that I do business with disagrees with my opinion, you bet I will seek to do business else where. Not only can I vote as a citizen, I can also vote with my money and I definitely voted against GoDaddy on this one.

Backups: Beep Beep Beep

This post isn’t technical. It’s mostly steam, technical steam. The message is meant mostly for end users. I’m decommissioning a server that is barely used. The only user left on the system, after being warned about the decommissioning informs me that the files are mostly corrupted on the system. The system is almost as old as I am and the files in question were changed roughly half a decade ago. Backups, even if they existed are long gone.

It appears that the former owner of the server converted the system to a virtual hypervisor around that time. Why the files are corrupted are beyond me. If files were across the board corrupted then the system would not be booting or giving other errors. Maybe /home was selectively corrupted? That would be very… odd.

Regardless, it’s important to not rely on saving your files on remote servers. Make certain you keep a backup. Verify your content!

QEMU VNC: Change Your Password And Daemonize Your Monitor

I had a lovely time figuring this out. For obvious reasons you don’t pass the vnc password to the qemu command as it can be seen with a ps. The only other approved unimplemented option is to have a password file. At least with a password file you can secure it with file system permissions. My box has no users so to me whatever works works. Anyway…

The problem: daemonize your qemu while still allowing vnc with security! To change the vnc password you have to issue a command ‘change vnc password XXXXX’ to the qemu monitor. The monitor can work with stdio but that defeats the point of daemonize…

My solution: set the monitor to use a tcp port bound to localhost. This way you can continue to control the qemu monitor from the tcp socket. Then use netcat’s nc command to issue it the change vnc password command. I ran in to yet another problem. The nc command didn’t automatically exit and my scripts are non interactive start up scripts.

qemu-kvm -vnc 192.168.0.1:0,password -monitor telnet:127.0.0.1:4444,server,nowait –daemonize
echo change vnc password XXXXX; echo | nc 127.0.0.1 4444

Solution to new problem: Tell nc to execute a command rather than use stdio. The command would simply echo command then echo a new line and exit. This also solved my problem of how to tell qemu to stop running without simply issuing it a kill command. My script took arg1 as the vnc password.

nc 127.0.0.1 4444 -e /change_vnc.sh XXXXX

The fact that I’m using busybox to do all of this may have complicated the nc command so I don’t know if actual netcat would have had that problem. Regardless it was very simple.