RE: Parts of firewall disappearing under load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



FYI, please don't cc me use the list. 

> -----Original Message-----
> From: netfilter-owner@xxxxxxxxxxxxxxx 
> [mailto:netfilter-owner@xxxxxxxxxxxxxxx] On Behalf Of Thomas Jacob
> Sent: Tuesday, June 02, 2009 11:44
> To: Chris
> Cc: netfilter@xxxxxxxxxxxxxxx; Jason Pyeron
> Subject: Re: Parts of firewall disappearing under load
> 
> On Tue, 2009-06-02 at 11:31 -0400, Chris wrote:
> > On Tue, Jun 02, 2009 at 10:10:31AM -0400, Jason Pyeron wrote:
> > > > 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
> > > 
> > > Can you make a test case? Does it happen on more than one machine?
> > 
> > That's the tricky part.  It happens maybe once or twice a 
> month, and 
> > on different machines.  I don't know of a way to reproduce it.  Any 
> > pointers on information that would be useful to gather at 
> the time it 
> > happens would be extremely useful, since at this point it 
> is a mystery 
> > to me.
> 
> If you can actually see that you have a different active 
> rulesets when it "works" than when it doesn't work, then your 
> problem most likely is with the ruleset loading/creation 
> process. I am not aware of any component of netfilter that 
> can change the ruleset by itself without user space 
> interaction. Of course various dynamic memory tables can get 
> exhausted (connection tracking, neighbor caches, routing 
> cache etc), but when this happens you usually get messages in 
> your kernel log that clearly say so.
> 
> How do you manage your ruleset? Check the logs of that solution....
> 

If each machine is rhel/centos it would be managed by the
/etc/sysconfig/iptables file.

Now there are several utilities which may modify it, but all are user run.

/etc/init.d/iptables is how the file is loaded in to memory.

>     Thomas
> 
> --
> To unsubscribe from this list: send the line "unsubscribe 
> netfilter" in the body of a message to 
> majordomo@xxxxxxxxxxxxxxx More majordomo info at  
> http://vger.kernel.org/majordomo-info.html
> 

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.


--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux