I have a private Ethereum P2P Network with a custom networkId and a custom genesis block. I would like to allow only invited peers.
If I have a custom networkId and a custom genesis block, will someone not having these two informations be able to connect to the network and sync with my private chain? Moreover, could someone query the node to obtain these informations?