From: xa <xmaillist@skynet.be>
To: Kamen TOMOV <kamen@cybuild.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: connlimit against flashget
Date: Sun, 30 Jan 2005 15:32:09 -0100 [thread overview]
Message-ID: <41FD0C09.5080109@skynet.be> (raw)
In-Reply-To: <87vf9fz31o.fsf@c3po.zlatenlist.net>
Hi,
I just quickly take a look at Apache (you didn't say what program you
use, but on linux port 80, i'v think it could be apache) documentation
and, as i think, it doesn't seem that there is any options to limit
number of connections from the same IP address... (if i'm wrong, tell me
please)
FTP server generally have this option...
If it's good idea ? it could be.
Could you inform me if it's bad or if you find better.
(Sorry for english)
Thanks,
xa
Kamen TOMOV wrote:
> Hi,
>
> I am running a small LAN and my Internet provider has limited the
> number of my outgoing web connections. My clients use programs like
> Flashget that spawn multiple connections to the server when
> downloading big files from web sites and it is very likely that the
> limit will be reached.
>
> That is why I would like to ask you if it is a good idea to use the
> connlimit match with iptables to restrict the number of parallel TCP
> connections to a server per client IP address.
>
> I plan to do something like that:
>
> iptables -p tcp --syn --dport 80 --dst www.warez.net -m connlimit \
> --connlimit-above 2 -j REJECT
>
> If you think that it is not a good idea could you please recommend a
> solution? Changing the provider is not an option :-)
>
> Thanks in advance,
next prev parent reply other threads:[~2005-01-30 16:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-30 9:20 connlimit against flashget Kamen TOMOV
2005-01-30 16:32 ` xa [this message]
2005-01-30 16:54 ` Kamen TOMOV
2005-01-31 16:08 ` Jason Opperisano
2005-01-31 23:31 ` Jason Opperisano
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=41FD0C09.5080109@skynet.be \
--to=xmaillist@skynet.be \
--cc=kamen@cybuild.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.