किसी कंप्यूटर के लिए गलत पासवर्ड बनाम एक सही पासवर्ड का जवाब देने में लंबा समय क्यों लगता है?

विषयसूची:

किसी कंप्यूटर के लिए गलत पासवर्ड बनाम एक सही पासवर्ड का जवाब देने में लंबा समय क्यों लगता है?
किसी कंप्यूटर के लिए गलत पासवर्ड बनाम एक सही पासवर्ड का जवाब देने में लंबा समय क्यों लगता है?

वीडियो: किसी कंप्यूटर के लिए गलत पासवर्ड बनाम एक सही पासवर्ड का जवाब देने में लंबा समय क्यों लगता है?

वीडियो: किसी कंप्यूटर के लिए गलत पासवर्ड बनाम एक सही पासवर्ड का जवाब देने में लंबा समय क्यों लगता है?
वीडियो: Windows 10 Tips for Maximizing Battery Life - YouTube 2024, मई
Anonim
क्या आपने कभी अपने कंप्यूटर पर दुर्घटना से गलत पासवर्ड दर्ज किया है और देखा है कि सही में प्रवेश करने की तुलना में प्रतिक्रिया देने में कुछ क्षण लगते हैं? ऐसा क्यों है? आज के सुपर यूज़र क्यू एंड ए पोस्ट में एक जिज्ञासु पाठक के सवाल का जवाब है।
क्या आपने कभी अपने कंप्यूटर पर दुर्घटना से गलत पासवर्ड दर्ज किया है और देखा है कि सही में प्रवेश करने की तुलना में प्रतिक्रिया देने में कुछ क्षण लगते हैं? ऐसा क्यों है? आज के सुपर यूज़र क्यू एंड ए पोस्ट में एक जिज्ञासु पाठक के सवाल का जवाब है।

आज का प्रश्न और उत्तर सत्र हमारे पास सुपरयूसर की सौजन्य है - स्टैक एक्सचेंज का एक उपविभाग, क्यू एंड ए वेब साइट्स का एक समुदाय संचालित समूह।

Sully213 (फ़्लिकर) की स्क्रीनशॉट सौजन्य।

प्रश्न

सुपर यूज़र रीडर उपयोगकर्ता 3536548 जानना चाहता है कि गलत पासवर्ड कब दर्ज किया जाता है जब एक लंबा प्रतिक्रिया समय होता है:

When you enter a password and it is correct, the response time is practically instantaneous. But when you enter an incorrect password (by accident or having forgotten the correct one), it takes a while (10-30 seconds) before it responds that the password is incorrect.

Why does it take so long (relatively) to say that the password is incorrect? This has always bugged me when entering incorrect passwords on Windows and Linux systems (regular and VM-based). I am not sure about Mac OSX since I cannot remember if it is the same (it has been a while since I last used a Mac).

I am asking in the context of a user logging in to the system physically on location rather than through SSH which could conceivably use somewhat different mechanisms to log in (validate credentials).

जब आप गलत पासवर्ड डालते हैं तो एक लंबा प्रतिक्रिया समय क्यों होता है?

उत्तर

सुपरयूसर योगदानकर्ता माइकल Kjorling हमारे लिए जवाब है:

Why does it take so long (relatively) to say that the password is incorrect?

It does not. Or rather, it does not take the computer any longer to determine that your password is incorrect compared to it being correct. The work involved for the computer is, ideally, exactly the same. Any password verification scheme that takes a different amount of time based on whether the password is correct or incorrect can be exploited to gain knowledge, however small, of the password in less time than would otherwise be the case.

The delay is an artificial delay to make repeatedly trying to gain access by using different passwords infeasible, even if you have some idea of what the password is and automatic account lockout is disabled (which it should be in most scenarios as it would otherwise allow for a trivial denial of service against an arbitrary account).

The general term for this behavior is tarpitting. While the Wikipedia article talks more about network service tarpitting, the concept is generic. The Old New Thing is not an official source either, but the article “Why does it take longer to reject an invalid password than to accept a valid one?” does talk about this (near the end of the article).

स्पष्टीकरण में जोड़ने के लिए कुछ है? टिप्पणियों में विचार व्यक्त करो। अन्य तकनीक-समझदार स्टैक एक्सचेंज उपयोगकर्ताओं से अधिक उत्तरों पढ़ना चाहते हैं? यहां पूर्ण चर्चा धागा देखें।

सिफारिश की: