[Nem értem] sshd_config: MaxStartups

Veres Sándor veresh at kossuthzs-szeged.sulinet.hu
2010. Jún. 21., H, 14:07:32 CEST


Kedves Listatagok!

Kérlek magyarázzátok el nekem pontosan hogyan is működik Linuxon az sshd 
démon MaxStartups opciója.
Addig értem, hogy az ugyanazon IP-ről ugyanazon loginnal történő 
sikertelen próbálkozások maximális számát adhatjuk meg.
De a man-ban szereplő "start:rate:full" hármasból a "rate"-ra és a 
"full"-ra vonatkozó magyarázatot nem teljesen értem.

A man-ban az alábbi magyarázat szerepel a MaxStartups opciónál:
"
Specifies the maximum number of concurrent unauthenticated connections 
to the SSH daemon.
Additional connections will be dropped until authentication succeeds or 
the LoginGraceTime expires for a connection.
The default is 10.

Alternatively, random early drop can be enabled by specifying the three 
colon separated values "start:rate:full" (e.g. "10:30:60").
sshd(8) will refuse connection attempts with a probability of “rate/100” 
(30%) if there are currently “start” (10) unauthenticated connections.
The probability increases linearly and all connection attempts are 
refused if the number of unauthenticated connections reaches “full” (60).
"

u.i.: A "LoginGraceTime" nálam 30-ra van állítva 120 helyett.

Válaszaitokat előre is köszönöm!

Üdvözlette,
Veres Sándor





További információk a(z) Techinfo levelezőlistáról