Logs WS2P : scan de ports?

Bonjour,

En regardant les logs, je vois une série de lignes étranges :

2022-05-14T08:16:39+00:00 - info: WS2P CmFKubyqbmJWbhyH2eEPVSSs4H4NeXGDfrETzEnRFtPd: new incoming connection from 127.0.0.1:39570!
2022-05-14T08:16:40+00:00 - error: WS2P >>> >>> WS ERROR: REJECTED_PUBKEY_OR_INCORRECT_ASK_SIGNATURE_FROM_REMOTE
2022-05-14T08:16:41+00:00 - info: WS2P CmFKubyqbmJWbhyH2eEPVSSs4H4NeXGDfrETzEnRFtPd: new incoming connection from 127.0.0.1:39572!
2022-05-14T08:16:41+00:00 - error: WS2P >>> >>> WS ERROR: REJECTED_PUBKEY_OR_INCORRECT_ASK_SIGNATURE_FROM_REMOTE
2022-05-14T08:16:46+00:00 - warn: WS2P: cannot connect to incoming WebSocket connection: WS2P connection timeout
2022-05-14T08:16:47+00:00 - info: WS2P CmFKubyqbmJWbhyH2eEPVSSs4H4NeXGDfrETzEnRFtPd: new incoming connection from 127.0.0.1:39574!
2022-05-14T08:16:47+00:00 - info: WS2P CmFKubyqbmJWbhyH2eEPVSSs4H4NeXGDfrETzEnRFtPd: new incoming connection from 127.0.0.1:39576!
2022-05-14T08:16:48+00:00 - info: WS2P CmFKubyqbmJWbhyH2eEPVSSs4H4NeXGDfrETzEnRFtPd: new incoming connection from 127.0.0.1:39578!
2022-05-14T08:16:48+00:00 - error: WS2P >>> >>> WS ERROR: REJECTED_PUBKEY_OR_INCORRECT_ASK_SIGNATURE_FROM_REMOTE
2022-05-14T08:16:48+00:00 - info: WS2P CmFKubyqbmJWbhyH2eEPVSSs4H4NeXGDfrETzEnRFtPd: new incoming connection from 127.0.0.1:39580!

port 39574, 76, 78… Et ça continue après.
Ce que je comprends de ces logs, c’est que quelqu’un essaie d’initialiser une connexion WS2P en scanant les ports (tous les deux ports). Je ne vois pas bien dans quel but, vu que mon ep WS2P est déclaré dans la fiche de pair de mon noeud.

Questions :

  • observez-vous des lignes similaires ?
  • Est-ce que ça peut avoir une incidence sur le bon fonctionnement du noeud ? (ex. ralentissement) ?
  • avez-vous des conseils à me donner pour faire cesser ça (j’ai mis en place un reverse proxy apache, mais c’est tout) ?

J’en ai aussi :

2022-05-14T10:46:09+02:00 info WS2P 5dzkzedBWdeqTFCaD7AkKPMPusfRUL1XyFNJWWGYQ9f1: new incoming connection from 127.0.0.1:42510!
2022-05-14T10:46:09+02:00 info WS2P 5dzkzedBWdeqTFCaD7AkKPMPusfRUL1XyFNJWWGYQ9f1: new incoming connection from 127.0.0.1:42512!
2022-05-14T10:46:09+02:00 error WS2P >>> >>> WS ERROR: REJECTED_PUBKEY_OR_INCORRECT_ASK_SIGNATURE_FROM_REMOTE
2022-05-14T10:46:09+02:00 error WS2P >>> >>> WS ERROR: REJECTED_PUBKEY_OR_INCORRECT_ASK_SIGNATURE_FROM_REMOTE
2022-05-14T10:46:14+02:00 info WS2P 5dzkzedBWdeqTFCaD7AkKPMPusfRUL1XyFNJWWGYQ9f1: new incoming connection from 127.0.0.1:42514!
2022-05-14T10:46:14+02:00 error WS2P >>> >>> WS ERROR: REJECTED_PUBKEY_OR_INCORRECT_ASK_SIGNATURE_FROM_REMOTE
2022-05-14T10:46:15+02:00 info Matched 4 zeros 0000D3005E7DF312958DC5C2B125F1D339DD0184FF134EDA5581634EAEC204BA with Nonce = 10000000276996 for block#524948 by 5dzkze
2022-05-14T10:46:17+02:00 info Matched 4 zeros 00001780ECEC31FB5241888FF7A6363C835ED856A6605E2EAF0D9E40973C98A7 with Nonce = 10000000288477 for block#524948 by 5dzkze
2022-05-14T10:46:18+02:00 info WS2P 5dzkzedBWdeqTFCaD7AkKPMPusfRUL1XyFNJWWGYQ9f1: new incoming connection from 127.0.0.1:42516!
2022-05-14T10:46:18+02:00 error WS2P >>> >>> WS ERROR: REJECTED_PUBKEY_OR_INCORRECT_ASK_SIGNATURE_FROM_REMOTE
2022-05-14T10:46:21+02:00 info Matched 4 zeros 00009041FCC2B3908338D1B3DE4EA1013CFC694DE25CBC696A5BF0421D657E51 with Nonce = 10000000323771 for block#524948 by 5dzkze

C’est from, je pense donc que c’est le port de sortie, qui a émis la requête, et non le port d’entrée, qui reçoit une requête.

Les ports de sortie sont arbitraires, ils sont probablement choisis par ordre croissant ici.

Vous utilisez un reverse proxy ? Ça expliquerait pourquoi il y a des requêtes entrantes de 127.0.0.1.

1 Like