* Posts by Vic

5860 publicly visible posts • joined 7 Dec 2007

My top three IT SNAFUs - and how I fixed them

Vic

The joys of third-party applications.

Some years ago, I ran the web servers for a members' organisation.

This organisation decided that it needed a CMS. I recommended one, with a few others as backups in case they didn't like that one. But a Shiny Salesman turned up, and sold them a bespoke solution.

One fine afternoon, almost all of the CMS disappeared. The server was still up, but the pages were absent.

I was called in to find out what had gone wrong. It was rather shocking. It turns out the PHP had[1] two ways to get hold of environment variables - with a bright red warning on the documentation page never to mix the two, as context leakage would surely ensue. And, of course, the developers of this CMS had done exactly that.

Now, a page editor had (accidentally) included a link to his admin-area stuff, rather than the customer-side view of that page. That should have been harmless - no-one without some sort of administrative privilege should have been able to get to the admin side, so that's safe, right? Nope. This leakage meant that a user could accidentally gain administrative privilege if an admin was logged in at the same time. Guess which user did gain said privilege? An aggressive web spider, that merrily followed all the "delete page" links it found...

I put a patch in place to prevent re-occurrence whilst the developers "urgently" fixed the problem, and restored the DB from a copy I had secretly stashed away. The patch was still there when the CMS was retired, and no backup strategy was ever formally implemented. The developers in question have now discarded their product and are now shipping the one I'd recommended in the first place...

So has that organisation learnt from this? Have they hell.

A few years later, they decided they should have a CMS. I didn't even hear about the discussions until the deal was done, so by the time I asked "what about the one you've already paid for?", it was all too late. Another Shiny Salesman had done the dirty, and taken a large sack of loot away. And so the day of the rollout came around. One of the important parts of the new site was a Branch Finder application, that allowed users to find their nearest club. It was a Google Maps thing, and the developers[2] were very proud of it, as were my customers. So when users started reporting that it was *incredibly* slow, or didn't work at all, there was pandemonium. The developers, of course, blamed the server platform; I'd obviously commissioned something far too slow, and a new server was required. So I showed them the idle time graph to demonstrate just how little this server was doing; it was most certainly not a server problem. Then they decided that this was an inherent problem with the way maps work, and nothing could be done.

All this, of course, bent the needle on my Bullshitometer. A little interaction with the users showed that it was the ones with older PCs that were having most problems - it looked like a client-side problem. So I took a look at the application. The despair has not yet left me.

The application worked by sending the entire dataset of clubs - including data that would never make it onto the map, and probably breaches the DPA - to the client, where it is filtered for proximity to the user, and then displayed on the map. And the data is sent from the server in XML. Which is parsed on the client. In Javascript.

My initial replacement simply exchanged JSON for XML, and that went like the proverbial excrement from agricultural implement by comparison. That got rid of the "inherent problem" bullshit, and the developers resolved to have another look. By the time I left the project, they'd done nothing more than my quick hack...

Vic.

[1] I believe this is no longer the case in the current version of PHP. But I still wouldn't put any money on it.

[2] A differnet bunch from the first story. No better at their jobs, though.

Vic

Re: "the network issue"

And yes I've been called out of hours to fix a network issue with a PC in $Important24/7ServiceArea which required the network cable being plugged back into the PC.

Years back, I used to support a Health Authority network. This wasn't ethernet - it was all serial comms[1], routed through statistical multiplexers in nodes (usually in hospitals). The users were generally paid piecework, so keeping the terminals running was important.

One hospital had a particularly troublesome terminal that simply would not work. They had on-site support, who'd "tried everything", so I was called out to do a node shutdown and statmux replacement. As this was a disruptive job, it had to be done out-of-hours.

I always turned up a little early for that sort of work - it makes it easier to ask any questions you might need of staff who are about to go home. So I was at the terminal long before shutdown, with the on-site guy by my side. I had a quick shuftie around - yes, the terminal was powered on. Yes, the brightness was turned up[2]. I then decided to ask the local guy whether or not the serial cable ought to be laid unconnected on the floor, or whether it might actually work better if plugged into the wall port...

Vic.

[1] Yes, I'm that old.

