All of lore.kernel.org
 help / color / mirror / Atom feed
* IP Tables slows network response times
@ 2005-08-14  9:33 Michael Hallager
  2005-08-14  9:49 ` Eric Leblond
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Michael Hallager @ 2005-08-14  9:33 UTC (permalink / raw)
  To: netfilter

Hello all.

I have spent rather a lot of time trying to find an answer for this one.

I have a Slackware Linux box, 2.4.29 kernel running IP Tables. I have the bare 
number of needed modules compiled into the custom kernel.

I start IP Tables using the following batch file:

iptables -P INPUT DROP
iptables -A INPUT -p tcp --destination-port 22 -j ACCEPT
iptables -A INPUT -p tcp --destination-port 25 -j ACCEPT
iptables -A INPUT -p tcp --destination-port 53 -j ACCEPT
iptables -A INPUT -p udp --destination-port 53 -j ACCEPT
iptables -A INPUT -p tcp --destination-port 80 -j ACCEPT
iptables -A INPUT -p tcp --destination-port 110 -j ACCEPT
iptables -A INPUT -p tcp --destination-port 443 -j ACCEPT

This works except it makes webpages and email served from this box SLOW to 
respond. (Several seconds).

Any ideas please? Questions welcomed.

Michael Hallager
networkStuff ltd
www.networkstuff.co.nz | p.09.839.1000 | m.029.638.7883


^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: IP Tables slows network response times
@ 2005-08-14 17:39 Gary W. Smith
  2005-08-14 18:00 ` Nikolai Geogriev
  0 siblings, 1 reply; 7+ messages in thread
From: Gary W. Smith @ 2005-08-14 17:39 UTC (permalink / raw)
  To: michael, Eric Leblond, netfilter

Something like the following (off the top of my head, so syntax may not
be exact)

iptables -I INPUT -o lo -j ACCEPT
iptables -I FORWARD -o lo -j ACCEPT
iptables -I OUTPUT -o lo -j ACCEPT

Basically, tell the server to allow anything originating from loopback

> -----Original Message-----
> From: netfilter-bounces@lists.netfilter.org [mailto:netfilter-
> bounces@lists.netfilter.org] On Behalf Of Michael Hallager
> Sent: Sunday, August 14, 2005 2:55 AM
> To: Eric Leblond; netfilter@lists.netfilter.org
> Subject: Re: IP Tables slows network response times
> 
> Hi Eric.
> > More over, add a rule to accept loopback traffic on INPUT, blocked
> > loopback traffic could explain problem you have.
> 
> Could you please provide a sample of this rule?
> --
> Michael Hallager
> networkStuff ltd
> www.networkstuff.co.nz | p.09.839.1000 | m.029.638.7883



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-08-15  6:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-14  9:33 IP Tables slows network response times Michael Hallager
2005-08-14  9:49 ` Eric Leblond
2005-08-14  9:54   ` Michael Hallager
2005-08-15  5:42 ` Grant Taylor
2005-08-15  6:14 ` Jan Engelhardt
  -- strict thread matches above, loose matches on Subject: below --
2005-08-14 17:39 Gary W. Smith
2005-08-14 18:00 ` Nikolai Geogriev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.