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 1Mis7F-0002Xd-FU for garchives@archives.gentoo.org; Wed, 02 Sep 2009 15:51:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E6FBE080A; Wed, 2 Sep 2009 21:00:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0DB50E080A for ; Wed, 2 Sep 2009 21:00:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id B341F67095 for ; Wed, 2 Sep 2009 21:00:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.483 X-Spam-Level: X-Spam-Status: No, score=-3.483 required=5.5 tests=[AWL=-0.884, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eT9ClPystmCY for ; Wed, 2 Sep 2009 20:59:54 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 26A706702B for ; Wed, 2 Sep 2009 20:59:53 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1Miwvi-0005jB-Uv for gentoo-user@gentoo.org; Wed, 02 Sep 2009 22:59:46 +0200 Received: from adsl-69-234-190-234.dsl.irvnca.pacbell.net ([69.234.190.234]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Sep 2009 22:59:46 +0200 Received: from w41ter by adsl-69-234-190-234.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Sep 2009 22:59:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: Internet providers' IP range (xinetd.conf) Date: Wed, 02 Sep 2009 14:01:14 -0700 Message-ID: References: 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; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-190-234.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090902 Shredder/3.0b4pre In-Reply-To: Sender: news X-Archives-Salt: bd6affda-1770-46bc-8e4c-1064610273df X-Archives-Hash: 753e84aa359a936a51be8be405639996 On 09/02/2009 07: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? Here's a quick and dirty trick: $host skynet.be skynet.be has address 195.238.10.70 $whois -H 195.238.10.70 % Information related to '195.238.0.0 - 195.238.31.255' inetnum: 195.238.0.0 - 195.238.31.255 netname: SKYNET-B descr: Belgacom SA/NV descr: Internet access provider As Paul said, though, asking them is more accurate.