También, en los headers de cada mail, viene la IP pública de quien lo
mandó (hasta la local, hehe).
Mira los tuyos, por ejemplo. Seguro encuentras tu IP pública por ahí.
Se puede obtener con un egrep.
Delivered-To:
ren...@woralelandia.com
Received: by 10.64.113.132 with SMTP id iy4csp531629ieb;
Fri, 9 Jan 2015 19:09:28 -0800 (PST)
X-Received: by 10.66.102.106 with SMTP id fn10mr28478285pab.156.1420859367875;
Fri, 09 Jan 2015 19:09:27 -0800 (PST)
Return-Path: <
linuxcabal+bncBD3JRAE...@googlegroups.com>
Received: from
mail-pd0-x237.google.com (
mail-pd0-x237.google.com.
[2607:f8b0:400e:c02::237])
by
mx.google.com with ESMTPS id qd7si15804989pbb.22.2015.01.09.19.09.27
for <
ren...@woralelandia.com>
(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
Fri, 09 Jan 2015 19:09:27 -0800 (PST)
Received-SPF: pass (
google.com: domain of
linuxcabal+bncBD3JRAE...@googlegroups.com
designates 2607:f8b0:400e:c02::237 as permitted sender)
client-ip=2607:f8b0:400e:c02::237;
Authentication-Results:
mx.google.com;
spf=pass (
google.com: domain of
linuxcabal+bncBD3JRAE...@googlegroups.com
designates 2607:f8b0:400e:c02::237 as permitted sender)
smtp.mail=
linuxcabal+bncBD3JRAE...@googlegroups.com;
dkim=pass header.i=@
gmail.com;
dmarc=pass (p=NONE dis=NONE) header.from=
gmail.com
Received: by
mail-pd0-f183.google.com with SMTP id p10sf2446714pdj.0
for <
ren...@woralelandia.com>; Fri, 09 Jan 2015 19:09:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=
googlegroups.com; s=20120806;
h=date:from:to:message-id:subject:mime-version:content-type
:x-original-sender:reply-to:precedence:mailing-list:list-id
:list-post:list-help:list-archive:sender:list-unsubscribe;
bh=uxl5hsEXnfe/Wom06xQ5ed4WClgbQL3sP1WtxUZrZwE=;
b=BI+AZyiqmqKoBIs7oq7gqBB4x4Io4c02SMQO52Q8pHMDpJjiWJtMLgVYxW9ykp39kX
FsttUF1AE4FmaZHCR04qc5fKT3nx+Je5QHsfc18xsa5DhVSMzt1ZXuDFBMt4KrUvDf3r
PH4xOfO+WzWzUT7aGxaLnWj2RVdPN1d1rcXNCc2whyTb/kP/JATV3b1tP6lEdUlvH31D
BRWPzQEfH9ITTlXqdsRY5DimK3OrM9HxqGfCZvjetaTv/W8Sj5yfGeQnS6Byw2jT5FPo
cqdfdCrI9LXyP/VCgv4fryjEM3tuM4rPj2AWdtBb80yjGvahYr+jTTGnd75IPr+HJNTa
GfAw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=
gmail.com; s=20120113;
h=date:from:to:message-id:subject:mime-version:content-type
:x-original-sender:reply-to:precedence:mailing-list:list-id
:list-post:list-help:list-archive:sender:list-unsubscribe;
bh=uxl5hsEXnfe/Wom06xQ5ed4WClgbQL3sP1WtxUZrZwE=;
b=0mKqWTQojV+asvCEFDjdKcKebbDtgJbDK3Dc4RP5yo4vDGa1VCsCzS9CL01uaLvDfk
VDYGtQ1qqp8Y/1JyQvLK57dgkq/cmjIGa/bq3KfAUWKDFwqizFPVPkSrPOZboiqquiu4
LdqzJnGyqBQSETaWwOfwyUeXnz82Cs9ymvolY8TQid9qlgb7PJTPq25rZ8LQ2Vyrh7bc
62JYJxP9u+FX0Zl0d+0XJNCMtjJIL5YrvTubXwNmvZUhZWcjVZ+MvQIVas/6vBc6OWrm
sCpTlpSDspZ3c/pdzqeNTrrS/MRwfIv0r6K7bgiPt0yqfkPsqSEeJUWpM/xBWjBH8GwJ
Dmhw==
X-Received: by 10.182.214.69 with SMTP id ny5mr384obc.24.1420859367456;
Fri, 09 Jan 2015 19:09:27 -0800 (PST)
X-BeenThere:
linux...@googlegroups.com
Received: by 10.182.75.227 with SMTP id f3ls782217obw.4.gmail; Fri, 09 Jan
2015 19:09:27 -0800 (PST)
X-Received: by 10.182.197.129 with SMTP id iu1mr130039obc.13.1420859367055;
Fri, 09 Jan 2015 19:09:27 -0800 (PST)
Date: Fri, 9 Jan 2015 19:09:26 -0800 (PST)
From: Juan Pablo Perez <
juan.pa...@gmail.com>
To:
linux...@googlegroups.com
Message-Id: <
91745bb5-0e8f-4f1d...@googlegroups.com>
Subject: [LinuxCabal] ayuda con script para optener ip publica
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_1692_345781118.1420859366713"
X-Original-Sender:
juan.pa...@gmail.com
Reply-To:
linux...@googlegroups.com
Precedence: list
Mailing-list: list
linux...@googlegroups.com; contact
linuxcab...@googlegroups.com
List-ID: <
linuxcabal.googlegroups.com>
X-Google-Group-Id: 511395263749
List-Post: <
http://groups.google.com/group/linuxcabal/post>,
<mailto:
linux...@googlegroups.com>
List-Help: <
http://groups.google.com/support/>,
<mailto:
linuxca...@googlegroups.com>
List-Archive: <
http://groups.google.com/group/linuxcabal
Sender:
linux...@googlegroups.com
List-Unsubscribe:
<mailto:
googlegroups-manage+51...@googlegroups.com>,
<
http://groups.google.com/group/linuxcabal/subscribe>
------=_Part_1692_345781118.1420859366713
Content-Type: multipart/alternative;
boundary="----=_Part_1693_452501444.1420859366713"
------=_Part_1693_452501444.1420859366713
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable