Kaynağa Gözat

Always log chosen security type

It's often useful to see if encryption was used, and how the user
authenticated (if at all).
tags/v1.3.90
Pierre Ossman 9 yıl önce
ebeveyn
işleme
71d6666398

+ 1
- 1
common/rfb/CConnection.cxx Dosyayı Görüntüle

@@ -181,7 +181,7 @@ void CConnection::processSecurityTypesMsg()
if (secType != secTypeInvalid) {
os->writeU8(secType);
os->flush();
vlog.debug("Choosing security type %s(%d)",secTypeName(secType),secType);
vlog.info("Choosing security type %s(%d)",secTypeName(secType),secType);
}
}


+ 1
- 1
common/rfb/CSecurityVeNCrypt.cxx Dosyayı Görüntüle

@@ -164,7 +164,7 @@ bool CSecurityVeNCrypt::processMsg(CConnection* cc)
break;
}

vlog.debug("Choosing security type %s (%d)", secTypeName(chosenType),
vlog.info("Choosing security type %s (%d)", secTypeName(chosenType),
chosenType);

/* Set up the stack according to the chosen type: */

+ 1
- 1
common/rfb/SSecurityVeNCrypt.cxx Dosyayı Görüntüle

@@ -157,7 +157,7 @@ bool SSecurityVeNCrypt::processMsg(SConnection* sc)
if (!haveChosenType)
chosenType = secTypeInvalid;

vlog.debug("Choosing security type %s (%d)", secTypeName(chosenType),
vlog.info("Client requests security type %s (%d)", secTypeName(chosenType),
chosenType);

/* Set up the stack according to the chosen type */

Loading…
İptal
Kaydet