Feeds

* Posts by Paul Crawford

1587 posts • joined 15 Mar 2007

GitHub wipes hand across bloodied face, stumbles from brutal DDoS beating

Paul Crawford
Silver badge

@Trevor_Pott

The first point is a perimeter firewall & its rules won't help your external users under DDoS as most likely your link will be saturated and/or the firewall overloaded with malformed packets. But what it can do is prevent your internal users from loosing the service, which I believe was the issue in reply to JDX. Of course, it also reduces the probability of a service under overload from becoming vulnerable.

The second point, the external users IP address, then it all depends. For example my home is on cable in the UK and my IP address has changed only 7 times in the last 4 years. And had I use a /16 mask then only 2 changes would have been needed (obviously trading off more potential zombies attacking).

We have an arrangement we we can log-in to our web server and ask for that IP address to be added to the firewall permissions, in a few minutes it then opens up SSH access, etc. Not totally automated, but good enough to allow modest home (or on-site) working to function while keeping out almost all login-forcing attempts.

As for IPv6, we just ignore it for now as our current infrastructure (and most UK broadband connections) don't support it by default. But eventually we will have to use it, so yes I will accept more potential pain there.

0
0
Paul Crawford
Silver badge

Re: Not even a small developer would trust it for private, internal code

"Close the git server from the web" isn't an option if you want to allow your developers to work remotely.

No, but you could have a firewall list that only allows the IP addresses of your developers to gain access. Even with a bit of IP re-use on domestic broadband being added in, you are down from ~1 billion computers able to attack to a hundred or so.

3
0

Apple's new non-feline Mac operating system, OS X Mavericks, ready to go

Paul Crawford
Silver badge

Re: Worthwhile Features?

Compressed memory is not a new idea, but it is a good idea for certain system usage patterns. These days even a web browser can gobble stupid amounts of RAM and in-memory compression is typically faster than disk paging (and less damaging to flash storage devices).

For example:

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

0
0

Thirteen alleged Anons named and charged by FBI in antipiracy web war

Paul Crawford
Silver badge

Damage? WTF?

How do you "intentionally cause damage to protected computers"? By definition they are protected, and AFIF the LOIC is just a ddos flood tool, so you are really just "causing temporary nuisance to a web server".

Or are anti-capitalist/monopolist protests now considered a terrorist charge so they have to claim the server is 'damaged' by repeated pointless requests in order to justify the prosecution?

8
8

Down with Unicode! Why 16 bits per character is a right pain in the ASCII

Paul Crawford
Silver badge

Re: Make 'em pay

No, it is down to reverse compatibility which is a BIG THING given the millions of lines of code written pre-Unicode/UTF-8.

Basically, in order to work the single byte options have to map to the old ASCII set (which are 7-bit due to the old parity issues from the serial comms days), and those extending to 2/3/4 bytes cover everything else (the "extended ASCII" of original IBM-PC, including the £ symbol and similar, which you might think is 'imperial').

0
0
Paul Crawford
Silver badge

Cardinal sin of computing

The fact that some programmer, in an attempt to show the "benefit of Unicode", should use a 'double' variable for PI and only give 6 figures tells you they should be executed and their programs not!

But yes, you speak the truth - UTF-8 is better for all practical reasons because it won't break old software/code and yet it allows all characters you (and your customers/users) might want. Subject to matching system fonts - a rant for another day...

13
0

Dell ‘xpands XPS line with 'WORLD-FIRST' MEGA-RESOLUTION laptops

Paul Crawford
Silver badge

WTF 16:9 again?

Good to see more resolution, but why oh why this fixation with 16:9 ratio? Myself, and others, want more vertical estate to actually read documents!

Same for this retina resolution, nice but it is no f-ing substitute for a usable vertical display size!

3
0

So sad about the NSA web-spying bombshells - but think of the MONEY!

Paul Crawford
Silver badge

Meet the new boss, same as the old boss

The deep nature of the alleged NSA compromise is worrying for anyone who believes in that quaint concept of privacy or "reasonable suspicion". But swapping for the Chinese spies is not actually an improvement, so we have a long way to go before vendors can be trusted not to have backdoor'd things for whatever reasons..

1
3

Quantum computing gets recursive

Paul Crawford
Silver badge

That meant nothing to me, University of Vienna...

4
0

