ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: ALT Linux Community <community@altlinux.ru>
Subject: [Comm] Мусор в tcpdump
Date: Mon, 31 Oct 2005 21:50:53 +0300
Message-ID: <4366678D.4050209@stc.donpac.ru> (raw)

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

# tcpdump -i lo -s 10000 -n -w mta.log 'src or dst port 25'
tcpdump: listening on lo, link-type EN10MB (Ethernet), capture size 
10000 bytes
22 packets captured
66 packets received by filter
0 packets dropped by kernel

# strings mta.log
TbfC
TbfC
TbfC
TbfC
220 myserver.myprovider.ru ESMTP Postfix
TbfC;t
TbfC,V
EHLO [127.0.0.1]
TbfCMV
TbfC
250-myserver.myprovider.ru
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-STARTTLS
250 8BITMIME
TbfC#W
TbfCvg
MAIL FROM:<john@myserver.myprovider.ru> SIZE=376
TbfCu
250 Ok
TbfCW"
RCPT TO:<john@myserver.myprovider.ru>
TbfC#O
250 Ok
TbfC
DATA
TbfC
354 End data with <CR><LF>.<CR><LF>
TbfC[c
Message-ID: <43666254.5060501@myserver.myprovider.ru>
Date: Mon, 31 Oct 2005 21:28:36 +0300
From: John <john@myserver.myprovider.ru>
User-Agent: Mozilla Thunderbird 0.6 (X11/20040511)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To:  john@myserver.myprovider.ru
Subject: 1
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
TbfCd{
250 Ok: queued as 94DFC17717
TbfC
QUIT
TbfCH
221 Bye
TbfC
TbfC
TbfC

Откуда берутся всякие TbfC и т.д.? Можно ли получить от tcpdump более 
чистый протокол обмена, можно ли отличить строки посланные клиентом и 
ответы сервера? Можно ли гарантировать правильную последовательность 
запросов и ответов? Не могу показать сейчас, но наблюдал ответы раньше 
запросов.

Если всего этого от tcpdump добиться нельзя, то какой из открытых 
инструментов может выдать требуемый протокол обмена в текстовом виде?

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


             reply	other threads:[~2005-10-31 18:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-31 18:50 Eugene Prokopiev [this message]
2005-10-31 21:14 ` Pavlov Konstantin
2005-11-01  7:26 ` Alexey I. Froloff

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=4366678D.4050209@stc.donpac.ru \
    --to=prokopiev@stc.donpac.ru \
    --cc=community@altlinux.ru \
    --cc=community@lists.altlinux.org \
    /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