Atomic I/O letters column #142

Originally published 2013, in PC & Tech Authority
(in which Atomic magazine is now a section)
Reprinted here June 24, 2013
Last modified 16-Jan-2015.
 

Evading the Lidless Flaming Eye of Google

Whenever you click on a Google link these days, you actually go to some huge Google URL that then redirects to the thing you thought you were clicking. Like, if you search for "pc authority" then hit number 1 will say it's "www.pcauthority.com.au", but redirects through "http://www.google.com/url?sa=t&rct=j&q=&esr..." on and on for 192 characters.

I'd rather not tell Google about every single search link I click - I want to go there "direct". Is there some way to do this other than switching to Bing or Inktomi or something?

Tash

Answer:
Man, I remember when Wired's "HotBot" was the big name in search.

For a while, Google used those large redirector URLs for some search results and not for others, but now they do seem to do it for everything. And going somewhere via the redirectors does indeed tell Google where you went. They're also annoying if you try to copy the URL without clicking it, because you'll copy the redirector URL, not the destination.

Since the displayed URL for each search result is, as you say, the actual destination, it's quite easy for a small particle of software to get around this. You can do it with a Greasemonkey script like "Google Anonymizer", or with a standalone browser extension. The Firefox add-on "Google/Yandex search link fix" does it, as does the "Undirect" extension for Google's own Chrome.

(Oh, and as far as alternative search engines go, duckduckgo.com is the only one that has an official policy of strong privacy protection and absolutely no filtering based on previous searches.)

 

PeerBlock paranoia

I installed "PeerBlock" recently, and among the EIGHT HUNDRED AND TWENTY MILLION IP addresses it says it's blocking are some weird entries. Chunghwa Telecom, which Wikipedia tells me is "the largest telecommunications company in Taiwan", and some other foreign ISPs, and it also blocked "IPredator VPN", which is The Pirate Bay's own anonymous VPN service!

Is The Pirate Bay trying to hack me?!

Danny

PeerBlock in the act of peer-blocking
There's no end to the dodgy characters who want to sleep on your P2P couch.

Answer:
The purpose of PeerBlock and the IP-address lists on which it's based is to protect you from (some) hackers and malware and such, and also from governmental and business bodies who may accuse you, correctly or otherwise, of copyright infringement.

By their very nature, P2P file-sharing programs invite the world to connect to your computer. If you're not running P2P software and not part of a botnet or something, PeerBlock shouldn't have much to do, besides intercepting the occasional probe from distant malware which very probably wouldn't have achieved anything anyway.

Just because something's on one of the several lists you can tell PeerBlock to use, though, doesn't mean it's evil.

