]> git.meshlink.io Git - meshlink/commit
Check blacklist status before committing an invitation.
authorGuus Sliepen <guus@meshlink.io>
Sun, 25 Oct 2020 21:17:29 +0000 (22:17 +0100)
committerGuus Sliepen <guus@meshlink.io>
Sun, 25 Oct 2020 21:17:29 +0000 (22:17 +0100)
commit1c838cf7d4b4a97fe1038bfacbcb4207ca3ce9ca
treef7b1415ecf39fc78dba9ccaa9c5cabd45d662579
parentb511667bc50e324255eed9427c4588ffdf70be42
Check blacklist status before committing an invitation.

Although we delete invitation files when blacklisting a node, there is a
race condition where an invitation connection is created right before the
invitee is blacklisted. So check that the node is blacklisted right before
committing the node config file to disk.
src/protocol_auth.c