ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Прокопьев Евгений" <john@rmts.donpac.ru>
To: community@altlinux.ru
Subject: [Comm] SMTP+sniffer
Date: Tue, 06 May 2003 09:26:33 +0400
Message-ID: <3EB74789.8030409@rmts.donpac.ru> (raw)

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

Как получить команды обмена почтового клиента с 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 использовать что-то другое нежелательно.

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



             reply	other threads:[~2003-05-06  5:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-06  5:26 Прокопьев Евгений [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EB74789.8030409@rmts.donpac.ru \
    --to=john@rmts.donpac.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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