Thursday, 6 March 2014

cybersecurity day today for me #security #linux #truecrypt #opensource #keychain #apple #keychain2go

All of the following in one day (+night...)

Twitter told me that Critical Linux Flaw Threatens More Systems Than You Think today.

Updated my Linux-es tonight (Ubuntu server 13.10 and raspbian), noticed that simple update doesn't affect package in question :D Need to be persistent and upgrade package from source...

And left my XBMC box for the other day, it also runs on Ubuntu.

As mounting Apple's encrypted disk failed me last week plus it makes duplicate copies in my Dropbox, decided to look for alternatives. Moved to open software, namely TrueCrypt.

Interesting and convincing. Plus, now I can view it on my mobile iOS devices too :)

I used to store some passwords in some files... Finally it got me, too hard to manage and search. Need some password manager. For me as Apple user the obvious first choice was keychain plus Keychain2Go app to get it on iOS devices. Set up sync, nice! :) Now need to move passwords there gradually. The question remains, what about being dependent on Apple? Noticed 2 nice things about it: keychain is in Apple's opensource domain actually (!) and there are tools for export available. So, some day there will be integration. 

Thursday, 6 February 2014

my favorite and most important tech fact of year 2013 : bug #1 solved

It took some time for me to level all my tech interests, preferences, readings, writings, happenings of the year 2013. But now I'm done: my favorite and most significant tech fact of the year is this: Mark Shuttleworth marked bug #1 as fixed!

If you didn't know, the bug #1 was "Microsoft has a majority market share".

Read it here https://bugs.launchpad.net/ubuntu/+bug/1/comments/1834 or copy just for my recods:

----
Mark Shuttleworth (sabdfl) wrote :
----
Personal computing today is a broader proposition than it was in 2004: phones, tablets, wearables and other devices are all part of the mix for our digital lives. From a competitive perspective, that broader market has healthy competition, with IOS and Android representing a meaningful share (see http://www.zdnet.com/windows-has-fallen-behind-apple-ios-and-google-android-7000008699/ and in particular http://cdn-static.zdnet.com/i/r/story/70/00/008699/meeker620-620x466-620x466.jpg?hash=ZQxmZmDjAz&upscale=1).
Android may not be my or your first choice of Linux, but it is without doubt an open source platform that offers both practical and economic benefits to users and industry. So we have both competition, and good representation for open source, in personal computing.
Even though we have only played a small part in that shift, I think it's important for us to recognize that the shift has taken place. So from Ubuntu's perspective, this bug is now closed.
There is a social element to this bug report as well, of course. It served for many as a sort of declaration of intent. But it's better for us to focus our intent on excellence in our own right, rather than our impact on someone else's product. In the (many) years since this bug was filed, we've figured out how to be amazing on the cloud, and I hope soon also how to be amazing for developers on their desktops, and perhaps even for everyday users across that full range of devices. I would rather we find a rallying call that celebrates those insights, and leadership.
It's worth noting that today, if you're into cloud computing, the Microsoft IAAS team are both technically excellent and very focused on having ALL OS's including Linux guests like Ubuntu run extremely well on Azure, making them a pleasure to work with. Perhaps the market shift has played a role in that. Circumstances have changed, institutions have adapted, so should we.
Along those lines, it's good to reflect on how much has changed since 2004, and how fast it's changed. For Ubuntu, our goal remains to deliver fantastic experiences: for developers, for people building out production infrastructure, and for end-users on a range of devices. We are doing all of that in an environment that changes completely every decade. So we have to be willing to make big changes ourselves - in our processes, our practices, our tools, and our relationships. Change this bug status is but a tiny example.

Sunday, 2 February 2014

spinning down / standby HDD's on Ubuntu server 13.10 (to be continued)

Ubuntu server 13.10 with 7 disks, 1 sdd for system, 4 x 2 TB in raid10 and 2 x 1 TB mirrored.

Tried out pure hdparm thing first. Installed hdparm, edit /etc/hdparm.conf adding lines for each disk, switched ACHI in BIOS, reboot. Didn't work for me. Tried manually, didn't work either.

Found this post, made some progress. Saw at least one disk being standby. As the intention was to try the thing "as is", meaning I didn't disconnect server from network and didn't try to figure what can be using the disks, fine. Will take a look later / sometime what's the status of disks.

Made a shell script for displaying the status of all disks. Thought about emailing myself status from time to time, started to read about emailing from command line, but there was a lot to read, remembered that this is lazy weekend and dropped it this time.


----
Just to document the post in case the thing go away:
1. Install sg3-utils
2. Add the following to crontab (sda being the disk to be managed this way):


0-59/15 * * * * ( if [ ! -f /dev/shm/1 ] ; then touch /dev/shm/1 /dev/shm/2; fi ; mv /dev/shm/1 /dev/shm/2; cat /proc/diskstats > /dev/shm/1 ) >/dev/null 2>&1
0-59/15 * * * * ( export HD="sda "; if [ "$(diff /dev/shm/1 /dev/shm/2 | grep $HD )" =  "" ] ; then /usr/bin/sg_start --stop /dev/$HD; fi ) >/dev/null 2>&1

Wednesday, 22 January 2014

my first experience in programming

I don't remember exactly, but it has to be year 1982 when I got my hands on Elektronika B3-21 (Электроника Б3-21). Later on it was more advanced Elektronika B3-34 (Электроника Б3-34), both programmable by assembler-like coding. I was enchanted by those devices for months I spent trying out examples of code written by others and messing around with it trying to do something myself. I think the concept of "lets restart/erase everything and start over" came to me naturally back then :)

quote: it's time for mobile to grow up, publishers need to feed people's appetites for mobile [or go away]

Source

Tieu: "It's time for mobile to grow up. In 2014 publishers will discover that they need to go all in for mobile. It is not enough to just have an Android app or an iOS app or to be optimized for the mobile web. Designing for a single device is not going to fly. Publishers need to offer mobile to consumers on every device so that readers can engage when and where they please. People today are digital omnivores, and publishers need to feed their appetites across the varying mobile outlets."

quote: protecting network perimeter approach starts to go away

Source

Jouret: “In the coming 1-3 years, we will see a new form of multi-layered security emerge, replacing today’s model of “protecting the perimeter” with a combination of security technologies that includes localized clients embedded within devices or localized connections and centralized cloud-based intelligence which constantly scans to protect. The connected car will happen; we just have to care about the connected car and develop strategies so that we don’t get hacked.”

quote: Edward Snowden disclosures have heightened awareness of cybersecurity all over the world



Frymier: “Regardless of what you might think of Edward Snowden, there is no denying that his disclosures have heightened awareness of cybersecurity all over the world. Before that, many enterprises were running unencrypted data on their internal networks, which they believed were secure. Now they are beginning to use encryption internally as well, so I expect 2014 to be the year of encryption. The increased use of encryption will both enable and encourage more companies to use infrastructure-as-a-service (IaaS) cloud solutions, where previously they might have had concerns about the safety of their data in the cloud.”