There is, for instance, the "Educational" list, which blocks a wide variety of university and college network address ranges. In those ranges can be found plenty of normal P2P-using end-users, online gamers, plain Web users and so on. (There's also an option to allow traffic on the standard HTTP ports while blocking everything else, so you can still see .edu Web sites.) Those ranges also, however, contain system administrators who cut all Internet access if they catch users of the college network breaking the law, and/or breaking only the network terms of service.

Likewise, there's plenty of perfectly valid traffic from foreign ISPs, but it cannot trivially be distinguished from foreign governmental bodies who also harshly punish P2P downloading, or political subversion. And then there are "honeypots", apparent P2P sharers who actually provide nothing but bad data, and/or record the IP addresses of people who contact them, for later legal harassment.

PeerBlock deliberately blocks much more stuff than it really needs to, to minimise the chance that it doesn't block something that's actually dangerous.

 

Further blockage

I work from home. I have a Reddit account. So I do not literally WORK from home, as much as I should.

I actually need Internet access in order to do my job, but I need to put metaphorical razorwire around Reddit and some other timesinks, at least until the working day is over.

Is there a better way to do this than buying some net nanny software or other and telling it to block almost everything?

Enzo

Answer:
There are several free ways to block certain sites but not others.

You could, for instance, edit your hosts file (just called "hosts" with no suffix, and in C:\Windows\System32\drivers\etc by default for Windows) and add an entry that points to some nonexistent IP address, like 127.168.0.2, for www.reddit.com and anything else you want to block. The format's very simple - just address, then domain name, and your computer will attempt to go to that address for that name until you remove that entry or comment it out with a # at the start of the line.

(This can also be used to block ad servers, nosey DRM nuisances, and anything else that irritates you. If something breaks because you blocked a domain, just remove the relevant line from the file. If you make a change but nothing happens, open a command prompt and type "ipconfig /flushdns". The hosts file isn't locked, either, so you can have "workhosts" and "playhosts" files, and just rename either to "hosts" and flush the DNS again when you want to change from work mode to non-work mode.)

If you'd rather not edit critical system files, there are several other options. The "LeechBlock" add-on for Firefox will do it, as will StayFocusd and Concentrate for Chrome, and the list goes on.

 

Interruptible Power Supply

I got a second-hand UPS for $10, and its batteries still seem pretty decent (it ran a desk fan for 25 minutes before conking out) but it doesn't power my PC. Everything seems fine, but if there's a 1 second blackout or I test it by pulling the plug out of the wall, it beeps once then dies, and my computer turns off. I remember in the dear departed Atomic you recently had one problem like this that was just a loose plug on the power cord, but that definitely isn't the case here.

What's the problem here?

Pryor

Answer:
The UPS can't output enough power to run your computer. The battery capacity has little to do with this; it determines how long a UPS can power a given load, but only slightly affects how large a load it can handle.

(There is a small real-world relationship between battery condition and UPS load capacity; clapped-out batteries may not be able to deliver as much current as they did when new.)

UPSes are rated in "volt-amps", VA, with one VA similar to but not quite the same as one watt. Get a cheap electricity meter and see what your computer draws. If the meter says it draws, say, 400 watts, then you need a UPS with a rating above 400VA. 500VA should do nicely.

To reduce the load on a UPS, try powering less gear from it (like, your computer, but not your monitor). You can also use software from the UPS manufacturer that lets most UPSes, via a serial or USB lead, tell the computer to shut down when the power goes out. Or in some cases do cleverer things, like shutting down Folding@home or anything else that uses a lot of CPU time.

Dropping CPU load to near-zero will with various modern CPUs cause the computer to automatically reduce its clock speed, thereby reducing power draw even more. Even if your UPS has enough grunt to run your computer with full CPU and graphics-card loads, reducing that load will let the UPS last through a longer blackout.

 

The Tell-Tale Ticking Thing

Some part of my computer is making a ticking sound, and I can't figure out what it is.

It's not something stuck in a fan. It's not any of the drives (I unplugged them all but the DVD writer and booted Ubuntu from a CD, the ticking continued). It's not the little "PC speaker". It's intermittent, too, sometimes stopping entirely, sometimes being louder, sometimes being softer. I even tried unplugging all of the cards, and the keyboard, and the mouse, and the network, and everything else except the power cord. Now the computer couldn't boot of course, but even before it gave the startup error beeps about that, IT STILL TICKED.

Nothing actually seems to be BROKEN, but this is driving me crazy. What on earth could it be?

Josh

Answer:
Given that you've already eliminated every component except for the motherboard or power supply, then failing off-the-wall problems like a beetle stuck somewhere in the case, it has to be the motherboard or power supply.

One possible source of little ticking noises is an electrical arc striking between, say, the exposed copper of an abraded cable and the earthed chassis of the computer. It is very unlikely that a computer in this state would keep working well, though. A modern high-rated PSU can sometimes keep running even when it's surprisingly thoroughly shorted out, but the smell of PVC smoke being blown out the back of the computer would probably alert you to this problem.

A less extreme version of this problem could cause a ticking sound, though. Something inside or outside of the PSU could be sort of half-shorted, or the PSU could have damage that's reduced its output capacity, or just be legitimately running close to its maximum possible output. In these situations, solid-state components inside the PSU, like voltage regulators and transformers, can be changed slightly in dimensions by electromagnetic and heat effects, creating a ticking sound. (This is also why mains-frequency transformers hum. The small transformer in a PC PSU also hums, but it runs at a very high frequency, so you can't hear it.)

I think it's barely possible for the CPU-power regulators on the motherboard to do this, too, but the PSU is a more likely culprit, and easier to swap out. And, as I've said may times before, if it's important to you that your computer not be off-line even for a weekend, then you should have a spare PSU sitting on the shelf in case of emergencies anyway.

(Josh got back to me. Yes, it was the PSU.)

 

Other letters columns

I/O #1
I/O #2
I/O #3
I/O #4
I/O #5
I/O #6
I/O #7
I/O #8
I/O #9
I/O #10
I/O #11
I/O #12
I/O #13
I/O #14
I/O #15
I/O #16
I/O #17
I/O #18
I/O #19
I/O #20
I/O #21
I/O #22
I/O #23
I/O #24
I/O #25
I/O #26
I/O #27
I/O #28
I/O #29
I/O #30
I/O #31
I/O #32
I/O #33
I/O #34
I/O #35
I/O #36
I/O #37
I/O #38
I/O #39
I/O #40
I/O #41
I/O #42
I/O #43
I/O #44
I/O #45
I/O #46
I/O #47
I/O #48
I/O #49
I/O #50
I/O #51
I/O #52
I/O #53
I/O #54
I/O #55
I/O #56
I/O #57
I/O #58
I/O #59
I/O #60
I/O #61
I/O #62
I/O #63
I/O #64
I/O #65
I/O #66
I/O #67
I/O #68
I/O #69
I/O #70
I/O #71
I/O #72
I/O #73
I/O #74
I/O #75
I/O #76
I/O #77
I/O #78
I/O #79
I/O #80
I/O #81
I/O #82
I/O #83
I/O #84
I/O #85
I/O #86
I/O #87
I/O #88
I/O #89
I/O #90
I/O #91
I/O #92
I/O #93
I/O #94
I/O #95
I/O #96
I/O #97
I/O #98
I/O #99
I/O #100
I/O #101
I/O #102
I/O #103
I/O #104
I/O #105
I/O #106
I/O #107
I/O #108
I/O #109
I/O #109
I/O #110
I/O #111
I/O #112
I/O #113
I/O #114
I/O #115
I/O #116
I/O #117
I/O #118
I/O #119
I/O #120
I/O #121
I/O #122
I/O #123
I/O #124
I/O #125
I/O #126
I/O #127
I/O #128
I/O #129
I/O #130
I/O #131
I/O #132
I/O #133
I/O #134
I/O #135
I/O #136
I/O #137
I/O #138
I/O #139
I/O #140
I/O #141
I/O #142
I/O #143
I/O #144
I/O #145
I/O #146
I/O #147
I/O #148
I/O #149
I/O #150
I/O #151
I/O #152
I/O #153
I/O #154
I/O #155
I/O #156
I/O #157
I/O #158
I/O #159
I/O #160
I/O #161
I/O #162
I/O #163
I/O #164
Dan's Data letters #1
Dan's Data letters #2
Dan's Data letters #3
Dan's Data letters #4
Dan's Data letters #5
Dan's Data letters #6
Dan's Data letters #7
Dan's Data letters #8
Dan's Data letters #9
Dan's Data letters #10
Dan's Data letters #11
Dan's Data letters #12
Dan's Data letters #13
Dan's Data letters #14
Dan's Data letters #15
Dan's Data letters #16
Dan's Data letters #17
Dan's Data letters #18
Dan's Data letters #19
Dan's Data letters #20
Dan's Data letters #21
Dan's Data letters #22
Dan's Data letters #23
Dan's Data letters #24
Dan's Data letters #25
Dan's Data letters #26
Dan's Data letters #27
Dan's Data letters #28
Dan's Data letters #29
Dan's Data letters #30
Dan's Data letters #31
Dan's Data letters #32
Dan's Data letters #33
Dan's Data letters #34
Dan's Data letters #35
Dan's Data letters #36
Dan's Data letters #37
Dan's Data letters #38
Dan's Data letters #39
Dan's Data letters #40
Dan's Data letters #41
Dan's Data letters #42
Dan's Data letters #43
Dan's Data letters #44
Dan's Data letters #45
Dan's Data letters #46
Dan's Data letters #47
Dan's Data letters #48
Dan's Data letters #49
Dan's Data letters #50
Dan's Data letters #51
Dan's Data letters #52
Dan's Data letters #53
Dan's Data letters #54
Dan's Data letters #55
Dan's Data letters #56
Dan's Data letters #57
Dan's Data letters #58
Dan's Data letters #59
Dan's Data letters #60
Dan's Data letters #61
Dan's Data letters #62
Dan's Data letters #63
Dan's Data letters #64
Dan's Data letters #65
Dan's Data letters #66
Dan's Data letters #67
Dan's Data letters #68
Dan's Data letters #69
Dan's Data letters #70
Dan's Data letters #71
Dan's Data letters #72
Dan's Data letters #73
Dan's Data letters #74
Dan's Data letters #75
Dan's Data letters #76
Dan's Data letters #77
Dan's Data letters #78
Dan's Data letters #79
Dan's Data letters #80
Dan's Data letters #81
Dan's Data letters #82
Dan's Data letters #83
Dan's Data letters #84
Dan's Data letters #85
Dan's Data letters #86
Dan's Data letters #87
Dan's Data letters #88
Dan's Data letters #89
Dan's Data letters #90
Dan's Data letters #91
Dan's Data letters #92
Dan's Data letters #93
Dan's Data letters #94
Dan's Data letters #95
Dan's Data letters #96
Dan's Data letters #97
Dan's Data letters #98
Dan's Data letters #99
Dan's Data letters #100
Dan's Data letters #101
Dan's Data letters #102
Dan's Data letters #103
Dan's Data letters #104
Dan's Data letters #105
Dan's Data letters #106
Dan's Data letters #107
Dan's Data letters #108
Dan's Data letters #109
Dan's Data letters #110
Dan's Data letters #111
Dan's Data letters #112
Dan's Data letters #113
Dan's Data letters #114
Dan's Data letters #115
Dan's Data letters #116
Dan's Data letters #117
Dan's Data letters #118
Dan's Data letters #119
Dan's Data letters #120
Dan's Data letters #121
Dan's Data letters #122
Dan's Data letters #123
Dan's Data letters #124
Dan's Data letters #125
Dan's Data letters #126
Dan's Data letters #127
Dan's Data letters #128
Dan's Data letters #129
Dan's Data letters #130
Dan's Data letters #131
Dan's Data letters #132
Dan's Data letters #133
Dan's Data letters #134
Dan's Data letters #135
Dan's Data letters #136
Dan's Data letters #137
Dan's Data letters #138
Dan's Data letters #139
Dan's Data letters #140
Dan's Data letters #141
Dan's Data letters #142
Dan's Data letters #143
Dan's Data letters #144
Dan's Data letters #145
Dan's Data letters #146
Dan's Data letters #147
Dan's Data letters #148
Dan's Data letters #149
Dan's Data letters #150
Dan's Data letters #151
Dan's Data letters #152
Dan's Data letters #153
Dan's Data letters #154
Dan's Data letters #155
Dan's Data letters #156
Dan's Data letters #157
Dan's Data letters #158
Dan's Data letters #159
Dan's Data letters #160
Dan's Data letters #161
Dan's Data letters #162
Dan's Data letters #163
Dan's Data letters #164
Dan's Data letters #165
Dan's Data letters #166
Dan's Data letters #167
Dan's Data letters #168
Dan's Data letters #169
Dan's Data letters #170
Dan's Data letters #171
Dan's Data letters #172
Dan's Data letters #173
Dan's Data letters #174
Dan's Data letters #175
Dan's Data letters #176
Dan's Data letters #177
Dan's Data letters #178
Dan's Data letters #179
Dan's Data letters #180
Dan's Data letters #181
Dan's Data letters #182
Dan's Data letters #183
Dan's Data letters #184
Dan's Data letters #185
Dan's Data letters #186
Dan's Data letters #187
Dan's Data letters #188
Dan's Data letters #189
Dan's Data letters #190
Dan's Data letters #191
Dan's Data letters #192
Dan's Data letters #193
Dan's Data letters #194
Dan's Data letters #195
Dan's Data letters #196
Dan's Data letters #197
Dan's Data letters #198
Dan's Data letters #199
Dan's Data letters #200
Dan's Data letters #201
Dan's Data letters #202
Dan's Data letters #203
Dan's Data letters #204
Dan's Data letters #205
Dan's Data letters #206
Dan's Data letters #207
Dan's Data letters #208
Dan's Data letters #209
Dan's Data letters #210



Give Dan some money!
(and no-one gets hurt)