[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: ngrep problem (?)
- To: <maxim(at-nospam)magnifire.com>, <linux-il(at-nospam)linux.org.il>
- Subject: RE: ngrep problem (?)
- From: "Tzahi Fadida" <muaddib(at-nospam)mailandnews.com>
- Date: Sun, 23 Dec 2001 19:02:51 +0200
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Importance: Normal
- In-Reply-To: <200112231229.fBNCTGf21619@genie.magnifire.com>
- Reply-To: <muaddib(at-nospam)mailandnews.com>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
try something like this:
ngrep -d ppp0 port 8080
and RTFM (man ngrep, its very simple actually).
* - * - *
Tzahi Fadida
Tzahi@mailandnews.com
Fax (+1 Outside the US) 240-597-3213
* - * - * - * - * - *
-----Original Message-----
From: linux-il-bounce@cs.huji.ac.il [mailto:linux-il-bounce@cs.huji.ac.il]On Behalf Of Maxim Kryachko
Sent: Sunday, December 23, 2001 2:41 PM
To: linux-il@linux.org.il
Subject: ngrep problem (?)
Hi list.
I try to use ngrep to catch packets sent from me to some host, to port 8080
and redirect them to some file.
ngrep without switches just sends all the contents of all the packets to
stdout, but when I give it "dst port 8080" it just prints as many "#" signs
as number of packets it captures (I guess) and does not show any contents.
man ngrep didn't cleared anything.
Any guesses?
Tnx, Max
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il