Tuto Wiki sur la Sécurité des serveurs

Moi je veux bien ricardo … mais

loreleil@machine1:~$ man ab Aucune entrée de manuel pour ab loreleil@machine1:~$

Cette commande dépend (AMA) d’un paquet qui n’est probablement pas installé en local, non ? et j’ignore de quoi il en retourne … :confused:

Chez moi, y trouve.
Te voilà un lien et en FR, en +
merci qui ?
http://pwet.fr/man/linux/administration_systeme/ab

EDIT :
Pour le FR, tu repasseras une autre fois, je n’ai pas eu le temps de le traduire :mrgreen:

Merci ricardo … :023

… en FR … huuumm

Eeettt ! apache2 n’est pas installé en local ! ceci explique peut être cela … non ?

C’est possible.
Pour le FR, je m’avais gourré et j’ai rajouté un edit.

durant ta phase de “gourrage”, je postais, ceci explique cela … :wink:

Bon il s’agissait bien de la non installation d’apache2 en local !

Je viens de faire ça à l’arrache … apparemment il requière des config, et à présent le man est disponible.

root@machine1:~# ab -n 1000 -c 100 http://xxx.xxx.xxx.xxx ab: invalid URL Usage: ab [options] [http[s]://]hostname[:port]/path Options are: -n requests Number of requests to perform -c concurrency Number of multiple requests to make -t timelimit Seconds to max. wait for responses -b windowsize Size of TCP send/receive buffer, in bytes -p postfile File containing data to POST. Remember also to set -T -u putfile File containing data to PUT. Remember also to set -T -T content-type Content-type header for POSTing, eg. 'application/x-www-form-urlencoded' Default is 'text/plain' -v verbosity How much troubleshooting info to print -w Print out results in HTML tables -i Use HEAD instead of GET -x attributes String to insert as table attributes -y attributes String to insert as tr attributes -z attributes String to insert as td or th attributes -C attribute Add cookie, eg. 'Apache=1234. (repeatable) -H attribute Add Arbitrary header line, eg. 'Accept-Encoding: gzip' Inserted after all normal header lines. (repeatable) -A attribute Add Basic WWW Authentication, the attributes are a colon separated username and password. -P attribute Add Basic Proxy Authentication, the attributes are a colon separated username and password. -X proxy:port Proxyserver and port number to use -V Print version number and exit -k Use HTTP KeepAlive feature -d Do not show percentiles served table. -S Do not show confidence estimators and warnings. -g filename Output collected data to gnuplot format file. -e filename Output CSV file with percentages served -r Don't exit on socket receive errors. -h Display usage information (this message) -Z ciphersuite Specify SSL/TLS cipher suite (See openssl ciphers) -f protocol Specify SSL/TLS protocol (SSL2, SSL3, TLS1, or ALL) root@machine1:~#

[quote=“man ab”]AB(1) ab AB(1)

NAME
ab - Apache HTTP server benchmarking tool

SYNOPSIS
ab [ -A auth-username:password ] [ -b windowsize ] [ -c concurrency ] [ -C cookie-name=value ] [ -d ] [ -e csv-file ] [ -f protocol ] [ -g gnu‐
plot-file ] [ -h ] [ -H custom-header ] [ -i ] [ -k ] [ -n requests ] [ -p POST-file ] [ -P proxy-auth-username:password ] [ -q ] [ -r ] [ -s ] [
-S ] [ -t timelimit ] [ -T content-type ] [ -u PUT-file ] [ -v verbosity] [ -V ] [ -w ] [ -x

-attributes ] [ -X proxy[:port] ] [ -y
-attributes ] [ -z
-attributes ] [ -Z ciphersuite ] [http[s]://]hostname[:port]/path

SUMMARY
ab is a tool for benchmarking your Apache Hypertext Transfer Protocol (HTTP) server. It is designed to give you an impression of how your current
Apache installation performs. This especially shows you how many requests per second your Apache installation is capable of serving.

OPTIONS
-A auth-username:password
Supply BASIC Authentication credentials to the server. The username and password are separated by a single : and sent on the wire base64
encoded. The string is sent regardless of whether the server needs it (i.e., has sent an 401 authentication needed).

(…)[/quote]