ip_conntrack limit --- torrent , DC++ , eMule
Hi all,
i need advice how can i limit ip_conntrack per IP.
clients of network that i support often uses torrent , DC++ , eMule clients and i have lost packages because they open too many ports.
i have traffic control limits but this obviously isn't enough
Any advance how to prevent server from this kind problems will be welcome.
Best regards
Emil
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 6 lines · foxy 202 wrote:
Hi all,
i need advice how can i limitip_conntrackper IP.
clients of network that i support often uses torrent , DC++ , eMule clients and i have lost packages because they open too many ports.
Quoted 6 lines
i have traffic control limits but this obviously isn't enough
Any advance how to prevent server from this kind problems will be welcome.
Best regards
Emil
The first hit from google on 'netfilter limit per ip' returns:
Quoted 6 lines
Try the "dstlimit" match in current versions of netfilter.
Quoting from the man page: "This module allows you to limit the packet per second (pps) rate on a per destination IP or per destination port base. As opposed to the `limit' match, every destination ip / destination port has it's own limit."
So what's wrong with YOUR google search?
--
Gypsy
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 6 lines · foxy 202 wrote:
I couldn't find any info how to limit IP to open for example over 200
ip_conntrackconnections , not only for single port for with dport
I found connlimit
http://netfilter.org/patch-o-matic/pom-base.html#pom-base-connlimit
Quoted 8 lines
but there is port … I cannot limit hole IP
How can I prevent network from
ip_conntrack: table full, dropping packet.ip_conntrack: table full, dropping packet. Increasing ofip_conntrack_maxcannot be without limits……Any suggestions are welcome
Use your judgement, but I compiled my 2.4 kernel reducing the tcp_timeout_established from 5 days to 2 days in src/linux/net/ipv4/netfilter/ip_conntrack_proto_tcp.c which I personally think is still far too long. Any TCP connection that is cca 5 minutes without activity is DEAD AFAIAC.
Don't forget the Layer 7 stuff. However, finding something to match becomes ever more difficult.
Google may help with conntrack_max limit?
--
gypsy
Quoted 25 lines · gypsy
Quoted 24 lines
Quoted 6 lines · foxy 202 wrote:
Hi all,
i need advice how can i limitip_conntrackper IP.
clients of network that i support often uses torrent , DC++ , eMule clients and i have lost packages because they open too many ports.Quoted 6 lines
i have traffic control limits but this obviously isn't enough
Any advance how to prevent server from this kind problems will be welcome.
Best regards
EmilThe first hit from google on 'netfilter limit per ip' returns:
Quoted 6 lines
Try the "dstlimit" match in current versions of netfilter.
Quoting from the man page: "This module allows you to limit the packet per second (pps) rate on a per destination IP or per destination port base. As opposed to the `limit' match, every destination ip / destination port has it's own limit."
Quoted 4 lines
Quoted 4 lines
So what's wrong with YOUR google search?
--
Gypsy
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
i think hashlimit is the new dstlimit with wider capabilities
Quoted 19 lines · On 5/16/05, foxy 202 <[email protected]> wrote:
Hi all,
i need advice how can i limitip_conntrackper IP. clients of network that i support often uses torrent , DC++ , eMule clients and i have lost packages because they open too many ports.i have traffic control limits but this obviously isn't enough
Any advance how to prevent server from this kind problems will be welcome.
Best regards
Emil
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Signature · 2 lines
Miłego Dnia Krystian Antoni
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc