Skip to contentSkip to conversation

Limit number of connections

LARTC Mihai Vlad 3 participants 4 messages Sep 22, 2003 – Sep 23, 2003

lore
Share & tools
lore

Mihai Vlad

author
#0 lore raw

Hello again,

I have a router/nat linux box. I managed to create some HTB classes and everything is OK.
When perople are usig download managers like FlashGet and DAP (multiple connection ones), the ceil limiting works okay,
but the rate parameter is somehow useles... The guaranteed bandwidth is never reached.
So what can I do to limit the number of connections/computer? I want to make sure that they do not use more than one connection for the download manager.

Thanks in advance

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 11 lines · Mihai Vlad

Hello again,
I have a router/nat linux box. I managed to create some HTB classes and everything is OK.
When perople are usig download managers like FlashGet and DAP (multiple connection ones), the ceil limiting works okay,
but the rate parameter is somehow useles... The guaranteed bandwidth is never reached.
So what can I do to limit the number of connections/computer? I want to make sure that they do not use more than one connection for the download manager.
Thanks in advance

Actually this is not Bandwidth Limiter task,
this is could be handled by your proxy, like Squid. Check the configuration and enable maxconn ACL for file types: .exe .tar.gz .zip .iso .. etc ..

- Rio.Martin -

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#2 lore raw
In reply to Mihai Vlad
Quoted 6 lines · On Tuesday 23 September 2003 12:51, [email protected] wrote:

Hello Rio,
Tuesday, September 23, 2003, 5:42:03 AM, you wrote:
Or you can use patch-o-matic connlimit + MARK.
This adds CONFIG_IP_NF_MATCH_CONNLIMIT match allows you to restrict the number of parallel TCP connections to a server per client IP address (or address block).

Yes, this is good, but i havent tried iptables patch-o-matic before.. Could you forward me documentation guide for installing iptables patch-o-matic?

- Rio.Martin -

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to Mihai Vlad

Pada 23-Sep-2003, Rio Martin menulis:

Quoted 11 lines · On Tuesday 23 September 2003 12:51, [email protected] wrote:
Quoted 6 lines

Hello Rio,
Tuesday, September 23, 2003, 5:42:03 AM, you wrote:
Or you can use patch-o-matic connlimit + MARK.
This adds CONFIG_IP_NF_MATCH_CONNLIMIT match allows you to restrict the number of parallel TCP connections to a server per client IP address (or address block).

Yes, this is good, but i havent tried iptables patch-o-matic before.. Could you forward me documentation guide for installing iptables patch-o-matic?

I think, what Rio asked you to do is to forward the documentation guide of patch-o-matic to the list, since me and probably some of other listers also want to make some tries on it

TIA
aqil
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/