HNHacker News
TopNewBestAskShowJobs

chrismsnz

589 karma · joined May 1, 2010

Security Engineer in NZ
submissionscomments
chrismsnz··on What I Would Do If I Ran Tarsnap
They're big binary blobs.

If the tables aren't locked while you're backing up, you're going to end up with inconsistent data.

There are tools like xtrabackup that allow you to extract a live copy of the files, but sometimes take some hand loving to get working on another system.

A good solution I found when wanting to copy those particular files instead of a dump/restore was to utilise the snapshotting features of LVM.

e.g. 1. lock tables

2. take snapshot

3. unlock tables

4. mount snapshot and copy data from it

Then the system continues to work and you have a consistent copy to back up.

chrismsnz··on Xorg can now run without privilege on OpenBSD
> OpenBSD for security

I dunno, I hear this a lot. Sure OpenBSD has created and implemented some (often very bleeding edge) hardening features, but nothing that hasn't seen the light of day in something like GRSecuriy.

But the lack of other security layers and constructs seem puzzling to me. No RBAC-based system like selinux? No attempt to secure the supply chain until very recently with package signing? Chroot functionality inferior to something like FreeBSD's jails?

Not to mention that many services you would deploy an OpenBSD server for are provided by ports and not the base system, forgoing the strict auditing that OpenBSD provides.

I think for anything besides a standalone router or mail/DNS server you're probably better off looking at other general purpose operating systems like FreeBSD or Linux.

I should note here that I've used various BSD's for various jobs over the years, including OpenBSD. I enjoy using it and never had any troubles with it. I would still consider it for uses that don't require much stepping out of the base system.

chrismsnz··on About the security content of iOS 7.0.6
Yes, normally certificate errors would be thrown.

In this case Apple is not performing the domain validity checks on the presented cert. This allows an attacker that is performing an mitm attack to present a valid cert for another domain and establish an SSL connection with the victim.

chrismsnz··on IPv6 domain readiness tester
Is the address you're getting a fe80::/64 address?

Because that is a "link local" address that gets automatically assigned to any IPv6-enabled interface.

chrismsnz··on How we pay royalties: an overview
Sure,

I missed this talk at Ruxcon this year http://ruxcon.org.au/speakers/#Peter Fillmore

But if you can find a write up of it or a video he goes in to how he actually went about gaming the charts etc... of online music services.

chrismsnz··on Dart 1.0 Is Out
Right, I can understand that. It's a lot of effort to put in up-front just to support Google's pet project of the day.

This is a really good reason why dart2js exists and why so much effort has been expended in making it good.

However, I think that if Dart proves to be a compelling platform for developers I don't think it's out of the question for browser vendors to put some serious thought into integrating the Dart VM natively alongside JS.

After all, Google is going to be doing exactly that with Chrome/Chromium...

chrismsnz··on Dart 1.0 Is Out
What exactly is proprietary about it?

Browser vendors are free to integrate the VM into their products, and if they don't want to there is dart2js which is acceptable.

This isn't even close to the situation presented by Silverlight, ActiveX and I feel like you're being duplicitous by comparing them.

chrismsnz··on LinkedIn Intro: Doing the Impossible on iOS
If you consider creating, hosting and managing arguably one of the better email platforms a "guise"... "of marginal benefit".
chrismsnz··on The Best VPN Is The One You Use
Why is it used for telecommuting?

Because it can protect the sensitive (internal corporate network) information while its travelling over untrusted networks, with the destination being none the wiser.

Bridging two networks (or a host and a network) together securely over the internet has far more applications than merely telecommuting and is so effective and easy to apply, why not use it to protect your Facebook session while you're at the coffee shop?

chrismsnz··on The Best VPN Is The One You Use
> But keep in mind that the entire point of using a VPN is plausible deniability

People usually reach for a VPN when they do not trust the link they are using. e.g. it's coffee shop wireless. A VPN obscures the traffic travelling over the dangerous link and delivers it to the endpoint where it is usually on-routed.

On the whole, VPN's do NOT provide anonymity, they provide privacy. VPN connections always need a fixed endpoint which likely has some sort of billing relationship with you.

