Skip to navigation

PCPro-Computing in the Real World Printed from www.pcpro.co.uk

Register to receive our regular email newsletter at http://www.pcpro.co.uk/registration.

The newsletter contains links to our latest PC news, product reviews, features and how-to guides, plus special offers and competitions.

// Home / Blogs

Posted on February 13th, 2009 by Tim Danton

Does your printer really need internet access?

Does your printer really need to check its Facebook account?I should say from the outset that all the words of wisdom below don’t belong to me, but to Rob Nichols from Hydro-Logic who was kind enough to write in after reading one of the bizarrer articles to appear on the website: HP warns LaserJet owners to patch their printers. Over to Rob.

Your article highlights an important security issue ignored by many people when setting up network equipment. That is “does this piece of equipment need to access the internet?”.

If the answer is “No”, usually because the piece of kit is only for users directly connected to the network, then the best policy is not to set the default gateway. By leaving the default gateway blank in a network device’s configuration you effectively deny access to it from the internet, as the device will not be able to reply to any request coming in from another network.

An external hacker could aim a denial of service attack or possible stack overflow type attack, but to do either they would have to know that the device was at a specific address and for the latter exactly which make and model of printer it was. Both of which are extremely difficult to determine from the outside, and made virtually impossible if the network is behind a NAT firewall/router. The hack would also have to be done blind as the printer wouldn’t respond to the attack. Though also bear in mind that not setting a default gateway does not block attack from within the network.

So for example, if owners of the LaserJets covered by the article leave the default gateway blank on their printers the ability to hack in from outside the network would be curtailed. Similarly, network attached storage (NAS) devices that are only used locally should not have their default gateway set.

For these kind of devices often the only need for internet access is to allow updates, and this is usually more easily and certainly more securely achieved via local upload rather than letting the device do it itself. For many such devices they do not have the facility to automatically update, so even this is not a reason to set the default gateway.

My personal experience is that the vast majority of home users should not set the default gateway on dumb network devices such as NAS boxes and network printers. The same is true for many small single site businesses.

Even multi-site businesses, or those managed via remote access have a choice as to whether to set the default gateway, and administrators of such networks should ask the question “should I set the default gateway” and only do so if there is a good reason to.

For example, if remote administrators dial into an “admin” workstation or server, they could access the local network devices from there without each device having a default gateway set.

This is a classic example of thinking twice before setting up absolutely everything in a network configuration. It is up there with not enabling every protocol available (enabling TCP/IP, IPX/SPX and NetBEUI on a network device will slow it down!).

The best advice is always to only enable what is needed. So in the check list of “do I need anything more than TCP/IP?” (usually no), “do I need UPNP or SNMP?” (often no), “have I changed the default password?” (should always be yes), every one should add “do I need to set the default gateway?”.

Just because you can set a default gateway, does not mean you should!

Tags: ,

Posted in: Hardware, Real World Computing

Permalink | Trackback

Follow any responses to this entry through the RSS 2.0 feed.

Social Bookmark this article: What is this?

4 Responses to “ Does your printer really need internet access? ”

  1. Steve Cassidy Says:
    February 13th, 2009 at 1:56 pm

    Umm, this is not uniformly applicable advice. The argument about a default gateway setting amounitng to a vulnerability is something of a non-sequitur: it depends on whther the OS on the devices connecting with that device, will happily handle traffic with something that doesn’t share the detail of their own network configuration.

    Generally, in networks large and small, this is being tightened up – so the sin of allowing the printer to see the Net is balanced by other problems which are not predictable without detailed knowledge of the behaviour of your PCs, your choice of sprint-spool software, and how much you spent on your firewall.

    Probably best explored in more detail in my next Networks column!

     
  2. Rob Nichols Says:
    February 16th, 2009 at 9:52 am

    Surely the sentence “The argument about a default gateway setting amounitng to a vulnerability is something of a non-sequitur” is itself a non sequitur as soon as it has to be followed by the phrase “it depends…”.

     
  3. Steve Cassidy Says:
    February 17th, 2009 at 2:18 pm

    Nope! The “depends” looks forwards, not backwards. I left out “whether the printer will actually work with your other machines” before the word “depends”.

    So your criticism focuses on the right word for the wrong reasons. At least until I have a better link between my frontal hippowhatsit and my cerebral finger-doodaddle.

     
  4. shakey Says:
    February 19th, 2009 at 7:52 pm

    this is something i’m guilty of, i’ve never really thought about it before.
    makes a lot of sense, i’m off to modify network now…

     

Leave a Reply

* required fields

* Will not be published

Categories

Authors

Archives

advertisement

SEARCH
SIGN UP

Your email:

Your password:

remember me

advertisement


Hitwise Top 10 Website 2008