LUG Community Blogs

Steve Kemp: I've not commented on security for a while

Planet HantsLUG - Tue, 22/04/2014 - 22:14

Unless you've been living under a rock, or in a tent (which would make me slightly jealous) you'll have heard about the recent heartbleed attack many times by now.

The upshot of that attack is that lots of noise was made about hardening things, and there is now a new fork of openssl being developed. Many people have commented about "hardening Debian" in particular, as well as random musing on hardening software. One or two brave souls have even made noises about auditing code.

Once upon a time I tried to setup a project to audit Debian software. You can still see the Debian Security Audit Project webpages if you look hard enough for them.

What did I learn? There are tons of easy security bugs, but finding the hard ones is hard.

(If you get bored some time just pick your favourite Editor, which will be emacs, and look how /tmp is abused during the build-process or in random libraries such as tramp [ tramp-uudecode].)

These days I still poke at source code, and I still report bugs, but my enthusiasm has waned considerably. I tend to only commit to auditing a package if it is a new one I install in production, which limits my efforts considerably, but makes me feel like I'm not taking steps into the dark. It looks like I reported only three security isseus this year, and before that you have to go down to 2011 to find something I bothered to document.

What would I do if I had copious free time? I wouldn't audit code. Instead I'd write test-cases for code.

Many many large projects have rudimentary test-cases at best, and zero coverage at worse. I appreciate writing test-cases is hard, because lots of times it is hard to test things "for real". For example I once wrote a filesystem, using FUSE, there are some built-in unit-tests (I was pretty pleased with that, you could lauch the filesystem with a --test argument and it would invoke the unit-tests on itself. No separate steps, or source code required. If it was installed you could use it and you could test it in-situ). Beyond that I also put together a simple filesystem-stress script, which read/wrote/found random files, computes MD5 hashes of contents, etc. I've since seen similar random-filesystem-stresstest projects, and if they existed then I'd have used them. Testing filesystems is hard.

I've written kernel modules that have only a single implicit test case: It compiles. (OK that's harsh, I'd usually ensure the kernel didn't die when they were inserted, and that a new node in /dev appeared ;)

I've written a mail client, and beyond some trivial test-cases to prove my MIME-handling wasn't horrifically bad there are zero tests. How do you simulate all the mail that people will get, and the funky things they'll do with it?

But that said I'd suggest if you're keen, if you're eager, if you want internet-points, writing test-cases/test-harnesses would be more useful than randomly auditing source code.

Still what would I know, I don't even have a beard..

Categories: LUG Community Blogs

Ubuntu LTSP Video

Planet SurreyLUG - Tue, 22/04/2014 - 15:15

Thought this was an excellent video introduction to LTSP.


Categories: LUG Community Blogs

Adam Trickett: Bog Roll: Hardware Score Card

Planet HantsLUG - Tue, 22/04/2014 - 11:40

Over the years I've had quite a few computers, starting with a Commodore 64 which was an "out of box failure" and had to be replaced straight away.

The next computer I bought was a Dell that had zero defects on delivery, zero defects within it's 3 year warranty and zero defects after that - to the best of my knowledge it's still working if I were to take it out of storage and boot it up!

Next came a Dell laptop (re-manufactured) that had zero faults on delivery, zero faults within it's warranty period but since then the bezel has cracked and there are three dead pixels on the screen. Again like the desktop it's still working today many years after it finished active service.