Services such as i2p and Tor provide anonymity.

chrismsnz··on Intel Says No to Ubuntu's New Display Server
Given the size and content of the patches under discussion here, I think they'll be fine maintaining that level of Mir integration with the Intel drivers themselves.
chrismsnz··on Google updates Play policies to require games to use its in-app billing service
It still happens in the iOS world. I bought RAD Soldiers and it hounds me via notification to play it every few days. No way to disable it except to disable all notifications from the game completely.
chrismsnz··on Valve releasing Dota2 for Linux
I found the gameplay of LoL to be a bit stale and DOTA2 much more dynamic.

Also, 'buying' champions to play with did not sit well with me at all.

Edit: Also, yes, LoL was made to run with much lower-spec PC's than DOTA2. That being said, DOTA2 has much higher levels of polish when it comes to characters, voicing and environment.

chrismsnz··on A Memory Comparison of Light Linux Desktops
There's actually a workaround for this.

Most Java distributions have the ability to work with non-reparenting WM's, but they detect it based on the window manager name.

So the workaround ends up being impersonating another non-reparenting WM, for instance Sun's Looking Glass.

http://awesome.naquadah.org/wiki/Problems_with_Java

chrismsnz··on Show HN: Terminal-based group chat with end-to-end encryption
Short answer: Use PGP, TLS/SSL or KeyCzar.
chrismsnz··on How to Make a Power Over Ethernet (PoE) Adapter
It's called "Passive PoE" and some devices support it out-of-the-box (e.g. WRAP board)
chrismsnz··on Debian 7.0 "Wheezy" released
Unbearable for you perhaps. However, those of us with more than a few machines to look after appreciate the glacial pace and the full support of their stable platform.

Change (well, poorly managed change) causes instability and issues. Debian has proven that they can manage change in their distribution and it makes everyones life easier.

chrismsnz··on Obama to Name Tom Wheeler, a Former Lobbyist, to Head FCC
Theoretically civil lawsuits, or the threat of such.
chrismsnz··on The Matasano Crypto Challenges
In fact, that is one of the key tenets behind modern cryptography!

http://en.wikipedia.org/wiki/Avalanche_effect

chrismsnz··on VPN Services That Take Your Anonymity Seriously
> which would do everything efficiently, properly and cheaply

Doesn't really sound like government to me...

chrismsnz··on Website Impounded
Then it doesn't get delivered.

EDIT: Having the "finished" site on a test host (or even just a temporary DNS name) until the final payment seems like a shrewd move. The work is complete, but if you don't get final payment it doesn't go live.

chrismsnz··on Announcing Topaz: A New Ruby
I'm pretty sure his comment is indicating he _does_ use Python and that is his take on the "significant whitespace" issue.
chrismsnz··on Announcing Topaz: A New Ruby
He's saying that him and his team indent their code correctly anyway, so it might as well be significant
chrismsnz··on We switched to Node.js: the good and the not so good
Pick up "Javascript: The good parts" by Douglas Crockford and don't look back.
chrismsnz··on PHP needs a vision
Completely agree. The people behind Symfony (and other embraced projects such as Composer) are dragging PHP kicking and screaming into the modern age.

The support and tooling they've managed to come up with is great, rivalling some of the more mature languages. Definitely a good "side" to hitch your wagon to.

chrismsnz··on Favorite Unix Commands
Nice

Ctrl+D for quick logout too.

chrismsnz··on Sucking at Retina
It's 4x the pixels and usually works out at about 1.5-2x the bytes.
chrismsnz··on Dependency Injection is a Virtue
I think the argument is that solutions such as Timecop are a hack for stubbing dependencies that are pulled out of global scope.
chrismsnz··on Dependency Injection is a Virtue
Indeed, I wasn't commenting directly on his example rather the general topic.
chrismsnz··on Dependency Injection is a Virtue
This is just another example of how we're learning the lessons of FP about 20 years late.

I'm no expert - I've only muddled with FP languages (mostly Haskell). But what I learned there deeply affected my everyday imperative and OOP coding. Pure functions make for testable, clean code.

← PreviousPage 2 of 5Next →