All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Opperisano <opie@817west.com>
To: netfilter@lists.netfilter.org
Subject: Re: No internet connection
Date: Thu, 09 Sep 2004 10:15:51 -0400	[thread overview]
Message-ID: <1094739351.2044.35.camel@wolfpack.ljm.dom> (raw)
In-Reply-To: <20040909140459.92337.qmail@web50209.mail.yahoo.com>

On Thu, 2004-09-09 at 10:04, Giancarlo Boaron wrote:
> Hello.
> I'm testing a new iptables script on my server box but
> after some minuts that this script is running, the
> clients in my LAN have no access to Internet.
> I'm using SQUID for proxing and caching.
> 
> I think I'm not being very restrictive for my IPTABLES
> rules because my clients still have Internet access
> after about 20 minuts when the script is running.
> 
> What can be wrong? Does my kernel have some limit
> about connections? 

of course it does.  i doubt it's the cause of your problem, but if
you're curious:
        grep ip_conntrack /var/log/messages
        
should show you something like:
        ip_conntrack version 2.1 (6142 buckets, 49136 max) - 360 bytes
        per conntrack
        
the number before max (49,136 in this case) is the max number of
conntrack entries for the machine.
        
> Does it hava someting to do with
> the CONTRACK?

i doubt it.  but posting your rules might help:

  iptables -vnL -t mangle && iptables -vnL -t nat && iptables -vnL

i've been batting about zero with my stabs in the dark here
recently--but here goes...

is it possible that you get your external IP via DHCP; and that you're
blocking the DHCP packets between your firewall and the ISP's DHCP
server.  so you get an IP, start up your firewall, and at the first
semaphore period, and either the DHCP server or client decides the other
is no longer there, and your IP gets released?

-j

-- 
Jason Opperisano <opie@817west.com>



  reply	other threads:[~2004-09-09 14:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-09 14:04 No internet connection Giancarlo Boaron
2004-09-09 14:15 ` Jason Opperisano [this message]
2004-09-09 16:02   ` Nick Drage
  -- strict thread matches above, loose matches on Subject: below --
2004-09-09 14:06 Piszcz, Justin Michael
     [not found] <20040909144044.27300.qmail@web50208.mail.yahoo.com>
2004-09-09 15:02 ` Jason Opperisano
2004-09-09 16:00   ` Nick Drage
2004-09-09 16:25     ` Jason Opperisano
2004-09-09 17:00     ` Aleksandar Milivojevic
2004-09-10 14:49 No Internet Connection Giancarlo Boaron
2004-09-10 15:33 ` Jason Opperisano
2004-09-10 16:41 ` Aleksandar Milivojevic
2004-09-10 16:56   ` Jason Opperisano
2004-09-10 17:24     ` Aleksandar Milivojevic
2004-09-10 17:28     ` Giancarlo Boaron

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=1094739351.2044.35.camel@wolfpack.ljm.dom \
    --to=opie@817west.com \
    --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 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.