All of lore.kernel.org
 help / color / mirror / Atom feed
* Connections
@ 2005-08-24 14:54 Lyubomir Louisov
  2005-08-24 15:07 ` Connections Raphael Jacquot
  2005-08-24 17:48 ` Connections Daniel Lopes
  0 siblings, 2 replies; 5+ messages in thread
From: Lyubomir Louisov @ 2005-08-24 14:54 UTC (permalink / raw)
  To: netfilter

Hi.
My torrent client is using too much connections at the same time and thats
why i cant browse the net.
My question is how can i limit the number of connections with iptables?




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

* Re: Connections
  2005-08-24 14:54 Connections Lyubomir Louisov
@ 2005-08-24 15:07 ` Raphael Jacquot
  2005-08-24 17:48 ` Connections Daniel Lopes
  1 sibling, 0 replies; 5+ messages in thread
From: Raphael Jacquot @ 2005-08-24 15:07 UTC (permalink / raw)
  To: Lyubomir Louisov; +Cc: netfilter

Lyubomir Louisov wrote:
> Hi.
> My torrent client is using too much connections at the same time and thats
> why i cant browse the net.
> My question is how can i limit the number of connections with iptables?
> 
> 

You'd better use a QOS solution, to reduce the priority of the torrent 
data compared to the other stuff data


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

* RE: Connections
@ 2005-08-24 15:27 Baake, Matthias
  0 siblings, 0 replies; 5+ messages in thread
From: Baake, Matthias @ 2005-08-24 15:27 UTC (permalink / raw)
  To: Raphael Jacquot; +Cc: Netfilter (E-Mail)

Hi.

maybe he has not a problem with his bandwidth, but a problem with his router
that cannot handle those connections. if you are using a linux box as router/gw 
check the logs for something with conntrack table full. if this is the case your 
machine is not able to accept new connections afaik.

a possible solution can be to increase your ip_conntrack_max in /proc/sys/net/ipv4 
e.g. "echo "2048" >/proc/sys/net/ipv4/ip_conntrack_max

or you get patch o matic and look for the connlimit patch.

the last solution would be find the p2p guy and cut off his network cable ;)

greetings

matthias

> -----Original Message-----
> From: netfilter-bounces@lists.netfilter.org 
> [mailto:netfilter-bounces@lists.netfilter.org]On Behalf Of 
> Raphael Jacquot
> Sent: Wednesday, August 24, 2005 5:08 PM
> To: Lyubomir Louisov
> Cc: netfilter@lists.netfilter.org
> Subject: Re: Connections
> 
> 
> Lyubomir Louisov wrote:
> > Hi.
> > My torrent client is using too much connections at the same 
> time and thats
> > why i cant browse the net.
> > My question is how can i limit the number of connections 
> with iptables?
> > 
> > 
> 
> You'd better use a QOS solution, to reduce the priority of 
> the torrent 
> data compared to the other stuff data
> 
> 


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

* Re: Connections
  2005-08-24 14:54 Connections Lyubomir Louisov
  2005-08-24 15:07 ` Connections Raphael Jacquot
@ 2005-08-24 17:48 ` Daniel Lopes
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel Lopes @ 2005-08-24 17:48 UTC (permalink / raw)
  To: netfilter

Lyubomir Louisov schrieb:
> Hi.
> My torrent client is using too much connections at the same time and thats
> why i cant browse the net.
> My question is how can i limit the number of connections with iptables?
> 
> 
> 
> 
Why not tune the client with his build in functions?! Would be the 
easier solution.


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

* Re: Connections
@ 2005-08-25  6:45 Lyubomir Louisov
  0 siblings, 0 replies; 5+ messages in thread
From: Lyubomir Louisov @ 2005-08-25  6:45 UTC (permalink / raw)
  To: netfilter

Yes it would be eaier to tune the client but then it starts download with a
much slower speed.
And i want to limit the connections because i have connection limit by the
ISP and i full it wen i use the torrent.
Then nobody can use the net.



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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-24 14:54 Connections Lyubomir Louisov
2005-08-24 15:07 ` Connections Raphael Jacquot
2005-08-24 17:48 ` Connections Daniel Lopes
  -- strict thread matches above, loose matches on Subject: below --
2005-08-24 15:27 Connections Baake, Matthias
2005-08-25  6:45 Connections Lyubomir Louisov

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.