[2] I had another callout which turned out to be the brightness control, so I always checked that.

Vic

end users only experience the symptoms of an actual problem, but they report what they think the problem is to the Service Desk

I was talking to a test pilot at Boscombe Down a few years back. He had a very nice take on reporting.

If he reported that an aeroplane had too small a rudder, the manufacturer would supply him with an aircraft with a bigger rudder. If it turned out that that didn't fix the problem, he was on the hook for the custome build.

If, however, he reported the problem - that the rudder had insufficient authority - it was down to the designers to fix the fault. That would usually mean a bigger rudder - but it was someone else's responsibility to make that call.

Vic.

Ireland loses entire airport amid new postcode chaos

Vic

Re: Welcome to 20th err 21st Century Ireland

his reply was that the postman knows him and his family.

There was an item on the local news a few years back[1] about a postcard that had been sent from Australia, addressed simply to "Tim's mum, Southsea". And it got there.

Vic.

[1] December 1988. I looked it up - http://www.bbc.co.uk/programmes/p01lhb2z

Union confirms two-day strike over Universal Credit's pisspoor IT

Vic

Take the example of a couple claiming Income Related ESA

This is beginning to smell like insider knowledge; is there perhaps something you'd like to disclose?

Vic.

Vic
Joke

How exactly are you going to interface with multiple systems developed independently over many years?

perl DBI, usually :-)

Vic.

Security gurus deliver coup de grace to US govt's encryption backdoor demands

Vic

Re: "I am appealing to the emotions of dumb fucks, which is you!"

Well, guess what, nannying the clueless IS the job demanded of us by the huddled masses

It isn't. It's the job certain people set for themselves, when the general population is insufficiently interested to disagree particularly vehemently.

Vic.

Vic

"A war on Philip Morris would be much more effective, amd very much cheaper and safer to boot."

Nope. They tried declaring war on booze in the 1920's. Guess what? People would rather ignore the laws of their country than abandon their vice.

I didn't say it would work - just that it would be more effective than their "War On Terror".

War on Drugs ring a bell? We've bee putting trillions into the problem

That's because we've been putting trillions into creating the problem. An artificial pinch in the supply of something people want leads to an increased price - that's basic economics. If the price is high enough, the profit margins are sufficient to warrant some very risky behaviour - and so the drugs gangs are born. It would be trivial to take them out of business simply by undercutting them to the point where the trade is no longer profitable.

But that's different from putting some effort into getting people to take driving more seriously; a temporary removal of the driving licence has quite an effect.

If he feels he MUST get attention by any means necessary, then nothing will stop him

I said "major cause", not "single cause". This attitude is endemic in the way governments seem to work these days; they seem to want to find a single factor that will make the difference between unicorns frollicking in the streets and a plague of toads. Very few situations in life are truly caused by a single factor, and those that are have already often been tamed.

Vic.

Vic

Re: Is this a good analogy?

Does it just boil down to the process not being in place to restrict law enforcement access, or is there some other genuine issue?

Yes, there is some other genuine issue. It doesn't work. Mathematics doesn't care whether or not you are authorised to do something - if you've got the keys, you can decrypt the comms.

For this crazy scheme to work, you've got to have everyone in the world - including th bad guys - using your dual-keyed algorithm. That means both eliminating the current algorithms that don't fit this model - all of them - and also convincing every country in the world - even the ones ou really, really don't like - to keep it that way.

And even if you do achieve this utopian global accord, you've then got to hand the master keys out to all those countries, to distribute throughout their "law enforcement"[1] agencies as they see fit. That means that all those rogue states - North Korea, for example - has a master key that can break into all messages sent by their population. That's great for repressive regimes. It also - and this bit is monumentally important - means that those same rogue states have a master key that can break into all messages sent by your population. Try running a business when the Chinese can break into all your on-line communications, including your VPNs.

Now hopefully, the above should show you why even attempting this is stupid beyond belief. But we've only just started - it gets worse. This world has a class of people known as "criminals". They're bad people. They're also often rich people, and often powerful people. And many of them would like to be able to listen in to, say, your banking session to steal your credentials, since that would allow them to open your bank account and take all your money. And all they need is a single copy of the master decryption key - which, as we've seen above, has now been distributed to every country in the world, and from there to a large number of people within that country[2]. If any single one of those recipients is susceptible to corruption, or even to simple threats of violence, the key is now in the hands of the criminals, and nothing is ever safe again.

