From owner-freebsd-questions@FreeBSD.ORG Mon Dec 11 04:40:29 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D912716A4A0 for ; Mon, 11 Dec 2006 04:40:29 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD52443D2D for ; Mon, 11 Dec 2006 04:38:02 +0000 (GMT) (envelope-from chris@monochrome.org) Received: from tripel (tripel [192.168.1.11]) by mail.monochrome.org (8.13.6/8.13.6) with ESMTP id kBB4d9cM085071; Sun, 10 Dec 2006 23:39:10 -0500 (EST) (envelope-from chris@monochrome.org) Date: Sun, 10 Dec 2006 23:38:57 -0500 (EST) From: Chris Hill To: =?UTF-8?Q?=E5=BC=A0=E9=9F=A1=E6=AD=A6?= In-Reply-To: <1165811163.5474.14.camel@joe.realss.com> Message-ID: <20061210233158.K28255@tripel.monochrome.org> References: <1165811163.5474.14.camel@joe.realss.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-822175709-1165811937=:28255" Cc: freebsd-questions@freebsd.org Subject: Re: network analyse tool? To debug IMAP related problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Dec 2006 04:40:29 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-822175709-1165811937=:28255 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 11 Dec 2006, =E5=BC=A0=E9~_=A1=E6=AD=A6 wrote: > Hello. I would wish to have a tool that would do this kind of thing: > > 1. listen on imap port on localhost, connect to localhost with my > email client; > 2. forward the traffic from/to/between real imap server; > 3. meanwhile, print everything being transfer-ed, so that I can > have a good ovewview of server-client conversation; > > I don't know what such kind of tool is usually called and thus=20 > difficult to do an effective google search. I tried a few tools in=20 > ports/net but none of them seems to be working in this way... (admit=20 > that I didn't look into pkg-descr of every package) This sounds like a job for net/wireshark (formerly known as ethereal).=20 It won't forward as you describe, but will sit and monitor what goes=20 over the wire. You can have it only look at traffic to/from certain IP=20 addresses, and/or on certain ports; it's very flexible. You could run it=20 on any machine that the IMAP traffic passes through - your local=20 desktop, the server, any machine (gateway?) in between. HTH. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] --0-822175709-1165811937=:28255--