monitor TCP communication
dannycolligan at gmail.com
Sun Jan 7 17:13:50 UTC 2007
> Message: 5
> Date: Sun, 07 Jan 2007 12:05:08 +0100
> From: Jhair Tocancipa Triana <jhair.tocancipa at gmail.com>
> Subject: Re: monitor TCP communication
> To: ubuntu-users at lists.ubuntu.com
> Message-ID: <87ac0vumfv.fsf at mandala.my-fqdn.de>
> Content-Type: text/plain; charset=us-ascii
> Marco Mandl writes:
> > I can't get evolution to work with my IMAP server. I want to see what's
> > actually happening. So I want to monitor / log the detailed traffic on a
> > certain port - some sort of sniffing.
> You can use ngrep. For example the following shows what is
> happening when I read your message headers from my news server. You
> can adjust host and port to match your IMAP host and port to get the
> information you want.
> # ngrep -d any host 220.127.116.11 and port 119
> interface: any
> filter: (ip or ip6) and ( host 18.104.22.168 and port 119 )
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-users