Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Aldo S. Lagana" <alagana@discmail.com>
To: 'Patrick Ahler' <patrick@vikus.com>,
	'netfilter EMAIL' <netfilter@lists.netfilter.org>
Subject: RE: sniffing the forwarded packets
Date: Mon, 10 Mar 2003 17:13:49 -0500	[thread overview]
Message-ID: <007401c2e752$53e02c10$3864a8c0@discmail.com> (raw)
In-Reply-To: <ABEKJILKOKKGGDJKHKDFMECCCAAA.patrick@vikus.com>

'sniffing' usually refers to listening on a specific interface - that's
why the tools you tried, do that.

I have found that by first declaring what I am looking for, I can
usually get a good idea of it by tcpdump, etc.  In other words - if I
want to know who from my LAN 192.168.0.* is going where, I look at the
internal interface and grep for port 80:
tcpdump -i eth0 port 80

If I need to know why an IPSec tunnel isn't coming up, I look at the
external interface and grep for those packets:
tcpdump -i eth2 port 500

I used to use ksnuffle to dump all the daily packets on the inside LAN
going to 80 to a file and then did some grepping through for a report of
internet usage; now I redirect port 80 to squid and use squid data files
for my reports

aldo

> -----Original Message-----
> From: netfilter-admin@lists.netfilter.org 
> [mailto:netfilter-admin@lists.netfilter.org] On Behalf Of 
> Patrick Ahler
> Sent: Monday, March 10, 2003 4:05 PM
> To: netfilter EMAIL
> Subject: sniffing the forwarded packets
> 
> 
> What can I use to view the packets passing through my 
> router/firewall? I've tried tethereal but that only seems to 
> be able to capture on the specific devices (eth1 or eth2) not 
> the packets being forwarded, can anyone help?
> 
> 



  reply	other threads:[~2003-03-10 22:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-10 21:05 sniffing the forwarded packets Patrick Ahler
2003-03-10 22:13 ` Aldo S. Lagana [this message]
2003-03-10 22:49 ` Athan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='007401c2e752$53e02c10$3864a8c0@discmail.com' \
    --to=alagana@discmail.com \
    --cc=netfilter@lists.netfilter.org \
    --cc=patrick@vikus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox