zsh-users
 help / color / mirror / code / Atom feed
From: "Benjamin R. Haskell" <zsh@benizi.com>
To: "François Revol" <revol@free.fr>
Cc: zsh-users@zsh.org
Subject: Re: $HOST on OS X
Date: Sat, 5 Jun 2010 14:52:33 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.01.1006051413110.5029@hp.internal> (raw)
In-Reply-To: <FCD37EB8-E199-4AC2-ACB9-D1A899302558@free.fr>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1474 bytes --]

On Sat, 5 Jun 2010, François Revol wrote:

> Le 5 juin 2010 à 17:45, Benjamin R. Haskell a écrit :
> 
> > So, maybe there was some script you/someone ran that set 
> > HOST=e3191.c.akamaiedge.net, for convenience.  (For uploading things 
> > to Akamai's CDN, maybe?  Seems a bit of a stretch.)
> 
> No it's only a bad habit of OSX to update hostname depending on the 
> joined network, I often noticed this when using wifi or an unusual 
> LAN. So when you open a Terminal at that point it shows this in the 
> prompt and other stuff...

If that's the case, I might expect a hostname like 
pool-68-162-167-80.pitt.east.verizon.net (something from a DHCP pool 
assigned by an ISP).  Not something on akamaiedge.net, which is 
certainly not an ISP.  Unless someone's playing weird games with routing 
via Amazon-EC2.  (More likely, that one in particular seems like some 
upstream DNS misconfiguration, akin to the bad PTR record for an RFC 
1918 address in this post[1].)

Regardless, OS X is far from the only O/S that'll update hostnames when 
you join a network.  And especially on a laptop, it often makes sense.  
For instance, after associating with a university's wireless network, 
your host probably has a different name assigned to it.  Why would it be 
bad to update it?


> IMO it's a security risk though...

What part, and how so?

-- 
Best,
Ben

[1] http://www.techsupportforum.com/networking-forum/networking-support/407794-strange-hostname-private-ip.html

  reply	other threads:[~2010-06-05 18:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <A31BDCF6-D2C6-4674-B4D5-86B60347A0B2@chemistry.ucsc.edu>
2010-06-05 14:24 ` William G. Scott
2010-06-05 15:37   ` Benjamin R. Haskell
2010-06-05 15:45     ` Benjamin R. Haskell
2010-06-05 16:55       ` François Revol
2010-06-05 18:52         ` Benjamin R. Haskell [this message]
2010-06-05 19:46           ` François Revol
2010-06-06 15:34           ` Vincent Lefevre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.01.1006051413110.5029@hp.internal \
    --to=zsh@benizi.com \
    --cc=revol@free.fr \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).