add the configration for p2p message