Si t'es sous linux, tu peux utiliser QOS pour limiter le trafic transitant par le port 80...
Krapaud
:)
Schtroumpf
ca y'est j'ai installé le mod mod_limitipconn.c
j'ai testé avec go!zilla c'est terriblement efficace :)
Par rapport aux directives je conseil d'utiliser le deuxieme exemple fourni dans le readme (le premier marchait pas)
<IfModule mod_limitipconn.c>
<Location /mp3>
MaxConnPerIP 1
# In this case, all MIME types other than audio/mpeg and video*
# are exempt from the limit check
OnlyIPLimit audio/mpeg video
</Location>
</IfModule>
C'est tip top ^^
merci @+
Krapaud
Schtroumpf a écrit a écrit :
avec iptable je vais bannir l'ip pas restreindre le gars :??:
je pense que tu peux definir un filtre de connexion, non?
Krapaud
Schtroumpf a écrit a écrit :
:hello: ok .. ou ca donc ?? quel directive ??
edit:
j'avais pas vu la suite !!! Merci Krapallll :love: :love: :love: :love: Je m'en va essayer ça de suite :jap:
ça t'aide?
Schtroumpf
blueteen a écrit a écrit :
ou en attendant de trouver la soluce, met en place un petit serveur ftp pour tes fichiers :)
là tu pourras gérer ça super simplement.
Hum... oui mais non ce me branche pas ;)
Schtroumpf
krapaud a écrit a écrit :
:/ bizarre!
bah alors solution simple : iptables :D
avec iptable je vais bannir l'ip pas restreindre le gars :??:
Schtroumpf
krapaud a écrit a écrit :
tu dois pouvoir limiter dans le fichier de config le nombre de connexions simultanées provenant de la même IP!
:hello: ok .. ou ca donc ?? quel directive ??
edit:
j'avais pas vu la suite !!! Merci Krapallll :love: :love: :love: :love: Je m'en va essayer ça de suite :jap:
DESCRIPTION
The Apache::LimitByIPConn module lets you enforce limits on the number
of simultaneous downloads allowed from a single IP address. You can also
control which MIME types are affected by the limits.
The MaxConnPerIP variable dictates the maximum number of simultaneous
connections that each IP address is allowed. Connections in excess of
this limit will result in a 403 Forbidden response.
The NoIPLimit variable specifies a list of MIME types for which limit
checking is turned off. The OnlyIPLimit variable followed by a list of
MIME types restricts limit checking only to the types specified under
this variable. These MIME types match by prefix, so for example
PerlSetVar NoIPLimit "image"
turns off limit checking for all MIME types starting with "image",
including "image/jpeg", "image/png", etc. Wildcard matching with ? and *
is also supported.
The job of crafting useful error messages for the client is left as an
exercise for the reader.
NOTES
The limits defined by Apache::LimitIPConn apply to all IP addresses
connecting to your Apache server. Currently there is no way to set
different limits for different IP addresses.
Proxy clients are treated no differently from regular clients. Overly
restrictive limits will adversely affect the accessibility of your site
from large Internet Service Providers such as AOL that route millions of
users through a small pool of proxy clients.
This module requires Apache::Scoreboard and the configuration setting
"ExtendedStatus On" in the httpd.conf configuration file.
SEE ALSO
Apache::Scoreboard(3)
AUTHOR
David Jao <djao@dominia.org>
blueteen
ou en attendant de trouver la soluce, met en place un petit serveur ftp pour tes fichiers :)
là tu pourras gérer ça super simplement.
Krapaud
littleboboy a écrit a écrit :
tsss :)
moi etre sous windows ^__^
bah prends iis alors!
littleboboy
krapaud a écrit a écrit :
:/ bizarre!
bah alors solution simple : iptables :D
tsss :)
moi etre sous windows ^__^
Krapaud
:/ bizarre!
bah alors solution simple : iptables :D
littleboboy
krapaud a écrit a écrit :
tu dois pouvoir limiter dans le fichier de config le nombre de connexions simultanées provenant de la même IP!
en fait j'ai jamais trouvé :(
Krapaud
tu dois pouvoir limiter dans le fichier de config le nombre de connexions simultanées provenant de la même IP!
Paysan_fou
up
Schtroumpf
par exemple si un cake lance son download accelerator il me balance 14 requetes simultanés sur un meme fichier et bref prend toute la bande passante pour lui a faire ca sur plusieurs fichiers