Congrats on MP3ing your music... but WHY bother? Time for my ripping yarn

Paul Crawford
Silver badge

I have no issue with torrenting stuff I can't buy, say old Stones bootleg albums and similar.

But...most of them are in low quality MP3 format, like 128kbit, and that is often noticeable even on the lowish quality of most bootlegs.

So you are much better to rip to lossless flac format, and then convert to MP3 copies in another directory (or whatever format your portable player or car accepts). Oh, and make sure you have a backup copy! An external couple of TB disk is not that expensive and could save a lot of tears later!

0
0

Thorium and inefficient solar power? That's good enough for me

Paul Crawford
Silver badge

Re: Storing H2 is not a problem

I think (but am not a metallurgist) that significant exposure to hydrogen causes embitterment of various metals, which is a serious issue for storing and handling hydrogen (or H2-rich) fuel.

Can anyone else who knows cover that topic?

0
0
Paul Crawford
Silver badge

Re: Slightly fruity comparison

The obligatory XKCD reference:

http://xkcd.com/radiation/

28
0

GIANT FLIP-FLOP IN SPACE switches between X-ray and radio emissions

Paul Crawford
Silver badge

The millisecond time-scale is the pulsar's rotation period (i.e. damn fast for something so massive!) while the abstract says "Within a few days after a month-long X-ray outburst, radio pulses were again detected" which implies that the matter accretion process is much longer and thus believable.

1
0

Bill Gates: Yes, Ctrl-Alt-Del salute was a MISTAKE

Paul Crawford
Silver badge
Unhappy

Re: reset while windows was running ...

Oh the joys of non-journalling file systems!

1
0
Paul Crawford
Silver badge

Re: Sun Server Keyboard...

But the Sun keyboards had support for a mouse coming out of them, which was long before USB hubs, etc, and such a neater arrangement. Also we had optical mice on our Sub machines of ~1992 which were cool, though they needed a gridded mouse pad.

