svn commit: r361143 - head/release/tools

Ravi Pokala rpokala at freebsd.org
Mon May 18 03:10:04 UTC 2020


-----Original Message-----
From: <owner-src-committers at freebsd.org> on behalf of Colin Percival <cperciva at freebsd.org>
Date: 2020-05-17, Sunday at 18:30
To: Oliver Pinter <oliver.pntr at gmail.com>
Cc: "src-committers at freebsd.org" <src-committers at freebsd.org>, "svn-src-all at freebsd.org" <svn-src-all at freebsd.org>, "svn-src-head at freebsd.org" <svn-src-head at freebsd.org>
Subject: Re: svn commit: r361143 - head/release/tools

> On 2020-05-17 16:48, Oliver Pinter wrote:
>> On Sunday, May 17, 2020, Colin Percival <cperciva at freebsd.org
>> <mailto:cperciva at freebsd.org>> wrote:
>>     +REGION=`fetch -qo-
>>     http://169.254.169.254/latest/meta-data/placement/availability-zone
>>     <http://169.254.169.254/latest/meta-data/placement/availability-zone> |
>>     sed -e 's/[a-z]$//'`
>> 
>> What will be this hard-coded ip address without any verification or at least
>> https?
> 
> That's a magic IP address which connects to the EC2 "instance metadata
> service".  It doesn't actually go out over the network.

A comment would be appreciated, e.g. "Amazon uses this link-local address for the EC2 instance metadata service"

Thanks,

Ravi (rpokala@)

> -- 
> Colin Percival
> Security Officer Emeritus, FreeBSD | The power to serve
> Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid




More information about the svn-src-head mailing list