From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Authentication-Warning: vladregion.ru: vaa set sender to alt@vladregion.ru using -f Date: Mon, 20 Nov 2006 14:44:44 +0300 From: Alexander Volkov To: Community@lists.altlinux.org Message-ID: <20061120114444.GA22283@vladregion.ru> Mail-Followup-To: Community@lists.altlinux.org References: <45618E9F.70508@stc.donpac.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <45618E9F.70508@stc.donpac.ru> User-Agent: Mutt/1.4.2.1i Subject: Re: [Comm] =?koi8-r?b?cGluZyDJINDSwdfBIMTP09TV0ME=?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Nov 2006 11:45:16 -0000 Archived-At: List-Archive: List-Post: On 2006-11-20 14:16:47 +0300, Eugene Prokopiev wrote: EP> Здравствуйте! EP> В java имеется метод InetAddress.isReachable(), в документации на EP> который написано следующее: EP> Test whether that address is reachable. Best effort is made by the EP> implementation to try to reach the host, but firewalls and server EP> configuration may block requests resulting in a unreachable status while EP> some specific ports may be accessible. A typical implementation will use EP> ICMP ECHO REQUESTs if the privilege can be obtained, otherwise it will EP> try to establish a TCP connection on port 7 (Echo) of the destination host. EP> В tcpdump я вижу, что используется именно второй метод, соответственно EP> напрашивается вывод, что прав на ICMP ECHO REQUEST у приложения нет. EP> Утилита ping работает, но вспоминаю, что работает она в чруте, поэтому EP> подозрение на недостаточные права подкрепляются ... EP> В правах ли дело? И если да, как и кому эти права дать? control ping ? -- Regards, Alexander