Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Chris <chris@deksai.com>
To: netfilter@vger.kernel.org
Subject: Parts of firewall disappearing under load
Date: Tue, 2 Jun 2009 09:52:00 -0400	[thread overview]
Message-ID: <20090602135200.GA3494@chris-laptop.a2hosting.com> (raw)

We've got quite a few heavily loaded boxes (ISP shared servers) which
have firewalls enabled.  The firewalls basically allow certain ports,
block some naughty IPs, and use limit and recent to keep some services
under control.

What we've noticed is that on rare occasions, a box will
firewall itself off from the world.  After a few times of this happening
we found that we could sometimes ssh in from certain IPs, but not
others.  That made me curious, so I did a diff of iptables-save output
with a known good state, and sure enough, the two weren't the same.
Much of the firewall was just missing.  I'm not sure if the firewall
rules it output were actually being used or not.

My only guess is that we are being hit particularly hard that day, and
perhaps a table of IPs is getting too large.

Has anyone seen this before?  There isn't anything in the logs to give
me a clue.  If anyone has pointers on how to further debug this, I would
really appreciate it.  

We are using CentOS, with kernels which at this time are
2.6.18-128.1.10.el5.  If I need to be asking on a CentOS or Redhat
specific list, please let me know.

Thanks,
Chris

             reply	other threads:[~2009-06-02 13:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-02 13:52 Chris [this message]
2009-06-02 14:10 ` Parts of firewall disappearing under load Jason Pyeron
2009-06-02 15:31   ` Chris
2009-06-02 15:43     ` Thomas Jacob
2009-06-02 18:12       ` Jason Pyeron
2009-06-02 19:39       ` Chris

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=20090602135200.GA3494@chris-laptop.a2hosting.com \
    --to=chris@deksai.com \
    --cc=netfilter@vger.kernel.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