Home
The Broken Hut
Working my way up to a full-size building
Have you seen these people? Do not approach. 
7th-Dec-2009 08:37 pm - What does Detica detect?

There has been considerable interest in a recent announcement by Detica of “CView” which their press release claims is “a powerful tool to measure copyright infringement on the internet”. The press release continues by saying that it will provide “a measure of the total volume of unauthorised file sharing”.

Commentators have divided as to whether these claims are nonsense, or whether the system must be deeply intrusive. The main reason for this is that when peer-to-peer file sharing flows are encrypted, it is impossible for a passive observer to know what is being transferred.

I met with Detica last Friday, at their suggestion, to discuss what their system actually did (they’ve read some of my work on Phorm’s system, so meeting me was probably not entirely random). With their permission, I can now explain the basics of what they are actually doing. A more detailed account should appear at some later date.

Their system starts by using fibre taps to pick off traffic from an appropriate part of the ISP network. They use a fibre tap rather than “port mirroring” to make it easier for the ISP to be sure that they won’t disrupt any traffic. The links that they monitor need not be carrying all of the ISP’s traffic — they merely hope that it will be a statistically significant sample.

The raw traffic is then sent to the CView box, which can handle multiple 10Gbit links. The first stage of processing is in hardware (FPGAs), then software takes over. The “external” endpoint identity is discarded and the “internal” identity is encrypted using a key that is not made available outside the box (ie: the intent is to make the customer “anonymous” but to be able to link different activity from the same source).

It should be carefully noted that this anonymity means that this system is intentionally useless for (and has nothing whatsoever to do with) any schemes for writing letters to, slowing down, or disconnecting, people who unlawfully share copyrighted materials. It’s all about measurements, not identification.

The content of the traffic is inspected to try and recognise whether it is peer-to-peer (P2P) traffic and if so, which particular protocol is being used. Most protocols are easy to recognise if you see the whole datastream — even encrypted traffic can be preceded by cleartext messages that are easy to distinguish.

If what is being seen is P2P traffic with unencrypted content, a unique identifier is extracted that indicates which file is being shared. This is much easier than you might at first imagine — most of the P2P protocols identify content via unique identifiers (usually a cryptographic hash of the file) and then pass this identifier around with every block, in easy-to-locate fields. The CView box then spits out a record containing:

  • the encrypted (and thus anonymised) customer identity
  • the type of P2P protocol
  • the content identifier value</i>
  • the file size
  • a timestamp

Where the content of the P2P communication was encrypted, the content identifier is unavailable, so the record generated is as above, but that field cannot be filled in.

The records from the CView box are now passed to a statistics system. This looks up the content identifier (where known) in a database to see if it is copyrighted material that should not be seen on P2P networks. The statistics system then scales up its numbers (to adjust for any sampling at the earlier stages) and generates reports and graphs that give information such as the total amount of P2P traffic; what proportion is encrypted; what proportion of the unencrypted traffic appears to be a copyright infringement; the total number of customer accounts that are doing any file sharing; and so on.

As can be seen from this description, the claims in the Press Release are a little wide of the mark, in that if a substantial amount of traffic is encrypted (as is widely believed to be the case) then the proportion that is “unlawful file sharing” can only be guessed at. Also, the system cannot even be totally sure that the transfer of a copyrighted file is in fact unlawful (it might be covered by one of the statutory exemptions), however, the inaccuracy from this is likely to be very small !

The other potential flaw with the whole system is that there may be inaccuracies in detecting P2P protocols. Detica view their current system as a trial, and their system currently only attempts to detect the top three P2P protocols. New protocols, or developments of existing protocols, might well not be recognised, or may look too much like something else, such as “https” traffic. So if the statistics machine says that there is less file sharing going forward, then for quite a number of reasons, this may not quite reflect reality.

There’s also a wider issue as to whether reduction in P2P traffic means less file sharing overall, since users may migrate back to using Usenet, or fetch their files from online repositories, move all their traffic over encrypted tunnels such as VPNs or Tor, or just swap multi-gigabyte “thumb drives” at the pub or in the playground.

Detica are giving the impression that ISPs will be happy to see their new product. I’m less sure that ISPs actually want to measure this traffic quite so exactly. They’re keen purchasers of “traffic shaping” kit, that detects P2P and slows it down; and the statistics from these boxes may be quite sufficient already for their traffic management purposes.

However, ISPs who want to collaborate with media industries might wish to have an “industry standard” measurement tool so that some accurate numbers will inform their discussions. However, this presupposes that they’re prepared to admit how much P2P traffic they’re carrying which might be a bit of a hostage to fortune. I strongly suspect the ISPs would like the option of keeping any embarassing statistics to themselves, but still have Hollywood share in paying the Detica invoices (as if)!

I should also address (especially given the huge fuss over Phorm) the rather important question as to whether the system is lawful to operate? Please note that IANAL, but I’ve studied their writings in this area a fair bit…

The design as explained above seems to address issues of privacy and data protection (amalgamating statistics and discarding identifiers is a sound technique for jumping these hurdles). But there is then the vexed question of illegal interception. The system does “wire-tapping”, that’s obvious, but the criminal offence is called “interception” and that is carefully defined within the Regulation of Investigatory Powers Act 2000. I expect that Detica would wish to argue that there is no interception because no content is seen by any humans… however, spitting out the file identifier might in itself be sufficient to infringe. It may take some case law before anyone can say for sure.

It seems that Virgin (reported to be deploying this Detica system) are taking the view that they’d rather not argue about whether it’s interception, but have indicated that they intend to rely instead upon using it for “network management”, or more formally, the s3(3) statutory exemption that permits interception if “it takes place for purposes connected with the provision or operation of that service.

Knowing how much of your traffic is file sharing is something that network engineers would wish to know. However, knowing how much of the traffic is unlawful (and getting a list of all the material that is being shared unencrypted) is a bit more of a stretch — but perhaps the marketing people can claim that they need this knowledge to provide a service, and Virgin have announced that they are going to be providing a music service of their own.

Finally, the paranoid will observe that minor tweaks to the software will deliver up a first-class monitoring system that can generate reports about unlawful activity by individual users; so that anyone whose P2P activity is unencrypted (and who actually gets sampled) will be immediately detected.

Applying to the courts for an injunction to require these tweaks be made does not seem out-of-line with other media industry legal initiatives in Belgium and Ireland. It’s hard to say whether such an injunction would be granted in the UK, and the media industries have no previous signs of taking this route here. Nonetheless, a cautious ISP that is concerned about the wider PR aspects of deploying this system might think carefully about the likely benefits before giving the nice chaps at Detica (full disclosure, they paid for my lunch) a call.

7th-Dec-2009 01:15 pm - Notification System
Hey Guys,

Unfortunately with our last release, and its instability, we were forced to roll back releases. Unfortunately in doing so, it would seem that our notification system has been broken somehow. Our engineers are working on this issue as quickly as possible. We hope to have a patch within the next day, so we can deploy our code and fix the notification system at the same time. Please *bear* with us ;)

Currently all notifications are being queued up so they can be processed as soon as the fix is pushed and verified to be working correctly.

Thank you,
An employee at my office approached me with two broken staplers today. I put them on my desk to fix later and directed her to the box of orphaned staplers that have accumulated over the years. She went back to her office, and returned a few minutes later, saying the third stapler was broken too. I wasn't surprised; they're all old. She said the fourth one worked.

Near the end of the day, I decided to check the staplers for jams, opened each up, and stared unbelievingly. They ran out of staples. I refilled them, thinking it couldn't be that easy. It was.

I told the employee, "They work now," and put them all back, having decided against teaching the employee about refilling a stapler. Honestly, I'm hoping to see if she ever figures it out, or if there will be another stapler to "fix" soon. This is just too amusing; I must watch it run its course. Train wrecks like this can be fascinating.
7th-Dec-2009 12:00 pm - Dragon Age: Twitter Review Pt. 4
I’ve been playing #DragonAge a week. Suddenly new EULA pops up when I launch it, and I have to agree to play? Pfft.
The discussion as to whether or not it’s enforceable or not is beside the point: This is simply no way to do business.
The whole thing has a sick, Kafkaesque flavor to it. [...]

In an AP story on increased security at major football (the American variety) events, this sentence struck me:

"High-profile events are something that terrorist groups would love to interrupt somehow," said Anthony Mangione, chief of U.S. Immigration and Customs Enforcement's Miami office.

This is certainly the conventional wisdom, but is there any actual evidence that it's true? The 9/11 terrorists could have easily chosen a different date and a major event -- sporting or other -- to target, but they didn't. The London and Madrid train bombers could have just as easily chosen more high-profile events to bomb, but they didn't. The Mumbai terrorists chose an ordinary day and ordinary targets. Aum Shinrikyo chose an ordinary day and ordinary train lines. Timothy McVeigh chose the ordinary Oklahoma City Federal Building. Irish terrorists chose, and Palestinian terrorists continue to choose, ordinary targets. Some of this can be attributed to the fact that ordinary targets are easier targets, but not a lot of it.

The only examples that come to mind of terrorists choosing high-profile events or targets are the idiot wannabe terrorists who would have been incapable of doing anything unless egged on by a government informant. Hardly convincing evidence.

Yes, I've seen the movie Black Sunday. But is there any reason to believe that terrorists want to target these sorts of events other than us projecting our own fears and prejudices onto the terrorists' motives?

I wrote about protecting the World Series some years ago.

Starting yesterday I started getting spam comments on this site that would just be these lists (sometimes long, sometimes short) of random English words. A sample:
Enemy Natural,post hall gate significance experiment disappear later shout light what prepare slowly quite she
I guess it’s an effort to get past heuristic filters. (Spammers don’t care about the [...]
6th-Dec-2009 06:29 pm - Funny Words
Over at Chainmail Bikini we’ve been having a running conversation about “funny words”. Words which are kind of funny in and of themselves.
The examples given in the comic include the word “pants” and “weasel”. The innate humor of the word pants is demonstrated here.
Now, almost any word can be funny if it’s [...]
6th-Dec-2009 03:52 pm(no subject)
Dear edinburgers,

where might one find candy canes (small ones) in flavors other than peppermint - ideally cherry or raspberry? I had planned on getting the ones at Bhs but they had sold out of most packs, should have bought them when I first saw them.

Thanks!
6th-Dec-2009 06:17 am - Salvation Army retreats in Houston
Under what I imagine was a lot of public pressure, the Houston Salvation Army has reversed its policy of requiring Social Security numbers before kids could get toys. The notice reveals that the SA was entering recipients' SS numbers into a database for tracking. It still requires some form of government-issued ID, such as "school registration, Medicaid cards, Consular cards, food stamps cards, and birth certificates," but it's now claiming that "Immigration status is not a detractor for providing assistance."
6th-Dec-2009 09:40 am - Fake Tattoos?
Does anyone know where I can a pack of fake tattoos? I haven't seen them for ages, and can't even remember the last place I saw them. Ideally in the West end area if possible, but I can venture into the city if need be :)
Actually, the title of the movie is, “What if Matrix was shot in the silent films’ era”, a mangled phrase which irritated me until I realized that the people who made the movie are Russian. Their English is better than my Russian, so I can’t be the one to cast the first stone here.






Link [...]
5th-Dec-2009 10:07 am - Out of the Blue Arts Market
I''l be along at Dalmeny Street in Leith with my range of jewellery if anyone wants to drop by.
Read more... )
4th-Dec-2009 08:15 pm - Sephora and the Salvation Army
Sephora (a cosmetics company) recently decided to join up with the Salvation Army as a charity partner. I read about this on their Facebook fan page, and decided to post some links about The SA's bad behavior (refusing to give food unless you attend one of their sermons, not giving toys to children unless their parents prove they are not illegal immigrants, their issues with homosexuals.)

