ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] SMTP+sniffer
@ 2003-05-06  5:26 Прокопьев Евгений
  2003-05-06  5:37 ` Mike Lykov
  2003-05-06  6:01 ` BSW
  0 siblings, 2 replies; 10+ messages in thread
From: Прокопьев Евгений @ 2003-05-06  5:26 UTC (permalink / raw)
  To: community

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

Как получить команды обмена почтового клиента с SMTP-сервером

Пишу так:

tcpdump -n -i ppp0 'src or dst port 25' > log

и получаю

strings log
09:20:15.796397 195.161.172.86.1046 > 80.80.122.40.smtp: S 
69992911:69992911(0) win 8192 <mss 1412> (DF)
09:20:15.796530 80.80.122.40.smtp > 195.161.172.86.1046: S 
2291810615:2291810615(0) ack 69992912 win 5808 <mss 1452> (DF)
09:20:15.817477 195.161.172.86.1046 > 80.80.122.40.smtp: . ack 1 win 
8472 (DF)
09:20:15.848068 80.80.122.40.smtp > 195.161.172.86.1046: P 1:31(30) ack 
1 win 5808 (DF)
09:20:15.871936 195.161.172.86.1046 > 80.80.122.40.smtp: P 1:22(21) ack
...
...
Требуется что-то более осмысленное типа

  In:  RCPT TO:<info@server.ru>
  Out: 450 <andrey>: Helo command rejected: Host not found

Кроме tcpdump использовать что-то другое нежелательно.

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



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

end of thread, other threads:[~2003-05-06 12:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-06  5:26 [Comm] SMTP+sniffer Прокопьев Евгений
2003-05-06  5:37 ` Mike Lykov
2003-05-06  6:54   ` Прокопьев Евгений
2003-05-06  8:46     ` Dmitry Alexeyev
2003-05-06  6:01 ` BSW
2003-05-06  7:13   ` Прокопьев Евгений
2003-05-06  8:11     ` BSW
2003-05-06  9:41       ` Прокопьев Евгений
2003-05-06 10:08         ` Igor Homyakov
2003-05-06 12:04         ` BSW

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