From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: More neqbie questions
Date: Mon, 2 Aug 2004 21:08:50 +0100 [thread overview]
Message-ID: <200408022108.50336.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <200408022102.19083.Antony@Soft-Solutions.co.uk>
On Monday 02 August 2004 9:02 pm, Antony Stone wrote:
> On Monday 02 August 2004 8:50 pm, Eric Ellis wrote:
> > Antony Stone wrote:
> > > My recommendation is to put a LOG rule at the end of each chain, just
> > > before the default DROP policy takes effect, and you'll see what
> > > packets are getting that far and then being lost.
> >
> > Now here's something interesting that I discovered when you mentioned
> > it...
> >
> > It appears that all of my HTTP packets are making it through the chains
> > without being picked up by my redirect rule. The same appears to be
> > happening with mail. I put the LOG at the end of the 3 filter tables,
> > In, Out, and FWD, so assuming that it's line by line filtering (eg, runs
> > until a rule catches it), my packet is making it throught the chains
> > without being caught. Any suggesstions on what could cause that?
>
> Yes. You have no FORWARD rule allowing packets to TCP port 80 (well, you
> do, but it's commented out...).
Sorry, scrub that - you're right about the REDIRECT rule. However, I don't
see an INPUT rule allowing packets in to Squid on port 8080.
You also seem to have two OUTPUT rules allowing TCP packets to port 80 - why?
How about showing us the output of "iptables -L -nvx; iptables -L -t nat -nvx"
so we can see the rules in the right order?
Regards,
Antony.
--
Success is a lousy teacher. It seduces smart people into thinking they can't
lose.
- William H Gates III
Please reply to the list;
please don't CC me.
next prev parent reply other threads:[~2004-08-02 20:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-02 17:46 More neqbie questions Eric Ellis
2004-08-02 19:03 ` Antony Stone
2004-08-02 19:50 ` Eric Ellis
2004-08-02 20:02 ` Antony Stone
2004-08-02 20:08 ` Antony Stone [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-08-02 18:16 Jason Opperisano
2004-08-02 20:09 Jason Opperisano
2004-08-02 23:57 Jason Opperisano
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=200408022108.50336.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