mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 13:03:45 +02:00
added warning comment
This commit is contained in:
parent
51faf9b2da
commit
1a72873ff6
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ pub enum Error {
|
||||||
InvalidParameter,
|
InvalidParameter,
|
||||||
|
|
||||||
/// Packet failed one or more authentication (MAC) checks
|
/// Packet failed one or more authentication (MAC) checks
|
||||||
|
/// IMPORTANT: Do not reply to a peer who has sent a packet that has failed authentication. Any response at all will leak to an attacker what authentication step their packet failed at (timing attack), which lowers the total authentication entropy they have to brute force.
|
||||||
|
/// There is a safe way to reply if absolutely necessary, by sending the reply back after a constant amount of time, but this is difficult to get correct.
|
||||||
FailedAuthentication,
|
FailedAuthentication,
|
||||||
|
|
||||||
/// New session was rejected by the application layer.
|
/// New session was rejected by the application layer.
|
||||||
|
|
Loading…
Add table
Reference in a new issue