ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Мусор в tcpdump
@ 2005-10-31 18:50 Eugene Prokopiev
  2005-10-31 21:14 ` Pavlov Konstantin
  2005-11-01  7:26 ` Alexey I. Froloff
  0 siblings, 2 replies; 3+ messages in thread
From: Eugene Prokopiev @ 2005-10-31 18:50 UTC (permalink / raw)
  To: ALT Linux Community

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

# 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 добиться нельзя, то какой из открытых 
инструментов может выдать требуемый протокол обмена в текстовом виде?

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


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

* Re: [Comm] Мусор в tcpdump
  2005-10-31 18:50 [Comm] Мусор в tcpdump Eugene Prokopiev
@ 2005-10-31 21:14 ` Pavlov Konstantin
  2005-11-01  7:26 ` Alexey I. Froloff
  1 sibling, 0 replies; 3+ messages in thread
From: Pavlov Konstantin @ 2005-10-31 21:14 UTC (permalink / raw)
  To: community

On Mon, 31 Oct 2005 21:50:53 +0300
Eugene Prokopiev wrote:

> Здравствуйте!
> 
> # tcpdump -i lo -s 10000 -n -w mta.log 'src or dst port 25'

Посмотрите в сторону ethereal.

-- 
Best regards,
 Pavlov Konstantin, CPMS Network
 http://network.cpms.ru/
 jid: thresh@altlinux.org


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

* Re: [Comm] Мусор в tcpdump
  2005-10-31 18:50 [Comm] Мусор в tcpdump Eugene Prokopiev
  2005-10-31 21:14 ` Pavlov Konstantin
@ 2005-11-01  7:26 ` Alexey I. Froloff
  1 sibling, 0 replies; 3+ messages in thread
From: Alexey I. Froloff @ 2005-11-01  7:26 UTC (permalink / raw)
  To: ALT Linux Community

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

* Eugene Prokopiev <prokopiev@> [051031 21:57]:
> Если всего этого от tcpdump добиться нельзя, то какой из открытых 
> инструментов может выдать требуемый протокол обмена в текстовом виде?
apt-get install ethereal-gtk+ и открывайте в нём лог, записанный
tcpdump'ом.

-- 
Regards, Sir Raorn.
-------------------
Может, не стоит бросаться сразу делать первое, что пришло в голову?
		-- ldv in devel@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2005-11-01  7:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-31 18:50 [Comm] Мусор в tcpdump Eugene Prokopiev
2005-10-31 21:14 ` Pavlov Konstantin
2005-11-01  7:26 ` Alexey I. Froloff

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