ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] ping и права доступа
@ 2006-11-20 11:16 Eugene Prokopiev
  2006-11-20 11:44 ` Alexander Volkov
  2006-11-20 11:44 ` Eugene Prokopiev
  0 siblings, 2 replies; 3+ messages in thread
From: Eugene Prokopiev @ 2006-11-20 11:16 UTC (permalink / raw)
  To: Community

Здравствуйте!

В java имеется метод InetAddress.isReachable(), в документации на 
который написано следующее:

Test whether that address is reachable. Best effort is made by the 
implementation to try to reach the host, but firewalls and server 
configuration may block requests resulting in a unreachable status while 
some specific ports may be accessible. A typical implementation will use 
ICMP ECHO REQUESTs if the privilege can be obtained, otherwise it will 
try to establish a TCP connection on port 7 (Echo) of the destination host.

В tcpdump я вижу, что используется именно второй метод, соответственно 
напрашивается вывод, что прав на ICMP ECHO REQUEST у приложения нет. 
Утилита ping работает, но вспоминаю, что работает она в чруте, поэтому 
подозрение на недостаточные права подкрепляются ...

В правах ли дело? И если да, как и кому эти права дать?

-- 
С уважением, Прокопьев Евгений



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-11-20 11:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-20 11:16 [Comm] ping и права доступа Eugene Prokopiev
2006-11-20 11:44 ` Alexander Volkov
2006-11-20 11:44 ` Eugene Prokopiev

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git