You could, of course, make a fresh set of keys when this occurs. That's a monumental effort, and would likely require months or even years to propagate around the world. And it wouldn't prevent captured historical messages from being decrypted, nor would it stop the same breach happening again - there is that much value attached to a single key that can deliver the whole of the Internet into the hands of its posessor; it truly is the One Ring...

Vic.

[1] Ha!

[2] If the key is only held by a small number of people in each country, there will necessarily be a backlog; you've got a choke-point in the flow of message decryption. So it will be duplicated, because that means a higher throughput, meaning less latency from request to decryption. Law enforcement[1] agencies like things to happen quickly, because it means there is less delay in the evidence-gathering process. You've going to get duplication, and on a massive scale. In each country.

Vic

How do you tell your citizens that they are under perpetual existential threat from rogue, undetectable threats and there's sod all they can do about them?

You don't, because that would be simple scaremongering.

Add up every single fatality, ever, in any coutry, that is down to terrorism - or even suspected to be so. Now compare that to the provable deaths from tobacco; you won't need many months of figures from any paritcular country you might choose to meak it quite clear that, if saving lives is your goal, then terrorism is the wrong target[1]. A war on Philip Morris would be much more effective, amd very much cheaper and safer to boot.

What happens when one man gains the capacity to ruin civilization and has the will and determination to actually do it.

That's exactly the scenario we're all trying to avoid - but the next one along will just kjeep repeating the same mantra of "encryption evil"...

Except most of them are the result of single-human factors: a chaos factor considered too difficult to really treat.

It's only too difficult because the will is not there to do so; were it to be considered a problem as heinous as terrorism, and the budget made available accordingly, it suddenly wouldn't be so difficult. The results would certainly mean more lives saved per $currency spent than waging a war in the Middle East. But none of this is about saving lives, it's all about control.

It's a "crap happens" situation, much like getting struck by a bolt out of the blue.

This is a defeatist attitude, and is explicitly singled out as a cause of bad driving in Roadcraft. Once you have accepted crashes as "accidents", they will occur. This is why the abbreviation "RTC" is now used, rather than "RTA"; calling it an "Accident" implies that no-one is to blame.

Vic.

[1] It's arguable - and I would do so - that inflating the terrorism problem is in fact a major cause of terrorism; the UK had a deliberate policy during the '70s and '80s of downplaying terrorist incidents perpetrated by the IRA This is very effective; there were fewer such incidents than there might have been had each one led to blanket TV and newspaper coverage. Today, any insignificant occurrence is treated as Terrorism until proven otherwise; such an elevation of status means that a certain type of individual is actually attracted to that sort of activity. Thus running around, Chicken Licken-style, actually contributes to the problem, rather than resolving it.

Pan Am Games: Link to our website without permission and we'll sue

Vic

Re: Canuck Post Pub Nosh

can we do a Post Pub Nosh review on Poutine

I'd rather see a Post Pub Nosh review on Poitin. It would mean changing countries.

Vic.

Vic

A letter or two of apology to Pan Am wouldn't go amiss.

A letter of thanks that they've been shown the error of their ways would be rather welcome. I, for one, am unapologetic for what I've done...

Vic.

Vic

Re: Okay... let me be the first to do this here...

I think you should have linked to the twats page. If enough people do, they might start to understand...

Vic.

Canadian dirtbag jailed for SWAT'ing, doxing women gamers

Vic

Re: Sounds like an ideal candidate

For the next Big Brother house

For the B-Ark.

Vic.

Uber to drivers: You make a ton of dosh for us – but that doesn't make you employees

Vic

Re: Just a ruse

numerous countries have ruled that Uber is an employer and subject to employer laws

It will be interesting to see what happens if one of their drivers gets hit under IR35...

Vic.

Vic

Re: Not that this will make using Uber safer

"his insurance covers him for operating as a taxi driver"

So he can just have social, domestic and pleasure insurance policy?

Did you read the bit you quoted?

It he's only got SDP insurance, it doesn't cover him for operating as a taxi driver.

Vic.

Brit teen who unleashed 'biggest ever distributed denial-of-service blast' walks free from court

Vic

Surely the real criminals here are the stupid DNS server owners who coudn't be arsed to make sure their servers couldn't parcipitate in a DDoS.

Given the rest of your comment, it appears you don't know how a DNS amplification attack works. You might like to look that up before calling someone else "stupid". For at least one class of service provider, it's near-impossible[1] to avoid being part of that DDoS.

Vic.

[1] Some clever filtering/rate-limiting can help, but that tends to be after-the-fact.

Google says its AI will jetwash all traces of malodorous spam from your box

Vic

Re: hmmm

More like the high 90s% spam.

When last I checked, my servers were receiving1] 86% spam. This was almost exactly the same as everyone else at the time.

I should probably check again...

Vic.

[1] Not actually "receiving" the spam; I set my MTAs up to reject spamminess. That means I frequently reject the connection long before any spam has actually been transferred. I urge everyone to do likewise: accept-then-bounce is a terrible scenario, as it makes you a spam reflection vector, and that's bad...

Vic

Re: Meh

;; ANSWER SECTION:

[vic@perridge ~]$ dig +short txt bengummer.com

[vic@perridge ~]$

That's a shame...

Vic.

Vic

Re: Meh

Most people don't have the technical skills and/or financial means to setup and, more importantly, maintain their own email server.

I disagree. It's not a particularly onerous task.

However - and this is critical - is is a maintenance task. I get properly sick of beancounters who decide that they're going to dispense with my services because their email works just fine, then whinge a few months later when it no longer does - it's an ongoing task; it needs a little effort on a continuous basis.

Vic.

Vic

Re: Meh

Also my detection rate is 100 fucking % with 0 % false positives

Then you have an insignificant amount of mail and/or users.

The brick-wall spam filter is impossible. You can't even get humans to agree on what spam is, so it is impossible by definition; one man's spam is another man's legitimate email.

Vic.

Trebles all round: The BBC's won this licence fee showdown

Vic

Re: 55% more?

That Potters Wheel and the "test card" were repeated ad nauseum!

Yeah, but they were still more interesting than that suspicious parents bollocks...

Vic.

OCP supporters hit back over testing claims – but there's dissent in the ranks

Vic

Re: Cole is Delusional

I'm happy to be called a fool.

Phew! That's lucky, then.

Vic.

China wants to build a 200km-long undersea tunnel to America

Vic

Re: america to china on train

an interest rate that sounds OK but means he gets back three times what he paid them

Three times? Have you watched some of the "cheap" channels on TV lately?

There are at least 3 companies lending at >1200% APR. And that's down from the 6000% I saw a few years back. No those numbers aren't typos - the APRs really are that large.

It is my belief that a loan should only be permitted if the recipient can calculate the monthly repayments on his own, to within a reasonable margin of error. These usurers are representing themselves as sensible and responsible; I do not see how any loan can be considered responsible if the monthly repayment is more than the loan...

Vic.

More than 13,000 emails swiped in Edinburgh council cyber assault

Vic

Unsurprisingly, getting rid of their own IT departments in favour of bought-in services has been a very good way of saving large sums of money for local authorities.

I see this claim regularly. I've never seen it actually substantiated.

In order to "save money", you need to do the same job for less. "Not actually doing the job" doesn't really cover that, in my book...

Vic.

NHS trust's crack IT squad claims its first digital upgrade hits

Vic

Re: Is this the team who saved £4.5m of taxpayers' funds?

I believe this is the incredible IT team

KarlG. First post, registered just to post this.

Entirely coincidentally, there is a Karl Goatley whose LinedIn profile describes him as "Director of IT at Sussex Partnership NHS Foundation Trust".

No relation, I'm sure...

Vic.

Canuck chump cuffed over helium balloon flying chair stunt

Vic

So if you were to seek permission to do this legally, would you have to carry a radar transponder and air band radio with you?

Not necessarily.

