It has been a while since I used it but from memory I think ngrep does what you want.
Bjorn ----- Original Message ----- From: "Volker Kuhlmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 11, 2002 9:39 PM Subject: capturing net traffic > Gurus, > > how can I capture the data which goes over a net connection and meets a > simple criteria of (remote-ip:port)? > > Yes I know of tcpdump and ethereal, but I don't find either easy to > use, and more to the point, both produce copious amounts of tcp data > (SYN bits, mac addresses, tcp-ack packets, etc bla bla) which I don't > want to know of. > > Say I want to have the data (data only) which goes between my host and a > remote:21 (i.e. ftp control channel) dumped into a file. Or, right now > I'd like to see what the exchange between fetchmail and the pop3 server > is, to find out precisely what kind of header mangling fetchmail > performs on an email before delivering it locally. > > Does anyone know of a simple way to achieve this? Or any way at all? > > Thanks, > > Volker > > -- > Volker Kuhlmann, list0570 at paradise dot net dot nz > http://volker.orcon.net.nz/ Please do not CC list postings to me. >
