From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MitUz-0006LU-88 for garchives@archives.gentoo.org; Wed, 02 Sep 2009 17:19:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5E9EE0885; Wed, 2 Sep 2009 22:28:36 +0000 (UTC) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by pigeon.gentoo.org (Postfix) with ESMTP id 8C303E0885 for ; Wed, 2 Sep 2009 22:28:36 +0000 (UTC) Received: by bwz27 with SMTP id 27so1230577bwz.34 for ; Wed, 02 Sep 2009 15:28:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=QIcOyzRLt8MkFURyeCTlNUwN8cqAxXQge4ajRzJBIGs=; b=CGery96t7Dt3hR/++GDehnxdXeMPngYAURja925I8obFCuKW2yZ5bsCgqxKeGPRiu7 WJUxHM4jSLYH9mllmiQ6OjbW/F9CBaygfLiouroy6EG9WiP4h/rrunjHXjCqLARzKAUN gHKr3jTefCxcPD4fUyU59ZlCO9AqvYuTEpNcI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=p6/m5PLWs75/2tbX7IXPG5a2Ybv27ZeWpquXCfnJwPPzF+V4ZU0VgfYr1iQoBbnC+0 xBgaqQMxeqss9Apobj02ZM2BQg1Fck9P/uwASWRnqhcpc8PgJDQHQkU9Bw/M0Bivbp9Y UBN7IAzDQadAGa5I1zp5fbqE+Qd7+R/GWNKPo= Received: by 10.102.245.35 with SMTP id s35mr3813051muh.124.1251930515039; Wed, 02 Sep 2009 15:28:35 -0700 (PDT) Received: from nazgul.localnet (196-210-140-68-rrdg-esr-2.dynamic.isadsl.co.za [196.210.140.68]) by mx.google.com with ESMTPS id 7sm305813mup.49.2009.09.02.15.28.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Sep 2009 15:28:34 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Internet providers' IP range (xinetd.conf) Date: Thu, 3 Sep 2009 00:26:54 +0200 User-Agent: KMail/1.12.0 (Linux/2.6.30-gentoo-r4; KDE/4.3.0; x86_64; ; ) References: <58965d8a0909021211p840d219hed5964ee322489f7@mail.gmail.com> In-Reply-To: <58965d8a0909021211p840d219hed5964ee322489f7@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200909030026.54730.alan.mckinnon@gmail.com> X-Archives-Salt: 6e219cf4-3d63-4fbb-b010-582edea2fdc7 X-Archives-Hash: 2212094ce4b2c04e7eab6ee9e8168cf5 On Wednesday 02 September 2009 21:11:20 Paul Hartman wrote: > On Wed, Sep 2, 2009 at 9:11 AM, Helmut Jarausch wrote: > > Hi, > > > > I'd like to allow remote access (via ssh only) to a given machine. > > Unfortunately, my remote IP is dynamic and reverse lookup > > (e.g. specifying only_from = .skynet.be in /etc/xinetd.conf) doesn't > > work. So, I have to find out which IP ranges are used by a given > > internet provider (e.g. skynet.be). > > > > Does anybody know how to find out? > > > > Many thanks for a hint, > > Helmut. > > Easiest way: ask them to tell you the ranges :) Otherwise would be > guessing. You can look at arin (or local equivalent) to see which IP > range(s) they own. But nobody knows for sure other than them. Two solutions: 1. Put your host into dyndns and ssh to that name 2. You can ask peering routers for an ISP's IP range (it's public info and has to be that way). I forget the exact commands, but a mail thread on a different list covered this exact thing a while ago. You'll have to search the Glug-tech mail archives at http://www.linux.org.za/Lists-Archives/ from about 6 to 9 months back. Relevant search terms are "jinx" and "jaco kroon" -- alan dot mckinnon at gmail dot com