<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Message: 5<br>Date: Sun, 07 Jan 2007 12:05:08 +0100<br>From: Jhair Tocancipa Triana <
<a href="mailto:jhair.tocancipa@gmail.com">jhair.tocancipa@gmail.com</a>><br>Subject: Re: monitor TCP communication<br>To: <a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>Message-ID: <
<a href="mailto:87ac0vumfv.fsf@mandala.my-fqdn.de">87ac0vumfv.fsf@mandala.my-fqdn.de</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>Marco Mandl writes:<br><br>> I can't get evolution to work with my IMAP server. I want to see what's
<br>> actually happening. So I want to monitor / log the detailed traffic on a<br>> certain port - some sort of sniffing.<br><br>You can use ngrep[1]. For example the following shows what is<br>happening when I read your message headers from my news server. You
<br>can adjust host and port to match your IMAP host and port to get the<br>information you want.<br><br># ngrep -d any host <a href="http://80.91.229.5">80.91.229.5</a> and port 119<br>interface: any<br>filter: (ip or ip6) and ( host 
<a href="http://80.91.229.5">80.91.229.5</a> and port 119 )<br>#</blockquote><div><br>As far as sniffing goes, there are two tools that I know of for the job... one is Wireshark and the other is tcpdump.  Wireshark is a GUI and tcpdump is a command line tool.  Look in the repos.  Happy sniffing.
<br><br>Danny Colligan <br></div><br></div><br>