Then we have a pair of Digital Networks UK desktops (one that I'm using today). Zero faults on delivery, both Iiyama displays failed with the three year warranty and the DVD-ROM on one died and its power-supply has been swapped long after the warranty expired.

Next I have another Digital Networks UK desktop (used as a server), it's had a power-supply fail under warranty, and after the warranty period: one hard disk; the power-supply and the case fan have had to be replaced. It's also been somewhat prone to overheating under full load most of it's life.

Finally I have a Novatech laptop, which had a dead batter shortly after the end of the it's one year warranty period. Which I should have realised by law that it should have been a two year warranty and as such should still have been a warranty swap... Otherwise the laptop has and is still fine.

Categories: LUG Community Blogs

Debian Bits: Debian welcomes its 2014 GSoC students!

Planet HantsLUG - Tue, 22/04/2014 - 10:39

We're excited to announce that 19 students have been selected to work with Debian during the Google Summer of Code this year!

Here is the list of accepted students and projects:

As always, you will be able to follow their progress on the SoC coordination mailing-list

Congratulations to all the students and let's make sure we all have an amazing summer!

Categories: LUG Community Blogs

Debian Bits: Debian welcomes its 2014 GSoC students!

Planet HantsLUG - Tue, 22/04/2014 - 10:00

We're excited to announce that 19 students have been selected to work with Debian during the Google Summer of Code this year!

Here is the list of accepted students and projects:

As always, you will be able to follow their progress on the SoC coordination mailing-list

Congratulations to all the students and let's make sure we all have an amazing summer!

Categories: LUG Community Blogs

Steve Kemp: I was beaten to the punch, but felt nothing

Planet HantsLUG - Sat, 19/04/2014 - 20:03

A while back I mented github-backed DNS hosting.

Turns out NameCast.net does that already, and there is an interesting writeup on the design of something similar, from the same authors in 2009.

Fun to read.

In other news applying for jobs is a painful annoyance.

Should anybody wish to employ an Edinburgh-based system administrator, with a good Debian record, then please do shout at me. Remote work is an option, as is a local office, if you're nearby.

Now I need to go hide from the sun, lest I get burned again...

Good news? Going on holiday to Helsinki in a week or so, for Vappu. Anybody local who wants me should feel free to grab me, via the appropriate channels.

Categories: LUG Community Blogs

Jono Bacon: Ubuntu 14.04 Is Out!

Planet WolvesLUG - Thu, 17/04/2014 - 23:58

My apologies in advance for the shorter blog post about this, but like many other Ubuntu folks, I am absolutely exhausted right now. Everyone, across the board, has been working their collective socks off to make Ubuntu 14.04 LTS a fantastic release on desktop, server, and cloud, and pull together our next iteration of Ubuntu for smart-phones and tablets. Consequently, when the trigger is pulled to share our final product with the world, release day is often less of a blistering and energetic woo-hoo, but more of an exhausted but satisfying oh-yeah (complete with beer firmly clenched in hand).

I am hugely proud of this release. The last six months have arguably been our busiest yet. No longer are we just working on desktop and server editions of Ubuntu, but we are building for the cloud and full convergence across the client. No longer are we “just” pulling together the fruits of upstream software projects but we are building our own platform too; the Ubuntu SDK, developer eco-system, charm store, image-based updates, push notifications, app lifecycle, and more. While the work has been intense and at times frantic, it has always been measured and carefully executed. Much of this has been thanks to many of our most under-thanked people; the members of our tremendous QA and CI teams.

Today, tomorrow, and for weeks to come our users, the press, the industry, and others will assess our work in Ubuntu 14.04 across these different platforms, and I am very confident they will love what they see. Ubuntu 14.04 embodies the true spirit of Ubuntu; innovation, openness, and people.

But as we wait to see the reviews let’s take a moment for each other. Now is a great time to reach out to each other and those Ubuntu folks you know (and don’t know) and share some kudos, some thanks, and some great stories. Until we get to the day where machines make software, today software is made by people and great software is built by great people.

Thanks everyone for every ounce of effort you fed into Ubuntu and our many flavors. We just took another big leap forward towards our future.

Categories: LUG Community Blogs

Adam Trickett: Bog Roll: New Boxes

Planet HantsLUG - Thu, 17/04/2014 - 12:13

At long last I've decided. I've ordered a shiny new DNUK Deskstar, desktop PC to replace my current DNUK Workstar system which has reached the end of it's useful life as a front line system. The new box is at least four times better in every respect: it has four cores compared with one; 8 GiB of RAM instead of 2 GiB; ten times the hard-disk capacity (which is also faster) and a solid state drive; hardware virtualisation and a drastically superior graphics card. It's also a Intel based system, all my previous DNUK boxes have had AMD processors. It will cost more money than the system it replaces, but a system of similar price (accepting inflation) would not have been sufficiently faster or balanced to make it worth buying.

I've also started the process of migrating this server off the current Bytemark virtual server onto their new BigV platform. The new system is faster, more scalable and slightly cheaper. It also allows me a pain-free upgrade to the latest version of Debian.

Categories: LUG Community Blogs

Dick Turpin: Hi-Spec

Planet WolvesLUG - Thu, 17/04/2014 - 10:51
Customer: "I need a Hi-Spec laptop something really stable for our business."
Me: "Well we have another customer who is in your line of work, I supplied them yesterday with one for just under £2K"
Customer: "Yes, the Director was thinking about £1K"
Me: "OK let me get a quote together for that and the other work you want doing."

A few minutes later.

Customer: "The budget for the laptop is £600.00."

And would you like me to throw in a box of crayons, some play-doh and a painting by numbers book? Hi-Spec pfffft
Categories: LUG Community Blogs

Mick Morgan: nsa operation orchestra

Planet ALUG - Wed, 16/04/2014 - 22:30

In February of this year, Poul-Henning Kamp (a.k.a “PHK”) gave what now looks to be a peculiarly prescient presentation as the closing keynote to 2014′s FOSDEM.

In the presentation (PDF), PHK posits an NSA operation called ORCHESTRA which is designed to undermine internet security through a series of “disinformation” or “misinformation”, or “misdirection” sub operations. ORCHESTRA is intended to be cheap, non-technical, completely deniable, but effective. One of the opening slides gives ORCHESTRA’s “operation at a glance” overview as:

* Objective:
- Reduce cost of COMINT collection
* Scope:
- All above board
- No special authorizations
* Means:
- Eliminate/reduce/prevent encryption
- Enable access
- Frustrate players

PHK delivers the presentation as if he were a mid-ranking NSA staffer intending to brief NATO in Brussels. But “being American, he ends up [at FOSDEM] instead”. The truly scary part of this presentation is that it could all be completely true.

What makes the presentation so timely is his commentary on openssl. Watch it and weep.

Categories: LUG Community Blogs

Mick Morgan: more heartbleed

Planet ALUG - Wed, 16/04/2014 - 12:04

For any readers uncertain of exactly how the heartbleed vulberability in openssl might be exploitable, Sean Cassidy over at existential type has a good explanation.

And if you find that difficult to follow, Randall Munroe over at xkcd covers it quite nicely.

My thanks, and appreciation as always, to a great artist.

Of course, Randall foresaw this problem back in 2008 when he published his take on the debian openssl fiasco.

Categories: LUG Community Blogs
Syndicate content