All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: IP Tables slows network response times
@ 2005-08-14 17:39 Gary W. Smith
  2005-08-14 18:00 ` Nikolai Geogriev
  2005-08-15  8:18 ` Fwd: " Michael Hallager
  0 siblings, 2 replies; 17+ 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] 17+ messages in thread
* Re: Fwd: Re: IP Tables slows network response times
@ 2005-08-15 11:07 Michael Hallager
  0 siblings, 0 replies; 17+ messages in thread
From: Michael Hallager @ 2005-08-15 11:07 UTC (permalink / raw)
  To: netfilter

AS FOLLOWS:

root@202-150-101-225:/home/michael# iptables-save
# Generated by iptables-save v1.3.3 on Mon Aug 15 23:04:03 2005
*mangle
:PREROUTING ACCEPT [23057:1705962]
:INPUT ACCEPT [23057:1705962]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [21647:2926456]
:POSTROUTING ACCEPT [21647:2926456]
COMMIT
# Completed on Mon Aug 15 23:04:03 2005
# Generated by iptables-save v1.3.3 on Mon Aug 15 23:04:03 2005
*filter
:INPUT ACCEPT [11368:866156]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [21603:2922235]
COMMIT
# Completed on Mon Aug 15 23:04:03 2005



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


^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: Fwd: Re: IP Tables slows network response times
@ 2005-08-15 11:32 Michael Hallager
  2005-08-15 11:59 ` Eric Leblond
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Michael Hallager @ 2005-08-15 11:32 UTC (permalink / raw)
  To: netfilter

AS FOLLOWS: (Opps. my mistake!)

root@202-150-101-225:/home/michael# iptables-save
# Generated by iptables-save v1.3.3 on Mon Aug 15 23:29:05 2005
*mangle
:PREROUTING ACCEPT [26426:1982742]
:INPUT ACCEPT [26426:1982742]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [24934:3548792]
:POSTROUTING ACCEPT [24934:3548792]
COMMIT
# Completed on Mon Aug 15 23:29:05 2005
# Generated by iptables-save v1.3.3 on Mon Aug 15 23:29:05 2005
*filter
:INPUT DROP [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [24885:3543903]
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -d 202.150.101.225 -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -d 202.150.101.225 -p tcp -m layer7 --l7proto smtp -m tcp --dport 25 
-j ACCEPT
-A INPUT -d 202.150.101.225 -p tcp -m layer7 --l7proto dns -m tcp --dport 53 
-j ACCEPT
-A INPUT -d 202.150.101.225 -p udp -m layer7 --l7proto dns -m udp --dport 53 
-j ACCEPT
-A INPUT -d 202.150.101.235 -p tcp -m layer7 --l7proto dns -m tcp --dport 53 
-j ACCEPT
-A INPUT -d 202.150.101.235 -p udp -m layer7 --l7proto dns -m udp --dport 53 
-j ACCEPT
-A INPUT -d 202.150.101.225 -p tcp -m layer7 --l7proto http -m tcp --dport 80 
-j ACCEPT
-A INPUT -d 202.150.101.225 -p tcp -m tcp --dport 110 -j ACCEPT
-A INPUT -d 202.150.101.226 -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -d 202.150.101.227 -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -s 129.223.123.249 -d 202.150.101.225 -p tcp -m tcp --dport 9050 -j 
ACCEPT
-A OUTPUT -o lo -j ACCEPT
COMMIT
# Completed on Mon Aug 15 23:29:05 2005
root@202-150-101-225:/home/michael#     



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


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

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

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-14 17:39 IP Tables slows network response times Gary W. Smith
2005-08-14 18:00 ` Nikolai Geogriev
2005-08-15  8:18 ` Fwd: " Michael Hallager
2005-08-15  9:32   ` Jörg Harmuth
2005-08-15  9:45     ` Michael Hallager
2005-08-15  9:59       ` /dev/rob0
2005-08-15 10:10         ` Michael Hallager
2005-08-15  9:46     ` /dev/rob0
2005-08-15 10:05     ` Michael Hallager
2005-08-15 10:53       ` Jörg Harmuth
2005-08-15 11:04         ` Michael Hallager
2005-08-15 11:21       ` /dev/rob0
  -- strict thread matches above, loose matches on Subject: below --
2005-08-15 11:07 Michael Hallager
2005-08-15 11:32 Michael Hallager
2005-08-15 11:59 ` Eric Leblond
2005-08-15 13:13 ` /dev/rob0
2005-08-15 15:35 ` Jörg Harmuth

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.