The post was deleted and they blocked me from being able to post again.

Here's the thread, in case anyone wants to add their two cents.

http://www.facebook.com/photo.php?pid=2943129&id=16453004404&comments
4th-Dec-2009 08:14 pm - Sephora and the Salvation Army
Sephora (a cosmetics company) recently decided to join up with the Salvation Army as a charity partner. I read about this on their Facebook fan page, and decided to post some links about The SA's bad behavior (refusing to give food unless you attend one of their sermons, not giving toys to children unless their parents prove they are not illegal immigrants, their issues with homosexuals.)

The post was deleted and they blocked me from being able to post again.

Here's the thread, in case anyone wants to add their two cents.

http://www.facebook.com/photo.php?pid=2943129&id=16453004404&comments
PETA is a fraud. It also has a long and disgraceful record of exploiting Christian and Jewish themes to hawk its ugly services. Those who support this organization sorely need a reality check. They also need a course in Ethics 101.
Er, Donohue, I think Jews would rather you left them out of this.

Anyway, here's the image Bill is so het up about. Personally, I think this is hilarious:
See the shocking image! NSFW! )

Model Joanna Krupa, who features in the ad, has this to say:
As a practicing Catholic, I am shocked that the Catholic League is speaking out against my PETA ads, which I am very proud of. I’m doing what the Catholic Church should be doing, working to stop senseless suffering of animals, the most defenseless of god’s creation.
It must be said that the advert is actually in awful taste and the main reason I'm posting it is because it is so ridiculously over-the-top that it needs to be seen to be believed. (Also because I love imagining the look on Bill's face when he saw it. Priceless!)

(Via MediaWatchWatch)
4th-Dec-2009 11:52 pm - Blues night at the Voodoo Bar
This coming Wednesday you are invited to attend a mainly blues-themed evening featuring:

MP AND THE EXPENSES

THE BLACK DIAMOND EXPRESS

MIKE PARKER (solo and duo)

STRETCH DAWRSON


at the Voodoo bar on Wednesday 9th December, from 8pm. A fantastic lineup for only £5. Tickets available on the door.

N.B. PLEASE NOTE IT'S THE VOODOO BAR ON TORPHICHEN PLACE, NOT THE VOODOO ROOMS!

http://www.facebook.com/event.php?eid=111786824955&ref=mf

http://www.myspace.com/theblackdiamondexpress

http://www.myspace.com/stretchdawrsonandthemendingheartsswingband
4th-Dec-2009 09:28 pm - RIP memes

There was a discussion a little while back on the UKCrypto mailing list about how the UK Regulation of Investigatory Powers Act came to be so specifically associated in the media with terrorism, when it is far more general than that ( see for example: “Anti-terrorism laws used to spy on noisy children” ).

I suggested that this “meme” might well be traced back to the Home Office website’s quick overview text which used to say (presumably before they thought better of it):

The Regulation of Investigatory Powers Act (RIPA) legislates for using various methods of surveillance and information gathering for the prevention of crime including terrorism.

Well, I’ve just noticed another source of memes (which may be new, since Google are continually experimenting with their system. or which may have been there for simply ages, unnoticed by me at least).

If you do a Google search for the RIP Act such as this one, then the top hit is

http://www.opsi.gov.uk/acts/acts2000/ukpga_20000023_en_1

Huzzah! that’s where I’d like to go…

… but just wait a moment before clicking! Look at the text under the clickable link where you usually see an extract from the web page (so that you can determine which of the links is the best one to head off for).

This text currently says:

Provides for the interception of user logs and e-mails of suspected criminals by the security and intelligence services.

which is almost entirely, but not quite, wrong!

Where does this text come from? because it’s not on the OPSI page! Turns out it comes from the “dmoz” “Open Directory Project” where amateur editors can recall the glory days of Yahoo!

The dmoz directory is also rebranded as the Google Directory. Hence, one assumes, this makes it easier to incorporate into search results.

The relevant dmoz category is Regional : Europe : United Kingdom : Government : Intelligence Services : Legislation.

The entries (to save you looking) are:

  • Regulation of Investigatory Powers Act 2000
    Provides for the interception of user logs and e-mails of
    suspected criminals by the security and intelligence services.
  • Terrorism Act 2000
    Act detailing the legal measures that are available in the
    prevention of terrorism.
  • Interception of Communications Act 1985
    Report presented to parliament that deals with the Secretary of State’s power to issue interception warrants at the request of the intelligence and security agencies.
  • Security Service Act 1989
    Report by the Security Service Commissioner, which examines the Secretary of State’s powers to issue, renew, and cancel warrants. In addition, too investigating cases referred to the Commissioner by the Security Service Tribunal.

So the titles of the third and fourth entries are wrong (these are reports made under the Act, not the Acts themselves), and the descriptions are only approximately correct (and only vaguely the English as she is written).

The dmoz people have a link so that you can volunteer to edit this part of the Directory. Given the way in which my words would end up at the top of the Google ranking, I am very tempted to chip in and help!

I expect I could write something just as approximately correct, and that Ambrose Bierce would have been entirely proud of !

In this week’s Experienced points, I classify a bunch of the BioWare characters.
Last night I realized I’d somehow left out Kaiden from Mass Effect, who should have been classified under “Captain Emo”. He was even voiced by Raphael Sbarge who – aside from desperately needing another vowel in his name – also voiced [...]
4th-Dec-2009 07:36 pm - final call
this is the final call for all passengers wishing to travel with gigantor airlines.

tonight's flight will depart at 9pm prompt and will land at 3am, local time. late boarding will be permitted until 1:30am.

our destination is 'all danced out' in the province 'happy but tired'. our route will take us via chicago, london, germany, new york, australia, seattle, and san francisco amongst other musically influential locations.

all passengers are reminded that a £2 door tax is required, should you wish to use the door. if you can figure out a way to enter the craft without using the door, then this fee can be waived. the inevitable prosecution however, can not.

passengers are also reminded that photographic ID will be required to board, regardless of how ancient and wrinkled you may be.

please remember to stow all your luggage securely before take-off, should you require any particular tunage during your flight, our cabin staff will be only too happy to help...

we thank you for choosing to fly with us, and wish you a safe and pleasant onward journey. you never know, you might even find a cab with a yellow light on at 3am :)
4th-Dec-2009 06:41 pm(no subject)
We need a cheap, old comfy armchair. Any idea which charity shops/second hand shops are likely to have one?
4th-Dec-2009 01:17 pm - This time of year again..
Now before you start to think anything . I don't HATE christmas.
I actually like it ! It's fun it gets people together and stuff and there's food :P

Nah .. what I hate about the season though is that EACH and EVERY year my family goes to the BLOODY MIDNIGHT MASS and I can,t get them to accept that I couldn't care less about it.

And I hate how my mother always manipulates me into going by playing with my feelings.
because we go each year with my grandmother whom I dearly love , and my mother always manipulates me into going because I would make her (my grandma) sad if I didn,t go.

And she actually MANAGES to do it. I feel crappy if I don,t go .
but once we're there , it simply FRUSTRATES me to HAVE to go along with one of the most ridiculosu ceremonies ever where people talk like a bunch of drones and we have to sing as a plastic Jesus doll is put into that plastic barn.

It's a waste of 2 precious hours. Plus an insult to my intelligence.


Can't we just love each other and enjoy the company without going to some bad theatrical representation ?!

-_-;;

I can't stand these masses anymore . They're just .. ugh
4th-Dec-2009 10:00 am - In Related News
In relation to the previous post:

Photobucket
4th-Dec-2009 02:24 pm - Stolen Pixels #148: Dragon Aged
I guess we should be grateful that BioWare didn’t do the same thing with Shale and Dog.
Comic Spoiler:
Yes, Wynne is built like all the other women. (Hot.) She obviously just re-uses the same body used by every other woman in the game, who are all also hot. Fine, fine. Budget limits and all [...]
This page was loaded Dec 7th 2009, 10:17 pm GMT.