<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Blog / Andy Langton's Website</title><description>A variety of tutorials, comment and other writing aimed at web developers</description><link>http://andylangton.co.uk/articles/</link><copyright>Copyright Blog / Andy Langton's Website</copyright><item><title>Virgin Media: ports 3128 and 8080</title><description>Every now and then I use a port scanner on computers I work with to check which services are accepting connections from the internet. For a typical client PC, there should normally be no ports accessible, and for a server, only those ports specifically enabled for services.

Imagine my surprise when scanning a server recently to notice that in addition to the ports specifically open, also open were port 8080 and port 3128. Both are ports commonly used by HTTP proxies, and as a result also commonly used by trojans. So, into trojan scanning mode I went only to find nothing. I also checked the router, which was blocking connections to those ports, and the software firewall which also had no rules that would enable these connections. So was it some kind of uber-stealth trojan?

After a lot of hassle and some amount of worry, it dawned on me that if there was genuinely no program listening on those ports, it must be at the ISP level. Virgin Media was probably opening these ports (and if you ask me, exposing their clients to unnecessary attention from hackers scanning for vulnerabilities.

With a bit of Googling, I found a number of references to those ports as being part of a web caching system in use by Virgin Media (see http://ben.cheetham.me.uk/resources/net/ntl-proxy-list, for example). Bah. Curse you Virgin! For anyone else curious about these open ports on a Virgin Media connected computer, hopefully this post will save you the time I just spent ;)</description><pubDate>Mon, 18 Jan 2010 18:38:51 +0000</pubDate><link>http://andylangton.co.uk/articles/it-security/virgin-media-ports-3128-and-8080/</link><guid>http://andylangton.co.uk/articles/it-security/virgin-media-ports-3128-and-8080/</guid></item><item><title>Breaking Google with advanced search operators</title><description>Or: What is it with all of the weird Google Books/YouTube results?
</description><pubDate>Thu, 16 Jul 2009 21:02:55 +0000</pubDate><link>http://andylangton.co.uk/articles/seo/breaking-google-with-advanced-operators/</link><guid>http://andylangton.co.uk/articles/seo/breaking-google-with-advanced-operators/</guid></item><item><title>Rel=&quot;canonical&quot; - does it actually fix duplicate content issues?</title><description>All of the major search engines recently agreed on an element to address the problems webmasters experience related to duplicate content. I feel their pain, and while I dislike proprietary features (since they don't address the underlying problem) it seems like it might be a useful tool in certain circumstances.</description><pubDate>Tue, 17 Feb 2009 18:20:13 +0000</pubDate><link>http://andylangton.co.uk/articles/seo/does-rel-canonical-work/</link><guid>http://andylangton.co.uk/articles/seo/does-rel-canonical-work/</guid></item><item><title>Amazon encourages users to click phishing emails</title><description>While Amazon are not the worst culprits, they sent me an email today which illustrates how larger organisations are failing to help their users protect themselves against phishing emails.</description><pubDate>Sat, 22 Nov 2008 15:39:04 +0000</pubDate><link>http://andylangton.co.uk/articles/it-security/amazon-phishing-emails/</link><guid>http://andylangton.co.uk/articles/it-security/amazon-phishing-emails/</guid></item><item><title>Jquery: show/hide multiple elements independently</title><description>Hiding a single element with Jquery was pretty straightforward. But what about if you want to show/hide multiple elements independently?</description><pubDate>Mon, 13 Oct 2008 18:52:56 +0000</pubDate><link>http://andylangton.co.uk/articles/javascript/jquery-show-hide-multiple-elements/</link><guid>http://andylangton.co.uk/articles/javascript/jquery-show-hide-multiple-elements/</guid></item><item><title>Use PHP and cURL to retrieve URL contents (with a few options)</title><description>url_get_contents - a function to retrieve the contents of a remote URL with PHP and the cURL library.</description><pubDate>Tue, 03 Jun 2008 22:17:21 +0000</pubDate><link>http://andylangton.co.uk/articles/php/use-curl-to-retrieve-url-contents-with-a-few-options/</link><guid>http://andylangton.co.uk/articles/php/use-curl-to-retrieve-url-contents-with-a-few-options/</guid></item><item><title>Learn philosophy from...a joke book</title><description>Philosophy is probably my second most common reading material. But yes, Sartre is terrifically boring.</description><pubDate>Tue, 03 Jun 2008 21:09:34 +0000</pubDate><link>http://andylangton.co.uk/articles/philosophy/learn-philosophy-from-a-joke-book/</link><guid>http://andylangton.co.uk/articles/philosophy/learn-philosophy-from-a-joke-book/</guid></item><item><title>Accessible show/hide content with jquery</title><description>Update: Show/hide multiple elements independently
I'm a big fan of jquery since I don't often need to write any javascript, but for the times I do it cuts out most of the hassle of accessing on page elements, using CSS selectors and really helps with an accessible approach.</description><pubDate>Sat, 17 May 2008 13:30:00 +0000</pubDate><link>http://andylangton.co.uk/articles/javascript/jquery-accessible-show-hide/</link><guid>http://andylangton.co.uk/articles/javascript/jquery-accessible-show-hide/</guid></item><item><title>Persai: dull but effective</title><description>As I suppose quite a few people did, I signed up for the beta of Persai as a reader of the now defunct uncov. I imagine that gives them a fairly direct batch of beta testers, all over-fond of the word 'fail'. I've used it solely from an end-user point of view: I haven't done any testing to try to figure out the technology yet.</description><pubDate>Sat, 17 May 2008 12:45:00 +0000</pubDate><link>http://andylangton.co.uk/articles/startups-betas/persai-dull-but-effective/</link><guid>http://andylangton.co.uk/articles/startups-betas/persai-dull-but-effective/</guid></item><item><title>Anderton&#39;s Music: highly recommended. UX2: great</title><description>I recently went shopping for some home-recording equipment, and thought I'd share my experience and give credit where it's due. Online merchants note - a little bit of friendly customer service goes a long way.</description><pubDate>Fri, 02 May 2008 20:40:44 +0000</pubDate><link>http://andylangton.co.uk/articles/ecommerce/andertons-music-highly-recommended-ux2-great/</link><guid>http://andylangton.co.uk/articles/ecommerce/andertons-music-highly-recommended-ux2-great/</guid></item><item><title>Use mod_speling to fix mis-typed URIs</title><description>I just discovered the Apache module mod_speling (yup, one 'l') which is a fantastic way to ensure visitors who mistype URIs get automatically redirected to the correct location.</description><pubDate>Mon, 30 Apr 2007 20:04:23 +0000</pubDate><link>http://andylangton.co.uk/articles/apache/use-modspeling-to-fix-mistyped-uris/</link><guid>http://andylangton.co.uk/articles/apache/use-modspeling-to-fix-mistyped-uris/</guid></item><item><title>Get viewport size (width and height) with javascript</title><description>While finding out monitor resolution with javascript can be useful for statistics and certain other applications, often the need is to determine how much space is available within the browser window.</description><pubDate>Thu, 12 Apr 2007 19:27:47 +0000</pubDate><link>http://andylangton.co.uk/articles/javascript/get-viewport-size-javascript/</link><guid>http://andylangton.co.uk/articles/javascript/get-viewport-size-javascript/</guid></item><item><title>Permanent (301) Redirects with PHP</title><description>If you want to permanently redirect a small number of URIs, or redirect based on conditions defined in PHP, then you need a permanent PHP redirect.</description><pubDate>Fri, 30 Mar 2007 18:46:00 +0000</pubDate><link>http://andylangton.co.uk/articles/php/permanent-redirects-with-php/</link><guid>http://andylangton.co.uk/articles/php/permanent-redirects-with-php/</guid></item><item><title>Get Monitor Screen Resolution with Javascript</title><description>Find out and display a user's screen resolution with javascript.</description><pubDate>Wed, 28 Mar 2007 00:15:16 +0000</pubDate><link>http://andylangton.co.uk/articles/javascript/browser-screen-resolution/</link><guid>http://andylangton.co.uk/articles/javascript/browser-screen-resolution/</guid></item><item><title>Javascript/CSS Scrollbar Effects</title><description>The ability to change a visitors scrollbars actually uses CSS rather than javascript.</description><pubDate>Mon, 26 Mar 2007 15:48:33 +0000</pubDate><link>http://andylangton.co.uk/articles/css/javascript-css-scrollbars/</link><guid>http://andylangton.co.uk/articles/css/javascript-css-scrollbars/</guid></item><item><title>Javascript and Search Engine Spiders</title><description>Historically, javascript has been 'hidden' from search engines; their spiders did not understand javascript and could not interpret even the most basic of javascript code.</description><pubDate>Thu, 01 Mar 2007 22:33:12 +0000</pubDate><link>http://andylangton.co.uk/articles/javascript/javascript-and-spiders/</link><guid>http://andylangton.co.uk/articles/javascript/javascript-and-spiders/</guid></item><item><title>Javascript Redirect Scripts</title><description>Redirecting a visitor with javascript is pretty straightforward. The simplest way is to use one of the methods below.</description><pubDate>Fri, 23 Feb 2007 10:45:36 +0000</pubDate><link>http://andylangton.co.uk/articles/javascript/javascript-redirect-scripts/</link><guid>http://andylangton.co.uk/articles/javascript/javascript-redirect-scripts/</guid></item><item><title>Embedding Fonts With CSS (IE only)</title><description>I'm not a big fan of forcing users to see things 'my way' but a client recently wanted to use a wacky font for headings, and was only concerned with viewers using IE. (Whether this is a good idea or not is for a different discussion!)</description><pubDate>Thu, 22 Feb 2007 18:43:26 +0000</pubDate><link>http://andylangton.co.uk/articles/css/embedding-fonts-with-css-ie-only/</link><guid>http://andylangton.co.uk/articles/css/embedding-fonts-with-css-ie-only/</guid></item><item><title>Search Result Preview Tool Updated</title><description>The Search Result Preview tool has been updated so you can see changes 'live' via javascript</description><pubDate>Thu, 22 Feb 2007 18:33:35 +0000</pubDate><link>http://andylangton.co.uk/articles/seo/preview-tool-updated/</link><guid>http://andylangton.co.uk/articles/seo/preview-tool-updated/</guid></item><item><title>Opera vs Firefox vs IE7</title><description>Is Opera better than Firefox? Update: And is IE7 better than either of them?</description><pubDate>Wed, 21 Feb 2007 23:07:02 +0000</pubDate><link>http://andylangton.co.uk/articles/misc/opera-vs-firefox/</link><guid>http://andylangton.co.uk/articles/misc/opera-vs-firefox/</guid></item><item><title>Javascript Location Reload</title><description>Reload/refresh a page with javascript
To reload or refresh the current page with javascript, you can use the reload() function.</description><pubDate>Wed, 21 Feb 2007 19:09:15 +0000</pubDate><link>http://andylangton.co.uk/articles/javascript/javascript-location-reload/</link><guid>http://andylangton.co.uk/articles/javascript/javascript-location-reload/</guid></item><item><title>Disable Javascript Errors</title><description>This simple script will prevent javascript errors from being displayed in your visitor's browser</description><pubDate>Wed, 21 Feb 2007 19:08:18 +0000</pubDate><link>http://andylangton.co.uk/articles/javascript/disable-javascript-errors/</link><guid>http://andylangton.co.uk/articles/javascript/disable-javascript-errors/</guid></item><item><title>Javascript Back Button</title><description>This simple script operates the same way as the back button in a visitor's browser.</description><pubDate>Wed, 21 Feb 2007 19:07:07 +0000</pubDate><link>http://andylangton.co.uk/articles/javascript/javascript-back-button/</link><guid>http://andylangton.co.uk/articles/javascript/javascript-back-button/</guid></item><item><title>Display a javascript alert box to your visitors</title><description>Javascripts allows you to popup a small box of text, rather like the error and information message boxes within windoze.</description><pubDate>Wed, 21 Feb 2007 17:23:19 +0000</pubDate><link>http://andylangton.co.uk/articles/javascript/javascript-alert/</link><guid>http://andylangton.co.uk/articles/javascript/javascript-alert/</guid></item></channel></rss>