From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: netfilter machine in between 2 servers
Date: Sun, 14 Mar 2004 18:41:04 +0000 [thread overview]
Message-ID: <200403141841.04635.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <20040314182723.32260.qmail@web60004.mail.yahoo.com>
On Sunday 14 March 2004 6:27 pm, Sandy C wrote:
> Hi Antony,
> Great explanation. It seems like what you're saying is *if * I did want
> to keep track of whatever's going on (i.e. LOG http packets) using
> iptables I would need to make sure the client and server are part of 2
> different nets, correct? So...the 3rd machine would neet to route and
> filter.
Correct.
> Otherwise how hard would it be to go into the code and make iptables
> recognize broadcast packets ala ethereal?
If by "broadcast" you mean "packets sent to an IP subnet broadcast address"
the netfilter will do that already.
However, I don't think you do mean that, I think you mean "packets which
happen to come out of all sockets on a hub", and the answer is "very
difficult" because netfilter is plugged into the routing mechanism, and the
routing mechanism just doesn't see packets which aren't addressed to the
machine, either as an endpoint or as a router.
Besides, why do you want netfilter to do your logging, if you can run
ethereal? You get a lot more information out of ethereal, and it can show
you the protocols in a much more meaningful manner.
Regards,
Antony.
--
If builders made buildings the way programmers write programs, then the first
woodpecker to come along would destroy civilisation.
Please reply to the list;
please don't CC me.
next prev parent reply other threads:[~2004-03-14 18:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-14 9:28 netfilter machine in between 2 servers Sandy C
2004-03-14 9:44 ` Antony Stone
2004-03-14 18:27 ` Sandy C
2004-03-14 18:41 ` Antony Stone [this message]
2004-03-14 19:47 ` Sandy C
2004-03-14 19:57 ` Antony Stone
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=200403141841.04635.Antony@Soft-Solutions.co.uk \
--to=antony@soft-solutions.co.uk \
--cc=netfilter@lists.netfilter.org \
/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