This sort of flight would not normally be permitted in controlled airspace, so to do it legally, one would need special permission from the nation's aviation authority. Such permission is occasionally granted, but this is based on the facts of the matter; carrying a transponder and radio would most assuredly count in favour of the flight. That said, there are so many reasons not to approve the flight, that I don't expect such considerations would amount to anything.

This was supposed to be a PR stunt for his company. That's unlikely to persuade an authority to interrupt controlled airspace.

Vic.

Vic

Surely a pin on a stick is all you need for a reasonably controlled descent?

Nope. It might start reasonably well, but as you approach the ground, the air pressure increases, leading to the balloons shrinking, with a corresponding[1] loss in buoyancy. This means that the speed of descent increases, meaning that the rate of change in air pressure increases, ...

So a pin on a stick would get you a descent, but the words "reasonably" and "controlled" aren't really appropriate...

Vic.

[1] As the density of air increases, you will obtain more upthrust from a given size of object (Archimedes' principle), but this will not balance the loss of volume; the difference between the internal and external pressures in an elastic balloon increases as the balloon size decreases (Laplace's Law). Thus you would increasingly lose upthrust from each balloon as you descend through the atmosphere.

Jolla cuts hardware biz loose to concentrate on Sailfish licensing

Vic

Re: Which?

Debian (apt) to Fedora (rpm)

ITYM "Debian (deb) to Fedora (rpm)". apt is a dependency solver that sits atop either dpkg or rpm.

</pedant>

Vic.

Apple Pay's Brit biz bashed by banks planning to Zapp it out

Vic

Re: NFC and Phone payment

By the way any one who claims the 1980s was better didn't live it or has a remarkably poor memory.

I have some fantastic memories of the '80s. My life might be more comfortable now, but not nearly as much fun...

Vic.

Migrating from WS2003 to *nix in a month? It ain't happening, folks

Vic

Re: Sure, of course

migrating from a Windows server to a Linux one is easy only in some specific situations - usually the simplest ones.

It's often easier than many people would have you think.

But with less than a month to go before it's *got* to work? I won't be touching that project...

Vic.

Progress source replenishes international space station

Vic

Re: El Reg units...

I was born less than five years after decimalisation, and all that stuff seemed confusing and utterly archaic to *me*

I was born before decimalisation. And LSD is actually surprisingly easy to use.

Try dividing the number of pennies in a pound by various integers. Do it both for decimal pounds and for LSD. One is significantly easier for rather more divisors...

Vic.

Florida cops cuff open-carry, balls-out pirate packing 'operational' flintlocks

Vic

Re: Not a "firearm"

a muzzle loading weapon that meets the definition of an “antique firearm” is not a firearm

Wondrous.

I'd have thought that if it meets the definition of an "antique firearm", it is, by definition a firearm...

Vic.

US dominates net-security patents, China, Canada and Oz on the advance

Vic

Re: And how many...

probably can't patent something that is already out there either.

I've had quite a few patents[1] granted. They involve innovative solutions such as "using data-reordering instructions to re-order data" and "using the Count Leading Zeroes instruction to count leading zeroes". These are all current and available for use by my previous employer as a stick with which to beat competitors...

Vic.

[1] All of my patents are utterly useless. All of them. But I was young, and didn't know any better - I got paid quite a bit of cash for each filing, and more for each granting.

ONE MILLION new lines of code hit Linux Kernel

Vic

Re: Yes but

ll those lines of source code don't end up as object code in a final installation unless they're needed to run devices and filesystems on the target, surely?

They will most assuredly end up as object code on an installation. They just won't actually be loaded unless the relevant hardware is detected. This is marginally inefficient in terms of disk space use[1], but means that a major change of hardware between boots of the same drive doesn't cause problems.

For a typical domestic or 'professional' installation, I'm wondering what percentage of the full source code actually ends up being installed.

If you mean the object code built from that source, then substantially all of it gets installed, so it's available if needed.

I'd also assume that people who 'roll their own' can make a very small final installation.

Yes, if that makes sense to them. That's usually only the case when disk space is at a premium.

Vic.

[1] For example, the machine I am typing this on uses an Intel processor. That means that the AMD MC support driver (amd64_edac_mod) is wasting nearly 39K of my disk space. I think I can live with that.

Vic

So is this driver code hard-baked into the kernel? What if I don't have an AMD GPU? Do I still get to use up RAM for what sounds like a large chunk of driver code? Or is it actually an optional kernel loadable module?

As with all drivers, that's up to whomever builds the kernel. For most distros, that means it's a loadable module - you only get it if it can do you some good.

But if you want to bake it into the kernel, that's a build-time option you can choose if you think it makes sense for you. Most people won't.

Vic.

At last, switching between rubbish broadband providers now easier

Vic

Re: Oh brilliant move

I see slamming in everyone's future

Exactly what I was thinking.

I've changed provider quite a few times. It's very easy. Why did this need "fixing"[1]?

Vic.

[1] I use the term quite wrongly, of course...

MOUNTAIN of unsold retail PCs piling up in Blighty: Situation 'serious'

Vic

Re: If you need a "new" PC

Whenever Linux has gone haywire for me it after I do something complicated like change the screen resolution

That's not happened to me for very many years. We used to have to edit modelines in XF86Config, but I'm not sure I've had to do that this millenium...

Vic.

Vic

Linux on a laptop? *Shudder*

I've done it for many years, on various platforms. It's rather good.

I won't run Ubuntu on bare metal anymore

Nor I. But then Ubuntu != Linux.

Vic.

Vic

Re: Damn you lucky bastadges.

I want a *new* machine, one that I won't have to upgrade for at least five years

I have a bag of shite. The BIOS is dated 2009, so I've had it about 4 years, after my neighbours threw it out. I expect it to last at least another year, making the 5 years you're after.

It cost me £9 for a new power cable. I could probably have got that cheaper if I'd looked a little harder.

Hardware is much more resilient that many people think. The trick is to understand when the black smoke has run out, and when it's merely a software fault masquerading as a terminal failure...

Vic.

Vic

We don't need a ton of processing power, just a dual/quad core

God, I feel old. this sort of statement still amazes me...

When I was doing silicon design, we had 2x 100MHz SPARCs for the entire 7-man department...

Vic.

Is that a graphics driver on your shop's register – or a RAM-slurping bank card thief?

Vic

Re: So use ApplePay

Seriously? You've never seen a card only till?

Nope. Never.

Try tesco or asda

It's a while since I've been to Asda, but I've just done my shopping in Tesco.

Where do you live, the shetland islands?

Southampton.

Vic.

Vic

Re: So use ApplePay

Notice how many shops now have card only self service tills in the UK?

Nope. I don't think I've seen any such shops...

Vic.

NSA slapdown prompts Privacy Int'l to file new lawsuit against GCHQ

Vic

Re: Marsbarbrain Waiting for Matt...

Hook, line *and* sinker!!

You missed both "rod" and "copy of Angling Times"...

Vic.

Caterham 270S: The automotive equivalent of crack

Vic

Re: Now that ElReg is...

My heart's with self assembly, my head says "don't be an idiot!".

I used to work with a guy who was building one - 3 years ago, he reckoned it was ready except for £600 worth of stuff he couldn't afford at the time...

Vic.

Festival tech: Charge your mobe while you queue for a pee

Vic

Besides, would you really want to have to explain that to the security if they're feeling bored enough for a proper pat down?

I once had an interesting conversation with a Festival Security guard. She was insistent - nay, vociferous - that glass bottles were absolutely not allowed in, and there's no way I would succeed in getting them in.

I actually had to point out to her that these were my empties, and I was on the way out...

Vic.

China's hackers stole files on 4 MEELLION US govt staff? Bu shi, says China

Vic

Re: An Operating System of Their Own

Given the BSD license, that may be a better choice, because then Uncle Sam would be under no obligation to disclose the source of the version of the OS they're using

Any obligation they might have so to do has nothing to do with the licence...

Vic.

Spaniard sues eBay over right to sell the Sun

Vic
Mushroom

Re: Prior claim

Ebay are on a sticky wicket by claimng that the Sun is not tangible

"Tangible" means that you can touch it - it's from the Latin.

A tenner says you can't...

Vic.

Vic

Re: Oh god

his solicitor advised him that the light from the Sun takes 1000 years to get to the Earth

If nothing else, that would demonstrate that the solicitor is clueless...

Vic.