ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] Найти процесс по информации из tcpdump
@ 2007-03-16 13:08 Eugene Prokopiev
  2007-03-30  6:01 ` Vladimir V. Kamarzin
  0 siblings, 1 reply; 2+ messages in thread
From: Eugene Prokopiev @ 2007-03-16 13:08 UTC (permalink / raw)
  To: Sysadmins

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

На машине 192.168.100.1 в tcpdump вижу следующее:

# tcpdump -n -i any 'src or dst 62.17.125.102'
tcpdump: WARNING: Promiscuous mode not supported on the "any" device
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 96 bytes

15:54:28.961575 IP 62.17.125.102.62951 > 192.168.100.1.1745: S 
3969885769:3969885769(0) win 65535 <mss 1440,nop,nop,sackOK>
15:54:28.961653 IP 192.168.100.1.1745 > 62.17.125.102.62951: R 0:0(0) 
ack 3969885770 win 0
15:54:29.413286 IP 62.17.125.102.62962 > 192.168.100.1.1745: S 
3969885769:3969885769(0) win 65535 <mss 1440,nop,nop,sackOK>
15:54:29.413363 IP 192.168.100.1.1745 > 62.17.125.102.62962: R 0:0(0) 
ack 3969885770 win 0
15:54:29.916288 IP 62.17.125.102.62953 > 192.168.100.1.1745: S 
3969885769:3969885769(0) win 65535 <mss 1440,nop,nop,sackOK>
15:54:29.916367 IP 192.168.100.1.1745 > 62.17.125.102.62953: R 0:0(0) 
ack 3969885770 win 0

Пытаюсь найти процесс, использующий порт 1745, с помощью lsof -i 
tcp:1745, но ничего не нахожу. Похоже, что этот порт используется не 
постоянно, а открывается на время. И все-таки, как найти процесс, 
использующий это порт?

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


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

* Re: [Sysadmins] Найти процесс по информации из tcpdump
  2007-03-16 13:08 [Sysadmins] Найти процесс по информации из tcpdump Eugene Prokopiev
@ 2007-03-30  6:01 ` Vladimir V. Kamarzin
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir V. Kamarzin @ 2007-03-30  6:01 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

>>>>> On 16 Mar 2007 at 18:08 "EP" == Eugene Prokopiev writes:

 EP> Пытаюсь найти процесс, использующий порт 1745, с помощью lsof -i 
 EP> tcp:1745, но ничего не нахожу. Похоже, что этот порт используется не 
 EP> постоянно, а открывается на время. И все-таки, как найти процесс, 
 EP> использующий это порт?

В общем случае netstat с -p

-- 
vvk

Russian Postfix irc: irc.freenode.net #postfix-ru


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

end of thread, other threads:[~2007-03-30  6:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-16 13:08 [Sysadmins] Найти процесс по информации из tcpdump Eugene Prokopiev
2007-03-30  6:01 ` Vladimir V. Kamarzin

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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