Shame that Sun screwed up so badly, and Oracle has done even worse :(

1
0

PC sales shrank less than expected during back-to-school 2013

Paul Crawford
Silver badge

causation is not correlation either!

"Touch notebooks accounted for 25 per cent of the total this year, which would seem to validate Redmond's touch-centric strategy for Windows 8"

Er, did MS not push OEMs hard to include touch screens, hence no big surprise that a large number of buyers got them whether they want to use touch of not?

If you want to "validate Redmond's touch-centric strategy" you need to be reporting on the number of users of laptops with touch screens that actually use that feature.

9
2

Boffins debate killing leap seconds to help sysadmins

Paul Crawford
Silver badge
Boffin

Re: @John G Imrie

Closed network on a power station? Then buy at least two GPS and LW equipped time servers for redundancy.

For example:

http://www.galsys.co.uk/ntp-servers/nts-6001-dual-ntp-server.html

http://www.timetools.co.uk/ppc/ntp-time-server.htm

http://www.meinbergglobal.com/english/products/rail-mount-ntp-server.htm

http://www.spectratime.com/products/ireference/

Simplez!

1
1
Paul Crawford
Silver badge
Mushroom

Another rant

Just to add to my already excessive comments here, the problem is not actually the leap seconds, it is the handling of time-steps by OS and/or applications.

Now if we eliminate leap seconds we still will have the occasional time-step in real systems, as someone monkeys with the clock, or a machine with a poor clock is forced to jump from time to time to keep up, or when a NTP server is blocked for several days due to a firewall or ISP fault then comes back on-line, etc.

In all of those cases, a time step will happen, and you have to deal with it or face problems. If the software developers DO NOT TEST for this, problems will happen. That was the lesson from last year's Linux bug. In fact, getting rid of leap seconds will mean even less testing and probably a BIGGER risk later when time steps happen for other reasons.

What happens if you don't test =>

1
0
Paul Crawford
Silver badge

Re: @dkjd

GPS itself uses atomic time starting 1980, so no leap seconds BUT, and this is where you are really wrong, the GPS ephemeris gives you the offset from GPS-UTC, so you can and do get leap-second information that way.

1
0
Paul Crawford
Silver badge

Re: Stopped clocks

In the Linux case it knows (from NTP) that a step is pending, and it jumps accordingly. The ntpd slewing/stepping is for "normal" time errors.

How VMs handle this is another story. From our experience VM timekeeping is pants anyway, so this is just another minor issue. If an OS/application really needs good timekeeping for some task (e.g. audit of network delays for security such as MITM detection), it really has to run on a physical machine.

0
0
Paul Crawford
Silver badge

Re: Stopped clocks

AFIK the leap second problem that affected Linux last year was down to some timers getting dead-locked, and that was due to a kernel patch that broke the previously correct time-handling for leap seconds. And nobody realised or tested it until the live event:

http://lkml.indiana.edu/hypermail/linux/kernel/1203.1/04598.html

A short check shows a RedHat article including a leap second simulator so you can test a system for its behaviour to debug this predictable event:

https://access.redhat.com/site/articles/199563

While a big event, it just shows the price you pay for not testing something for all expected conditions.

Google slew their machines over 1 day, so no step but also same long-term behaviour. Of course, during that day they are up to 1s out, but clearly that is no big deal for them.

0
0
Paul Crawford
Silver badge

The UK's position

Thankfully, it seems the UK's position is sensible, as covered here:

http://www.itu.int/dms_pub/itu-r/oth/0a/0e/R0A0E0000960014PDFE.pdf

Basically they point out that not only would it mean that "1 day" in no longer synchronised to the Earth's rotation as common sense expects, but that you either end up with a long term problem of sun rise/set getting seriously out of sync with our working hours, or you have bigger but less frequent steps which are worse then a 1-2 year leap second in terms of impacting badly designed systems.

Really, why don't they just make proper time-keeping a mandatory requirement for software systems and force vendors to test and demonstrate they can handle it? That is the biggest issues here: most folk don't have (or will pony up for) an NTP simulator to allow them to set up and test the OS/application reaction to these predictable and recurring events, so they simply hope for the best and, surprise, surprise, they get the worst!

9
0
Paul Crawford
Silver badge
WTF?

Bollocks presentation

Have you read the linked slide show? Three obvious political-style lies are included:

Page 6 - "Leap seconds interrupt normal operation of timekeeping infrastructures and are costly in staff time to implement" - no, you use NTP and it just happens! Unless the system gets broken due to bad/untested software, you need no interaction whatsoever.

Page 6 - "On June 30, 2012, every clock in the world had to stop for one second" no the fscking did not "stop", they simply stepped one second when needed. If you rely on a basic time-stamp then you might get it repeated, etc, but if monotonic time actually matters deeply for program flow or synchronisation, you use one of the system supplied functions that gives you that. (e.g. clock_gettime() with the CLOCK_MONOTONIC flag) or you implement your code to cope in other ways.

Page 12 - "and significant cost reduction in their implementation" - no, you use a system-supplied library that handles time correctly and then only one competent programmer needs to do it, and everyone else "just works". Having monkey-grade programmers implementing basic time keeping over and over again, and getting it wrong (by not RTFM) is a sign of a far deeper problem in your organisation and choice of staff.

How to we get this joker to correct this and apologies?

15
1
Paul Crawford
Silver badge
FAIL

Oh FFS!

So in order to deal with incompetent or poorly tested OS designs that don't actually bother to address the definition of time that has been around for several decades, they want to break compatibility with anything that actually uses that definition by assuming that Earth rotation is never more than +/-1 sec from UTC?

A triumph of the incompetent many :(

Why don't they just tell folk to fix their software, its not a new problem after all?

And for those devices that are not connected to "know" about leap seconds, how exactly would they be keeping accurate time in the first place, and even if they do, how would that matter if they don't interact with systems that are kept in sync?

11
0

Deep Impact succumbs to 'HAL bug' as glitch messes with antenna

Paul Crawford
Silver badge

Re: It was a Y2K problem ..

Calling that Y2K seems a bit misleading given it is 13 years past that point!

But really, it seems odd that they did not have the on-board memory to store just a single byte more for the date/time and then have absolutely no chance of the system running out of time-keeping before its hardware & power supply died.

1
2

Nokia Lumia 1020: It's an imaging BEAST... and it makes calls too

Paul Crawford
Silver badge

Re: @Betacam

Most humour pokes fun at _someone_ and in many cases humour/satire is the way people deal with terrible things.

If you can't laugh then you will cry.

2
1

You thought slinging Photoshop into the cloud would fail? Look who's laughing NOW

Paul Crawford
Silver badge

Re: The real reason for the laughing

I'm guessing these software patents are only valid in the USA?

Seems the rest of the world could go another way, and I'm guessing if the software was free then no issue with a company having to have a business presence of any sort in the USA. Also, I'm guessing that the majority of users don't need the majority of features, so probably not that much to fix, say, GIMP's problems with 16-bit filters, CMYK output, etc.

0
0
Paul Crawford
Silver badge

Re: The real reason for the laughing

You have to wonder how much money would be needed to rectify the issues with having an acceptable alternative to some of these packages. Get a few hundred users together, get them to contribute 1/2 the current fees each and see if that would pay some competent folk to implement the necessary code changes to GIMP, etc...

0
0

Microsoft hooks up with AT&T, gazes into YOUR data center

Paul Crawford
Silver badge
Black Helicopters

No thanks

Outside the USA and going to put data in the hands of AT&T & MS, both who seemed happy to turn over everything to the NSA?

Yes, I know they probably have no legal choice in the matter, but was PRISM not a paid-for arrangement to make the process nicer and maybe even profitable?

Closest to a tinfoil hat icon =>

2
0

Google smacks Surface with free Quickoffice for Android, iOS

Paul Crawford
Silver badge

Re: Didn't Microsoft kill off a better browser by giving away an inferior one?

Almost - they killed its financial viability and locked lots of corporations in to a now-regretted dependency on IE5/IE6 which even MS can't/won't port, even as 2nd class application, to later versions of Windows.

But Netscape's legacy is still around as Firefox, and doing not too badly.

4
0
Paul Crawford
Silver badge

New?

Depends, many older options did not work very well, maybe Quickoffice will work to a "good enough" standard?

Still, has MS not been in "protect Windows cash-cow at all costs" mode the last few years, it could have make Office properly available on IOS (at least) and Android and seen much more sales. Oh, and saved 1B$ in write-down on the unloved WinRT fondlslabs...

0
0

Oracle revenues miss expectations – AGAIN

Paul Crawford
Silver badge

Re: SPARC hardware

Citation?

0
0

Leaked docs: NSA 'Follow the money' team slurped BANK records, CREDIT CARD data

Paul Crawford
Silver badge

Re: Hmmmm....

There are many ways to decrypt a message that do not involve "breaking" the cypher.

As already pointed out: hacking in before it is encrypted, using you 'influence' to get a copy of the key(s), compromising the key/certificate generation software, compromising a closed-source implementation so it leaks information that you have the key to make use of...

4
0

Meet the Unmagnificent Seven: The critical holes plugged in Firefox update

Paul Crawford
Silver badge

Re: Linux anyone?

I use Linux and recommend it to friends/family, but I never tell them it is "safe". You have to always be careful and never, ever, assume the machine is immune.

On a side point, most distros disable the apparmor profile for firefox - that is a dubious step to allow easier file down/up load from a non-default directory. If you are very serious about security you should enable it to sandbox the browser.

Oh, and if really serious, us another account for dubious browsing, maybe a 3rd for very important browsing. And change the /home/* directories to remove 'other' access.

4
0

One year to go: Can Scotland really declare gov IT independence?

Paul Crawford
Silver badge

Re: Sigint capability

You are forgetting the likelihood that our puritanical overloards would be quite interested in spying on our activities. Look at how they enacted pr0n+ laws that tried, and in cases, succeeded in going beyond the stupid UK-wide changes that made drawing a dick on Bart Simpson a potential jail-and-sex-register crime.

3
2

Redmond slips out temporary emergency fix for IE 0-day

Paul Crawford
Silver badge

Re: But why?

Corporate drones - they have no choice but to use the IT department's image.

Corporations that have screwed up IE6/7 only internal systems, where the users have to use IE and it becomes a dirty (or enforced) habit on t'Internet as well.

5
0

Microsoft no longer a top Linux kernel contributor

Paul Crawford
Silver badge

Re: @M Gale

Today you are only likely to worry about kernel size for embedded applications, and there you probably are going to roll a customised kernel with just what you need.

As you say, Windows has a lot of micro-kernel like aspects, but still has become bloated and need rebooting for way too many patches. Most of the bloat is probably not 'kernel' in the classic sense, but it is an issue for smaller devices like phones & fondleslabs.

And it misses the point - if going microkernel you really would be doing it primarily for security and fault tolerance/recovery, so you need a _VERY_ minimal 'kernel' and everything else as user-space modules.

2
0
Paul Crawford
Silver badge

Re: Otherwise it'll become bitrotten

Now then, where do I buy some new hardware to natively run my ZX81 games?

Or why can't I get this NT4 driver for my old SCSI scanner to play with Windows8?

4
0
Paul Crawford
Silver badge

Re: at this rate

There are a lot of good reasons for going microkernel in terms of security (even "binary blob" drivers get ring-fenced access) and in-memory footprint (only in-use drivers need be loaded).

But...usually performance hit of going in/out of ring 0 for every driver/file system action means it gets side-lined, and few have the stomach for trying to compete with Linux/Windows (even BDS) for developer attention.

2
0

Cloud storage: Is the convenience worth the extra expense?

Paul Crawford
Silver badge

Re: Total loss of control.

This is a valid point, but one solution is along the lines of Nate's post above you - have your own managed server with encrypted storage that you alone have the key. For storage/backup only you don't even need the physical server to be isolated, as you can encrypt-on-write at the client machine(s).

Of course, that is not going to stop a court order for access, but at least they have to deal with your own country's laws which, in theory, you have a democratic input to. That is very different to any foreign host where you can expect a different treatment even to the locals.

And as Trevor points out, you still need a local copy in case the provider has gone badly wrong or is holding your data hostage with usurious fees to migrate your data to another provider...

4
0

Angry Brazilian whacks NASA to put a stop to ... er, the NSA

Paul Crawford
Silver badge

NASA security

This probably covers it:

http://xkcd.com/932/

NASA has a lot of public-facing low-importance web sites that don't get maintained/updated for years. I'm surprised this is not more common really.

1
0

Cold-blooded, INHUMAN visitor hitches ride on NASA moon rocket

Paul Crawford
Silver badge
Unhappy

Re: Communicating with the rocket via Kermit?

Damn, I forgot I was that old

0
0
Paul Crawford
Silver badge
Trollface

Re: Mais attendez!

Try your local Tesco for burgers.

0
0

Chap unrolls 'USB condom' to protect against viruses

Paul Crawford
Silver badge
Trollface

Re: USB condom?

Do you have a bigger one for me?

0
1
Paul Crawford
Silver badge

Re: Beware cheap cables?

Ah, the joys of Windows' autorun? First thing (well, almost) you should do is this:

http://support.microsoft.com/kb/967715

And just go for the 0xFF hack to disable EVERYTHING that could autorun.

Still, if the cable identifies itself as something known (e.g. a mouse) then Windows will still install a driver for it without asking for your consent, and it is conceivable that a USB keyboard-like device could be used to inject commands to a system at some point. That sort of attack would also work on Linux, etc, but the attacker would have to know what system it was to successively inject badness.

3
0

Box morphs into Google Docs competitor

Paul Crawford
Silver badge

Client side encryption?

Really, if they want to survive outside of the USA, and are competing with MS & Google, they need something special.

Having an open-sourced encryption layer that ensures that only those with the private password can (easily) decrypt the server-side data would be something worth having.

Yes, I know there are lots of ways to compromise that, obviously if you are using a compromised OS, but privacy by design would be a decent selling point.

1
0

City of Munich throws Ubuntu lifeline to Windows XP holdouts

Paul Crawford
Silver badge

Re: I bet a lot more people would switch if...

AFIK the default installation will dual-boot with XP.

Only fly in that ointment is occasional rogue Windows DRM-style program that would write to the boot sector area assuming only the MBR is used and trash the grub loader. That may be fixed now (saw that 3-4 years ago).

2
1
Paul Crawford
Silver badge

Re: Half measures

They are also telling they are on their own if they don't switch...

16
0
Paul Crawford
Silver badge

Re: How does this help?

It helps simply by giving those folk the idea that (A) the current XP support will end soon, and (B) they can do *something* about it for free (as in money, not in time).

The alternative is to either let them be and watch as all of those machines become infested and cause all sorts of problems to the users and local business, or to force them to pay up for new machines that will probably not run a decent portion of old stuff / old hardware, and will have the radically new TIFKAM interface in any case.

There is no simple answer to what to do if you don't have a big budget to refresh and retrain users. Trying Ubuntu (or getting the local tech person to help you try it) is way better than doing nothing.

4
4