All of lore.kernel.org
 help / color / mirror / Atom feed
From: "me" <todh@todhackett.com>
To: netfilter@vger.kernel.org
Subject: connlimit troubles and questions
Date: Wed, 19 Sep 2012 12:16:04 -0700	[thread overview]
Message-ID: <20120919185526.M10579@todhackett.com> (raw)

Hi all

Curious about this, but first:

iptables v1.4.15
linux 2.6.30.10-105.2.23 ( fc11 )

I have: 
-A FORWARD -p tcp --syn --dport 4800 -m connlimit --connlimit-above 1 -j LOG 
-A FORWARD -p tcp --syn --dport 4800 -m connlimit --connlimit-above 1 -j REJECT
--reject-with tcp-reset

I see some connections limited, but not all.  I can look at the end point application to
view the inbound connections.

The end point application - users first connect on tcp port 4800, of which the
application then gives out an udp port number for data.

I haven't been able to find out how long those first tcp connections stay around. Are
they timing out, hence the second connection, or is the udp stuff what is causing me
grief?  

If they are timing out, how can I keep limiting connections?  

I have a range of udp ports that are given out, can I use those somehow?

Thanks!

todh

--
Todd Hackett             Chief Bottle Washer
PoBox 1168
Libby, MT 59923
406.293.3843


             reply	other threads:[~2012-09-19 19:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-19 19:16 me [this message]
2012-09-19 19:53 ` connlimit troubles and questions Andrew Beverley
2012-09-19 20:00   ` Andrew Beverley

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=20120919185526.M10579@todhackett.com \
    --to=todh@todhackett.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 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.