LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-10-2009, 08:07 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Router Name and Host Name


When I use Firefox to access my Linksys WRT54GL router with DD-WRT v23SP2 firmware, I receive the following dialog box:

A user name and password are being requested by https://192.168.1.1. The site says: "xxxxxx"

Where xxxxxx is the router name and there are text boxes for the user name and password.

Konqueror displays a similar dialog box with Site: xxxxxx at 192.168.1.1.

I expect the dialog boxes but the box message bothers me. A little security through obscurity would be nice here. Why display the router name. Is there a way to prevent this?

I have remote web GUI management and ssh access disabled. Therefore anybody outside my LAN should never see this dialog box. People inside the LAN are considered trusted, but even if not, they cannot obtain access to the router web pages without a user name and password. I also can restrict access to the router web pages from only certain IP addresses within my subnet. Yet anybody inside the LAN who accesses that IP address sees the router name in the dialog box.

There are two names associated with the router. The DD-WRT firmware refers to these as router name and host name. The former is represented in nvram by router_name while the latter is represented by wan_hostname.

The latter is potentially confusing because traditionally, the host name is the name of a computer and contained in the /etc/HOSTNAME configuration file. Not so with the router as this is a name used when requested or required by the ISP. In a typical GNU/Linux box, this same "host name" can be passed to the dhcp client daemon with the -h option. Regardless, if not required or requested, then I would think spoofing with any bogus and misleading name is a good idea.

Still, these browser dialog boxes seem to provide at least some information that unprivileged users should not see. Or should they?

Comments?
 
Old 01-11-2009, 04:00 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Why would obscurity be nice? Never nice in my opinion. if anyone were to hit that address from the net and be challenged then the chances these days are very heavily in favour of it being a firewall / router. You want obscurity, change the hostname from "thisismyrouterandmyaddressis742evergreenterracespringfield". A hostname is only as useful as you make it. Personally my devices at home are named after Muppet characters... hardly useful information. http://en.wikipedia.org/wiki/Securit...uments_against
 
Old 01-11-2009, 09:33 AM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
I think you're worried over absolutely nothing.
 
Old 01-11-2009, 07:22 PM   #4
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Quote:
Originally Posted by AlucardZero View Post
I think you're worried over absolutely nothing.
I agree. This can easily be changed via the "Router Name" dialog box as the OP has mentioned. If you change it to something generic like "My Router," then I don't see how you can get any viable information from it. You would get more information from an nmap scan then you would from the opening dialog box. I would be more worried about pressing the "Cancel" button and getting the default 401 page.
Quote:
401 Unauthorized
Authorization required. please note that the default username is "root" in all newer releases
As long as you change the default username this message is not very significant. Also, if you are worried about someone determined to break into your router via wifi then you could disable the "Wireless GUI Access" for wireless clients. But a strong WPA/WPA2 password would limit any unnecessary outside intrusion.

Last edited by larryhaja; 01-11-2009 at 07:39 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to host website using adsl router zeebala Linux - Networking 3 11-29-2007 09:31 AM
Trying to host game server behind router scott847 Linux - Networking 2 04-09-2005 03:56 PM
Can't host server with firewall, but can with router, could use help please calimer Linux - Software 2 03-01-2005 09:15 PM
Linksys Router and host not found dbeyes Linux - Networking 3 10-17-2003 10:26 PM
Turn a host pc into a simple router ? cmisip Linux - Networking 4 07-03-2003 10:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration