Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Internet providers' IP range (xinetd.conf)
Date: Wed, 02 Sep 2009 15:51:22
Message-Id: h7mmbf$m12$1@ger.gmane.org
In Reply to: [gentoo-user] Internet providers' IP range (xinetd.conf) by Helmut Jarausch
1 On 09/02/2009 07:11 AM, Helmut Jarausch wrote:
2 > Hi,
3 >
4 > I'd like to allow remote access (via ssh only) to a given machine.
5 > Unfortunately, my remote IP is dynamic and reverse lookup
6 > (e.g. specifying only_from = .skynet.be in /etc/xinetd.conf) doesn't work.
7 > So, I have to find out which IP ranges are used by a given
8 > internet provider (e.g. skynet.be).
9 >
10 > Does anybody know how to find out?
11
12 Here's a quick and dirty trick:
13
14 $host skynet.be
15 skynet.be has address 195.238.10.70
16
17 $whois -H 195.238.10.70
18 <snip>
19 % Information related to '195.238.0.0 - 195.238.31.255'
20 inetnum: 195.238.0.0 - 195.238.31.255
21 netname: SKYNET-B
22 descr: Belgacom SA/NV
23 descr: Internet access provider
24
25 As Paul said, though, asking them is more accurate.

Replies

Subject Author
Re: [gentoo-user] Re: Internet providers' IP range (xinetd.conf) Mick <michaelkintzios@×××××.com>